[ZCM] [ZC] 1559/ 4 Comment "version.txt leading -n prevents startup"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Sat Oct 30 01:50:44 EDT 2004
Issue #1559 Update (Comment) "version.txt leading -n prevents startup"
Status Pending, Zope/bug low
To followup, visit:
http://zope.org/Collectors/Zope/1559
==============================================================
= Comment - Entry #4 by ajung on Oct 30, 2004 1:50 am
Maybe something weird under SunOS5?
The installation works fine on recent Solaris system
(no idea about Solaris 2.5 and I don't have access to Solaris 2.5)..patches are welcome.
________________________________________
= Comment - Entry #3 by mcavoy76 on Oct 29, 2004 4:21 pm
After compiling Zope, I ran runzope, it failed with the following error:
ecmcavo at hank# ./zopectl start
Traceback (most recent call last):
File "/export/home/ecmcavo/zope/lib/python/Zope/Startup/zopectl.py", line 283, in ?
main()
File "/export/home/ecmcavo/zope/lib/python/Zope/Startup/zopectl.py", line 263, in main
options.realize(args)
File "/export/home/ecmcavo/zope/lib/python/Zope/Startup/zopectl.py", line 90, in realize
ZDOptions.realize(self, *args, **kw)
File "/export/home/ecmcavo/zope/lib/python/zdaemon/zdoptions.py", line 271, in realize
self.load_schema()
File "/export/home/ecmcavo/zope/lib/python/zdaemon/zdoptions.py", line 312, in load_schema
self.schema = ZConfig.loadSchema(self.schemafile)
File "/export/home/ecmcavo/zope/lib/python/ZConfig/loader.py", line 37, in loadSchema
return SchemaLoader().loadURL(url)
File "/export/home/ecmcavo/zope/lib/python/ZConfig/loader.py", line 71, in loadURL
return self.loadResource(r)
File "/export/home/ecmcavo/zope/lib/python/ZConfig/loader.py", line 137, in loadResource
schema = ZConfig.schema.parseResource(resource, self)
File "/export/home/ecmcavo/zope/lib/python/ZConfig/schema.py", line 43, in parseResource
xml.sax.parse(resource.file, parser)
File "/opt/python2.3.4/lib/python2.3/xml/sax/__init__.py", line 33, in parse
parser.parse(source)
File "/opt/python2.3.4/lib/python2.3/xml/sax/expatreader.py", line 107, in parse
xmlreader.IncrementalParser.parse(self, source)
File "/opt/python2.3.4/lib/python2.3/xml/sax/xmlreader.py", line 123, in parse
self.feed(buffer)
File "/opt/python2.3.4/lib/python2.3/xml/sax/expatreader.py", line 207, in feed
self._parser.Parse(data, isFinal)
File "/opt/python2.3.4/lib/python2.3/xml/sax/expatreader.py", line 300, in start_element
self._cont_handler.startElement(name, AttributesImpl(attrs))
File "/export/home/ecmcavo/zope/lib/python/ZConfig/schema.py", line 119, in startElement
getattr(self, "start_" + name)(attrs)
File "/export/home/ecmcavo/zope/lib/python/ZConfig/schema.py", line 306, in start_import
src = self._loader.schemaComponentSource(pkg, file)
File "/export/home/ecmcavo/zope/lib/python/ZConfig/loader.py", line 154, in schemaComponentSource
__import__(package)
File "/export/home/ecmcavo/zope/lib/python/ZServer/__init__.py", line 30, in ?
ZOPE_VERSION=utils.getZopeVersion()
File "/export/home/ecmcavo/zope/lib/python/ZServer/utils.py", line 18, in getZopeVersion
return App.version_txt.version_txt()
File "/export/home/ecmcavo/zope/lib/python/App/version_txt.py", line 57, in version_txt
_prep_version_data()
File "/export/home/ecmcavo/zope/lib/python/App/version_txt.py", line 45, in _prep_version_data
dict = expr.match(s).groupdict()
AttributeError: 'NoneType' object has no attribute 'groupdict'
The error is caused by a -n in the version.txt file. I didn't put the -n there, it was there from the installation.
Something in the installation is putting a -n in the version.txt file, which prevents Zope from starting up.
________________________________________
= Comment - Entry #2 by ajung on Oct 29, 2004 1:59 pm
No idea about you mean.
________________________________________
= Request - Entry #1 by Anonymous User on Oct 29, 2004 1:50 pm
A -n is added to $ZOPE_HOME/lib/python/version.txt that prevents Zope from starting up.
==============================================================
More information about the Zope-Collector-Monitor
mailing list