[Zope] New user problems with Solaris 9 Zope

Mike Elliott hbrednek at gmail.com
Thu Jan 6 14:42:04 EST 2005


I've been working on getting Zope running on an Ultra 1 running
Solaris 9, with no real success so far.

I can apparently compile and install Zope, but when I try to run it I
get the following:

mre at bonk$ instance/bin/runzope -X port-base=1000 

Traceback (most recent call last):
  File "/opt/Zope-2.7/lib/python/Zope/Startup/run.py", line 50, in ?
    run()
  File "/opt/Zope-2.7/lib/python/Zope/Startup/run.py", line 18, in run
    opts = _setconfig()
  File "/opt/Zope-2.7/lib/python/Zope/Startup/run.py", line 42, in _setconfig
    opts.realize(doc="Sorry, no option docs yet.")
  File "/opt/Zope-2.7/lib/python/zdaemon/zdoptions.py", line 271, in realize
    self.load_schema()
  File "/opt/Zope-2.7/lib/python/zdaemon/zdoptions.py", line 312, in
load_schema    self.schema = ZConfig.loadSchema(self.schemafile)
  File "/opt/Zope-2.7/lib/python/ZConfig/loader.py", line 37, in loadSchema
    return SchemaLoader().loadURL(url)
  File "/opt/Zope-2.7/lib/python/ZConfig/loader.py", line 71, in loadURL
    return self.loadResource(r)
  File "/opt/Zope-2.7/lib/python/ZConfig/loader.py", line 137, in loadResource
    schema = ZConfig.schema.parseResource(resource, self)
  File "/opt/Zope-2.7/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 "/opt/Zope-2.7/lib/python/ZConfig/schema.py", line 119, in startElement
    getattr(self, "start_" + name)(attrs)
  File "/opt/Zope-2.7/lib/python/ZConfig/schema.py", line 306, in start_import
    src = self._loader.schemaComponentSource(pkg, file)
  File "/opt/Zope-2.7/lib/python/ZConfig/loader.py", line 154, in
schemaComponentSource
    __import__(package)
  File "/opt/Zope-2.7/lib/python/ZServer/__init__.py", line 30, in ?
    ZOPE_VERSION=utils.getZopeVersion()
  File "/opt/Zope-2.7/lib/python/ZServer/utils.py", line 18, in getZopeVersion
    return App.version_txt.version_txt()
  File "/opt/Zope-2.7/lib/python/App/version_txt.py", line 57, in version_txt
    _prep_version_data()
  File "/opt/Zope-2.7/lib/python/App/version_txt.py", line 45, in
_prep_version_data
    dict = expr.match(s).groupdict()
AttributeError: 'NoneType' object has no attribute 'groupdict'


This is really tough for someone like me to debug as I have no
experience with Zope or Python.  Any suggestions?


More information about the Zope mailing list