[Zope] Win32 Zope Instance

Gál László Gal.Laszlo at peto.hu
Sun Feb 29 15:29:11 EST 2004


Hi!

I've installed zope 2.7.0 to my windows, choosing to split instance and
software home. Next I've installed all my products and python modules I
needed, and put it together in one directory, rewriting the paths in all
files (etc/zope.conf, bin/runzope). I also made a custom_zodb.py.
(actually I want it to burn to cd-rom then)
Finally I uninstalled the original zope, cleared all zope-related stuffs but this directory, and it works! It works even I rename that directory.
BUT:
If I copy it to another machine (where zope was never installed),
I've got the following traceback:


E:\>"\zope\bin\python.exe" "\zope\lib\python\Zope\Startup\run.py" -C "\instance\
etc\zope.conf"
E:\zope\bin\lib\fcntl.py:7: DeprecationWarning: the FCNTL module is deprecated;
please use fcntl
  DeprecationWarning)
Traceback (most recent call last):
  File "\zope\lib\python\Zope\Startup\run.py", line 49, in ?
    run()
  File "\zope\lib\python\Zope\Startup\run.py", line 18, in run
    opts = _setconfig()
  File "\zope\lib\python\Zope\Startup\run.py", line 41, in _setconfig
    opts.realize(doc="Sorry, no option docs yet.")
  File "C:\Program Files\Zope-2.7.0\lib\python\zdaemon\zdoptions.py", line 262,
in realize
  File "C:\Program Files\Zope-2.7.0\lib\python\zdaemon\zdoptions.py", line 303,
in load_schema
  File "C:\Program Files\Zope-2.7.0\lib\python\ZConfig\loader.py", line 37, in l
oadSchema
  File "C:\Program Files\Zope-2.7.0\lib\python\ZConfig\loader.py", line 71, in l
oadURL
  File "C:\Program Files\Zope-2.7.0\lib\python\ZConfig\loader.py", line 137, in
loadResource
  File "C:\Program Files\Zope-2.7.0\lib\python\ZConfig\schema.py", line 43, in p
arseResource
  File "E:\zope\lib\python\Zope\Startup\__init__.py", line 33, in parse
    check_python_version()
  File "C:\Program Files\Zope-2.7.0\bin\Lib\xml\sax\expatreader.py", line 107, i
n parse
  File "C:\Program Files\Zope-2.7.0\bin\Lib\xml\sax\xmlreader.py", line 123, in
parse
  File "C:\Program Files\Zope-2.7.0\bin\Lib\xml\sax\expatreader.py", line 207, i
n feed
  File "C:\Program Files\Zope-2.7.0\bin\Lib\xml\sax\expatreader.py", line 300, i
n start_element
  File "C:\Program Files\Zope-2.7.0\lib\python\ZConfig\schema.py", line 115, in
startElement
  File "C:\Program Files\Zope-2.7.0\lib\python\ZConfig\schema.py", line 469, in
start_schema
  File "C:\Program Files\Zope-2.7.0\lib\python\ZConfig\schema.py", line 207, in
get_sect_typeinfo
  File "C:\Program Files\Zope-2.7.0\lib\python\ZConfig\schema.py", line 200, in
get_datatype
  File "E:\zope\lib\python\Zope\Startup\datatypes.py", line 298, in get

  File "E:\zope\lib\python\Zope\Startup\datatypes.py", line 323, in search

  File "E:\zope\lib\python\Zope\Startup\datatypes.py", line 18, in ?
    from ZODB.config import ZODBDatabase
ImportError: No module named ZODB.config

I have no problem running several instances on linux.
-- 
Europe now without walls - who needs Gates?
http://latz.linsze.hu 



More information about the Zope mailing list