install zope
"ly" <ly3926-9Onoh4P/[email protected]> Thu, 18 Nov 2004 16:10:43 +0800
| Newsgroups | gmane.comp.web.zope.chinese |
|---|---|
| Message-ID | <[email protected]> |
On solaris8,compile and install python2.3.4、zope-2.7.3,
everything is ok.
run runzope,report such errors:
-------------------------------------------------------------------------------------------------
bash-2.03$ ./runzope
Traceback (most recent call last):
File "/oafiles/Zope-2.7.3/lib/python/Zope/Startup/run.py", line 50, in ?
run()
File "/oafiles/Zope-2.7.3/lib/python/Zope/Startup/run.py", line 18, in run
opts = _setconfig()
File "/oafiles/Zope-2.7.3/lib/python/Zope/Startup/run.py", line 42, in _setconfig
opts.realize(doc="Sorry, no option docs yet.")
File "/oafiles/Zope-2.7.3/lib/python/zdaemon/zdoptions.py", line 271, in realize
self.load_schema()
File "/oafiles/Zope-2.7.3/lib/python/zdaemon/zdoptions.py", line 312, in load_schema
self.schema = ZConfig.loadSchema(self.schemafile)
File "/oafiles/Zope-2.7.3/lib/python/ZConfig/loader.py", line 37, in loadSchema
return SchemaLoader().loadURL(url)
File "/oafiles/Zope-2.7.3/lib/python/ZConfig/loader.py", line 71, in loadURL
return self.loadResource(r)
File "/oafiles/Zope-2.7.3/lib/python/ZConfig/loader.py", line 137, in loadResource
schema = ZConfig.schema.parseResource(resource, self)
File "/oafiles/Zope-2.7.3/lib/python/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 "/oafiles/Zope-2.7.3/lib/python/ZConfig/schema.py", line 119, in startElement
getattr(self, "start_" + name)(attrs)
File "/oafiles/Zope-2.7.3/lib/python/ZConfig/schema.py", line 306, in start_import
src = self._loader.schemaComponentSource(pkg, file)
File "/oafiles/Zope-2.7.3/lib/python/ZConfig/loader.py", line 154, in schemaComponentSource
__import__(package)
File "/oafiles/Zope-2.7.3/lib/python/ZServer/__init__.py", line 30, in ?
ZOPE_VERSION=utils.getZopeVersion()
File "/oafiles/Zope-2.7.3/lib/python/ZServer/utils.py", line 18, in getZopeVersion
return App.version_txt.version_txt()
File "/oafiles/Zope-2.7.3/lib/python/App/version_txt.py", line 57, in version_txt
_prep_version_data()
File "/oafiles/Zope-2.7.3/lib/python/App/version_txt.py", line 45, in _prep_version_data
dict = expr.match(s).groupdict()
AttributeError: 'NoneType' object has no attribute 'groupdict'
bash-2.03$
-------------------------------------------------------------------------------------------
Tks a lot.
_______________________________________________
zope-chinese list
[email protected]
http://zope.cn/mailman/listinfo/zope-chinese