[Zope] Installation problems

Simon Angling simon at anglings.com
Tue May 18 17:20:19 EDT 2004


I've been working with Zope for a couple of weeks on my local system
(Windows XP). I've been try to install on linux all evening but have got
so far but haven't got the thing to run. When I think I'm finished and
come to running I get the following:
------------------------------------------------------------------------
-
[admin at angling bin]$ ./runzope
Traceback (most recent call last):
  File "/usr/local/zope/lib/python/Zope/Startup/run.py", line 49, in ?
    run()
  File "/usr/local/zope/lib/python/Zope/Startup/run.py", line 18, in run
    opts = _setconfig()
  File "/usr/local/zope/lib/python/Zope/Startup/run.py", line 41, in
_setconfig
    opts.realize(doc="Sorry, no option docs yet.")
  File "/usr/local/zope/lib/python/zdaemon/zdoptions.py", line 262, in
realize
    self.load_schema()
  File "/usr/local/zope/lib/python/zdaemon/zdoptions.py", line 303, in
load_schema
    self.schema = ZConfig.loadSchema(self.schemafile)
  File "/usr/local/zope/lib/python/ZConfig/loader.py", line 37, in
loadSchema
    return SchemaLoader().loadURL(url)
  File "/usr/local/zope/lib/python/ZConfig/loader.py", line 71, in
loadURL
    return self.loadResource(r)
  File "/usr/local/zope/lib/python/ZConfig/loader.py", line 137, in
loadResource
    schema = ZConfig.schema.parseResource(resource, self)
  File "/usr/local/zope/lib/python/ZConfig/schema.py", line 43, in
parseResource
    xml.sax.parse(resource.file, parser)
  File "/usr/lib/python2.2/xml/sax/__init__.py", line 33, in parse
    parser.parse(source)
  File "/usr/lib/python2.2/xml/sax/expatreader.py", line 91, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "/usr/lib/python2.2/xml/sax/xmlreader.py", line 123, in parse
    self.feed(buffer)
  File "/usr/lib/python2.2/xml/sax/expatreader.py", line 144, in feed
    self._parser.Parse(data, isFinal)
  File "/usr/lib/python2.2/xml/sax/expatreader.py", line 218, in
start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "/usr/local/zope/lib/python/ZConfig/schema.py", line 115, in
startElement
    getattr(self, "start_" + name)(attrs)
  File "/usr/local/zope/lib/python/ZConfig/schema.py", line 469, in
start_schema
    keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
  File "/usr/local/zope/lib/python/ZConfig/schema.py", line 207, in
get_sect_typeinfo
    datatype = self.get_datatype(attrs, "datatype", "null")
  File "/usr/local/zope/lib/python/ZConfig/schema.py", line 200, in
get_datatype
    return self._registry.get(dtname)
  File "/usr/local/zope/lib/python/ZConfig/datatypes.py", line 298, in
get
    t = self.search(name)
  File "/usr/local/zope/lib/python/ZConfig/datatypes.py", line 323, in
search
    package = __import__(n, g, g, component)
  File "/usr/local/zope/lib/python/Zope/Startup/datatypes.py", line 18,
in ?
    from ZODB.config import ZODBDatabase
  File "/usr/local/zope/lib/python/ZODB/__init__.py", line 19, in ?
    from zLOG import register_subsystem
  File "/usr/local/zope/lib/python/zLOG/__init__.py", line 88, in ?
    from EventLogger import log_write, log_time, severity_string, \
  File "/usr/local/zope/lib/python/zLOG/EventLogger.py", line 23, in ?
    import logging
ImportError: No module named logging
------------------------------------------------------------------------
-
I'm not really too familiar with Linux but can anyone help set me on the
right path.

Thanks,
Simon
 




More information about the Zope mailing list