[Zope] Problem running zope 2.7

Ray Casaclang ray at casaclang.com
Mon Mar 8 23:30:58 EST 2004


Hello,

 

I'm a newbie to Zope and is looking for some help to get zope running.  

I installed Zope-2.7.0 on Fedora.  I also installed python 2.2.3.  

After running the following successfully with no errors:

 

./configure 

./make

./make install

/opt/Zope-2.7/bin/mkzopeinstance.py

 

I tried to start zope by running 

 

./bin/runzope

 

I got the following error:

 

[root at localhost webadmin]# ./bin/runzope

Traceback (most recent call last):

  File "/opt/Zope-2.7/lib/python/Zope/Startup/run.py", line 49, 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 41, in
_setconfig

    opts.realize(doc="Sorry, no option docs yet.")

  File "/opt/Zope-2.7/lib/python/zdaemon/zdoptions.py", line 262, in
realize

    self.load_schema()

  File "/opt/Zope-2.7/lib/python/zdaemon/zdoptions.py", line 303, 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.2/xml/sax/__init__.py", line 33, in parse

    parser.parse(source)

  File "/usr/local/lib/python2.2/xml/sax/expatreader.py", line 91, in
parse

    xmlreader.IncrementalParser.parse(self, source)

  File "/usr/local/lib/python2.2/xml/sax/xmlreader.py", line 123, in
parse

    self.feed(buffer)

  File "/usr/local/lib/python2.2/xml/sax/expatreader.py", line 144, in
feed

    self._parser.Parse(data, isFinal)

  File "/usr/local/lib/python2.2/xml/sax/expatreader.py", line 218, in
start_element

    self._cont_handler.startElement(name, AttributesImpl(attrs))

  File "/opt/Zope-2.7/lib/python/ZConfig/schema.py", line 115, in
startElement

    getattr(self, "start_" + name)(attrs)

  File "/opt/Zope-2.7/lib/python/ZConfig/schema.py", line 469, in
start_schema

    keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)

  File "/opt/Zope-2.7/lib/python/ZConfig/schema.py", line 207, in
get_sect_typeinfo

    datatype = self.get_datatype(attrs, "datatype", "null")

  File "/opt/Zope-2.7/lib/python/ZConfig/schema.py", line 200, in
get_datatype

    return self._registry.get(dtname)

  File "/opt/Zope-2.7/lib/python/ZConfig/datatypes.py", line 298, in get

    t = self.search(name)

  File "/opt/Zope-2.7/lib/python/ZConfig/datatypes.py", line 323, in
search

    package = __import__(n, g, g, component)

  File "/opt/Zope-2.7/lib/python/Zope/Startup/datatypes.py", line 18, in
?

    from ZODB.config import ZODBDatabase

  File "/opt/Zope-2.7/lib/python/ZODB/__init__.py", line 19, in ?

    from zLOG import register_subsystem

  File "/opt/Zope-2.7/lib/python/zLOG/__init__.py", line 88, in ?

    from EventLogger import log_write, log_time, severity_string, \

  File "/opt/Zope-2.7/lib/python/zLOG/EventLogger.py", line 23, in ?

    import logging

ImportError: No module named logging

 

 

Please advise.

 

Thanks

Ray

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.zope.org/pipermail/zope/attachments/20040308/7ddd1f39/attachment.html


More information about the Zope mailing list