9 Jun 2001 17:38
my second go at Arusha
<berto <at> gsbrgo.uchicago.edu>
2001-06-09 15:38:05 GMT
2001-06-09 15:38:05 GMT
Will: Taking advantage of a break in my busy schedule, I've had a second go at trying out Arusha. Here's my after-action report: --On the page http://ark.sourceforge.net/try-ark1.html (and elsewhere?), the ark-dev link in fact points to the ark-users link http://lists.sourceforge.net/lists/listinfo/ark-users --A really small nit: Creating an 'ARK profile': Why default to giving csh syntax (e.g., "setenv ARK_PROFILE ...")? Why not sh or bash (or ...?) syntax (e.g., export ARK_PROFILE=...)? --If, despite your urgings, the user has not set ARK_PROFILE, couldn't you have the code default to looking for $HOME/.ark_profile (or ~/.ark_profile)? --Slight annoyance: "You need to change the *** CONFIGURE ME *** section. In fact, the team.xml file has it as "CONFIGURE-ME" (with a hyphen). --Test drive with try-ark. Says: "./try-ark", but there was no earlier directive to cd to the try-ark directory. I had to do a 'find' operation to locate the actual try-ark script. Better: $ARK_SRC/myteam1/try-ark/try-ark --$ try-ark/try-ark | tee /tmp/try-ark.out try-ark/try-ark: warning: this script may be overly paranoid and, um, wrong... + ./arkcmd package reveal --verbose --use-deps=max arkbase Traceback (most recent call last): File "./arkcmd", line 79, in ? main() File "./arkcmd", line 66, in main things_mgr.doToolSubcommand() File "./ark/thing.py", line 175, in doToolSubcommand victims = self.unpackSpecs(ark_ctrl.cmdLineNonOptions()) File "./ark/thing.py", line 108, in unpackSpecs thing = self.lookup(thing_name,team_id) File "./ark/thing.py", line 69, in lookup team_id = ark.team.ACTING_TEAM().id File "./ark/team.py", line 55, in ACTING_TEAM _ActingTeam.instance = ArkTeam(acting_team_id) File "./ark/team.py", line 135, in __init__ (self._is_prototype, xml_version, self._xmlf) = xml_file.read(explicit_filename="%s/team.xml" % (ark.control.ArkControl().repository(team_id))) File "./ark/xmlfile.py", line 137, in read import xml.dom.core ImportError: No module named core [berto <at> localhost myteam1]$ find . -name \*core\* -exec ls -ld {} \; [berto <at> localhost myteam1]$ cd .. [berto <at> localhost ark]$ pwd /home/berto/ark/ark [my $ARK_SRC dir; /home/berto/ark is where I put all Arusha-related stuff, including earlier versions and notes] [berto <at> localhost ark]$ find . -name \*core\* -exec ls -ld {} \; -rw------- 1 berto berto 1943 May 29 16:43 ./sidai/package/innoveda-hdlscore.xml [berto <at> localhost ark]$ ls ARK/ myteam1/ sample1/ sidai/ try-ark/ ARK, sample1, and sidai are all direct, unmodified CVS checkouts. (Thanks, BTW, for fixing the case sensitivities.) myteam1 is sample1 suitably modified (I think) per your instructions. try-ark is my <test-dir>. So, I am stumped again. Where is this xml.dom.core file? import xml.dom.core ImportError: No module named core Any hints? Will, I have to commend you for correcting mistakes in the instructions, removing the cruft, and in general streamlining the procedure. Aside from the new nits I've picked above, everything looks good--until my point of failure. What do I do next? Berto ------------------------------------------------------------------------------- Robert Osterlund, Unix Systems Manager berto <at> gsbrgo.uchicago.edu Grad School of Business, U of Chicago phone: 773/702-8898 1101 E. 58th Street, #309, Chicago, IL 60637, USA fax: 773/702-0233
RSS Feed