[Zope] Installation problems

g.lams at itcilo.org g.lams at itcilo.org
Wed May 19 02:56:50 EDT 2004


I think so, you'd better update Python and I'm pretty sure it will work 
(update python-devel as well)

"Simon Angling" <simon at anglings.com> wrote on 19/05/2004 08.53.43:

> I was using 2.2.2 - I was given a message saying this wasn't the best
> version but it was acceptable. Do you think this is the problem?
> 
> Thanks,
> Simon
> 
> -----Original Message-----
> From: zope-bounces at zope.org [mailto:zope-bounces at zope.org] On Behalf Of
> g.lams at itcilo.org
> Sent: 19 May 2004 08:46 AM
> To: Zope at zope.org
> Subject: Re: [Zope] Installation problems
> 
> Which version of python do you use?
> You need to use Python 2.3.2 or later
> 
> Gael
> zope-bounces at zope.org wrote on 18/05/2004 23.20.19:
> 
> > 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
> > 
> > 
> > 
> > _______________________________________________
> > 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 )
> 
> 
> _______________________________________________
> 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