[ZODB-Dev] Simple INSTANCE_HOME storage server on WinNT
Chris Withers
chrisw@nipltd.com
Mon, 02 Jul 2001 17:37:23 +0100
Hi,
The setup:
E:\Zope\2.4.0b2 contains a full 2.4.0b2 binary distribution.
E:\Zope\storage contains:
E:\Zope\storage\start.bat:
set INSTANCE_HOME="E:\Zope\server"
set STUPID_LOG_FILE=%INSTANCE_HOME%\var\server.slog
"E:\Zope\2.4.0b2\bin\python.exe" "E:\Zope\server\lib\python\ZEO\start.py" -h
chrisw.private.nipltd.com -p 6000
E:\Zope\storage\var contains just the Data.fs
E:\Zope\storage\lib\python contains the ZEO folder from the ZEO 1.0b3
distribution.
Now, from the change log of Zope 2.4.0:
- If an INSTANCE_HOME is defined and has a 'lib/python'
subdirectory, it will be added to the front of the Python path.
...would imply that the above should work. But I get:
Traceback (most recent call last):
File "E:\Zope\server\lib\python\ZEO\start.py", line 371, in ?
if __name__=='__main__': main(sys.argv)
File "E:\Zope\server\lib\python\ZEO\start.py", line 226, in main
from zLOG import LOG, INFO, ERROR
ImportError: No module named zLOG
What am I doing wrong?
Please let me know if I need to supply more info :-)
cheers,
Chris