[Zope] z2.py startup problem

Dieter Maurer dieter@handshake.de
Mon, 1 Jul 2002 00:00:26 +0200


Dirk Datzert writes:
 > I installed a fresh zope and want to start it with:
 > 
 > web05:/var/lib/zope # ./z2.py -z /usr/share/zope -Z
 > /var/run/zwatchdog.pid -w 8080
 > -D
 > 
 > I get an error:
 > 
 > ./z2.py: line 216: syntax error near unexpected token
 > `sys.path.insert(0,'
 > ./z2.py: line 216: `    sys.path.insert(0, '%s/lib/python' % swhome)'
Maybe some indentation (whitespace) problem (I hate Python's indentation!).
Check spaces versus tabs.


Dieter