[Zope] Problem running zope 2.7

Chris McDonough chrism at plope.com
Mon Mar 8 23:42:44 EST 2004


Apparently whatever version of Python you've got installed fails to
package the "logging" package, which is a standard Python library, at
least under 2.3.3.  It may be shipped as a separate RPM (though I have
no idea why it would be).

On Mon, 2004-03-08 at 23:30, Ray Casaclang wrote:
> 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
> 
> 
> 
> ______________________________________________________________________
> _______________________________________________
> Zope maillist  -  Zope at zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )




More information about the Zope mailing list