|
From: Luke A. K. <lu...@ma...> - 2002-09-25 05:14:08
|
On Tue, 24 Sep 2002, Will Partain wrote:
> PS, Luke: when re-running, perhaps safer to run with
> ARK_DEBUG=15 (setenv ARK_DEBUG 15, if a csh kinda guy).
Here's the output again:
luke@kirby:~/ark/madstop $ ARK_DEBUG=15 try-ark/try-ark 2>&1 | tee ark.out
try-ark/try-ark: warning: this script may be overly paranoid and, um,
wrong...
+ ./arkcmd package reveal --verbose --use-deps=max arkbase
parsing: /home/luke/ark/madstop/team.xml (minidom)
Traceback (most recent call last):
File "./arkcmd", line 86, in ?
main()
File "./arkcmd", line 73, in main
things_mgr.doToolSubcommand()
File "./ark/thing.py", line 240, in doToolSubcommand
victims = self.unpackSpecs(ark_ctrl.cmdLineNonOptions())
File "./ark/thing.py", line 139, in unpackSpecs
thing = self.lookup(thing_name,team_id)
File "./ark/thing.py", line 75, in lookup
team_id = ark.team.ACTING_TEAM().id
File "./ark/team.py", line 65, in ACTING_TEAM
_ActingTeam.instance = ArkTeam(acting_team_id)
File "./ark/team.py", line 149, 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 201, in read
(fname, fval) = _read_cooked_resource( child, filename )
File "./ark/xmlfile.py", line 320, in _read_cooked_resource
zero_attributes(res)
File "./ark/xmlfile.py", line 722, in zero_attributes
if len(node.attributes) != 0:
TypeError: len() of unsized object
luke@kirby:~/ark/madstop $
It always fails on the same line, and I can't read python yet.
> Uh, could you also remove any/all .xmla files? (pickled ARK
> .xml files)
There weren't any.
> One thing we'll definitely want to check is how .xml files
> made their way through the python/pyxml gauntlet, and
> ARK_DEBUG=15 will report that. Thanks,
It will if we get that far, but we aren't. There's no difference in
output with or without debugging set.
--
"The optimist proclaims that we live in the best of all possible worlds,
and the pessimist fears that this is true."
-- James Branch Cabell 1879-1958
|