2009/12/29 Marius Gedminas <marius@gedmin.as>:
I get the following error:
File "build/bdist.linux-i686/egg/Zope2/utilities/load_site.py", line 248 body = ("<html><head><title><dtml-var title_or_id></title> ^ SyntaxError: EOL while scanning single-quoted string
File "/home/mg/tmp/buildout-eggs/tmprWUwxL/Zope2-2.12.2-py2.5-linux-i686.egg/Zope2/utilities/load_site.py", line 248 body = ("<html><head><title><dtml-var title_or_id></title> ^ SyntaxError: EOL while scanning single-quoted string
I already fixed that error on the 2.12 branch. But it's a bogus message generated by setuptools. It tries to compile all scripts ending in .py when building the egg. The script in question is never used anywhere and is probably some bitrot.
After that, it refuses to create a Data.fs and start up:
File "/home/mg/tmp/buildout-eggs/Zope2-2.12.2-py2.5-linux-i686.egg/Zope2/Startup/datatypes.py", line 273, in _mountPathError "No root database configured") ZConfig.ConfigurationError: No root database configured
Huh? Result of that load_site.py error, or a missing manual step that I should have known to do despite it being not mentioned in the installation docs?
I was brave enough to specify INSTANCEHOME as '.' in my zope.conf, because I strongly believe hardcoding absolute paths is dumb.
mg@platonas:~/src/akl-website-z2.12-experiment $ cat etc/zope.conf %define INSTANCE .
python $INSTANCE/bin/py
instancehome $INSTANCE
Well. You didn't specify a database file in your zope,conf it seems. Without a declaration, there's no database. Hanno