[Zope] zope2.7b1 does not start on winXP

Elena Schulz elena.schulz at gmx.net
Tue Aug 19 11:12:13 EDT 2003


Hi Chris,

Reading your hint from the thread: "How to install a new product in Zope
2.7"  to run python.exe instead of pythonw.exe in the runzope.bat
now I can provide some error messages that indicate the problem of an
ImportError. May be because of some "old" python relicts in the code?

-- Still being curious how to get zope 2.7 starting on my WinXP-box, Elena

The error-details from the console:

L:\Zope\Zope27\ZopeInstanceFiles\bin>runzope

L:\Zope\Zope27\ZopeInstanceFiles\bin>"L:\Zope\Zope27\Zope-2.7.0-b1\bin\pytho
n.exe" "L:\Zope\Zope27\Z
ope-2.7.0-b1\lib\python\Zope\Startup\run.py" -C
"L:\Zope\Zope27\ZopeInstanceFiles\etc\zope.conf"

Traceback (most recent call last):
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\Zope\Startup\run.py", line
27, in ?
    run()
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\Zope\Startup\run.py", line
21, in run
    opts.realize(doc="Sorry, no option docs yet.")
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\zdaemon\zdoptions.py", line
257, in realize
    self.load_schema()
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\zdaemon\zdoptions.py", line
298, in load_schema
    self.schema = ZConfig.loadSchema(self.schemafile)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\loader.py", line 36,
in loadSchema
    return SchemaLoader().loadURL(url)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\loader.py", line 70,
in loadURL
    return self.loadResource(r)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\loader.py", line
134, in loadResource
    self.registry, self)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\schema.py", line 43,
in parseResource
    xml.sax.parse(resource.file, parser)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\__init__.py", line 33,
in parse
    parser.parse(source)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\expatreader.py", line
91, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\xmlreader.py", line
123, in parse
    self.feed(buffer)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\expatreader.py", line
144, in feed
    self._parser.Parse(data, isFinal)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\expatreader.py", line
218, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\schema.py", line
115, in startElement
    getattr(self, "start_" + name)(attrs)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\schema.py", line
305, in start_import
    self.loadComponent(src)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\schema.py", line
313, in loadComponent
    xml.sax.parse(r.file, parser)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\__init__.py", line 33,
in parse
    parser.parse(source)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\expatreader.py", line
91, in parse
    xmlreader.IncrementalParser.parse(self, source)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\xmlreader.py", line
123, in parse
    self.feed(buffer)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\expatreader.py", line
144, in feed
    self._parser.Parse(data, isFinal)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\bin\Lib\xml\sax\expatreader.py", line
218, in start_element
    self._cont_handler.startElement(name, AttributesImpl(attrs))
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\schema.py", line
115, in startElement
    getattr(self, "start_" + name)(attrs)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\schema.py", line
326, in start_sectiontype
    keytype, valuetype, datatype = self.get_sect_typeinfo(attrs)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\schema.py", line
203, in get_sect_typeinfo
    datatype = self.get_datatype(attrs, "datatype", "null")
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\schema.py", line
196, in get_datatype
    return self._registry.get(dtname)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\datatypes.py", line
296, in get
    t = self.search(name)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZConfig\datatypes.py", line
313, in search
    package = __import__(start, g, g)
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZServer\__init__.py", line
36, in ?
    from HTTPServer import zhttp_server, zhttp_handler
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZServer\HTTPServer.py", line
44, in ?
    from PubCore import handle
  File
"L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZServer\PubCore\__init__.py", line
14, in ?
    import ZRendezvous
  File
"L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZServer\PubCore\ZRendezvous.py",
line 15, in ?
    from ZServerPublisher import ZServerPublisher
  File
"L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZServer\PubCore\ZServerPublisher.py
", line 13, in ?
    from ZPublisher import publish_module
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZPublisher\__init__.py",
line 23, in ?
    from Publish import publish_module, Retry
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZPublisher\Publish.py", line
19, in ?
    from Response import Response
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZPublisher\Response.py",
line 13, in ?
    import HTTPResponse
  File "L:\Zope\Zope27\Zope-2.7.0-b1\lib\python\ZPublisher\HTTPResponse.py",
line 19, in ?
    import zlib, struct
ImportError: Module use of python21.dll conflicts with this version of
Python.

L:\Zope\Zope27\ZopeInstanceFiles\bin>




More information about the Zope mailing list