[Zope3-dev] Need help on sorting out Zope3 Unit test errors
Steve Shelly
shellylaker at hotmail.com
Tue Dec 23 01:49:00 EST 2003
I am a newbie to Zope (but an experienced pythoniac). I plan to install
Zope3 on my Mac PowerBook. I got the latest snap shot as of 12/22/2003 of
Zope3 sources. I then followed the build guidelines.. The build seemed to go
ok .. I then ran the Zope tests with the command
'python test.py -v' to ensure that my build worked right and got the
following stack trace. Since I don't see any other emails listing this stack
trace in this mailing group, I think it must be some minor config issue...
The main gist of the stack trace seems to be some schema, due to its
inability to load some zodb/zeo module. Any ideas?... My python version ->
python 2.3.3. I have super user privileges, so permissions shouldn't be an
issue...
"ZConfig.SchemaError: could not load package zodb/zeo: No module named
zodb/zeo"
"
File "/usr/local/zope/src/zdaemon/zdoptions.py", line 259, in realize
self.load_schema()
File "/usr/local/zope/src/zdaemon/zdoptions.py", line 310, in load_schema
self.schema = ZConfig.loadSchema(self.schemafile)
File "/usr/local/zope/src/ZConfig/loader.py", line 37, in loadSchema
return SchemaLoader().loadURL(url)
File "/usr/local/zope/src/ZConfig/loader.py", line 71, in loadURL
return self.loadResource(r)
File "/usr/local/zope/src/ZConfig/loader.py", line 137, in loadResource
schema = ZConfig.schema.parseResource(resource, self)
File "/usr/local/zope/src/ZConfig/schema.py", line 43, in parseResource
xml.sax.parse(resource.file, parser)
File "/usr/local/lib/python2.3/xml/sax/__init__.py", line 33, in parse
parser.parse(source)
File "/usr/local/lib/python2.3/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/usr/local/lib/python2.3/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/usr/local/lib/python2.3/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/usr/local/lib/python2.3/xml/sax/expatreader.py", line 300, in
start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File "/usr/local/zope/src/ZConfig/schema.py", line 119, in startElement
getattr(self, "start_" + name)(attrs)
File "/usr/local/zope/src/ZConfig/schema.py", line 306, in start_import
src = self._loader.schemaComponentSource(pkg, file)
File "/usr/local/zope/src/ZConfig/loader.py", line 156, in
schemaComponentSource
raise ZConfig.SchemaError("could not load package %s: %s"
ZConfig.SchemaError: could not load package zodb/zeo: No module named
zodb/zeo
"
_________________________________________________________________
Enjoy the holiday season with great tips from MSN.
http://special.msn.com/network/happyholidays.armx
More information about the Zope3-dev
mailing list