How to get zim.cgi running?
I installed zim-0.44 a la: python setup.py install --home=~
and then got a simple hello.cgi working on my server and
then copied zim.cgi right next to it. It failed numerous ways.
First, it couldn't find the template. I figured that out:
os.environ[
oh... and the template name is 'Default', not 'Default.html'
then it wanted write access to ~/.cache .
I reluctantly set that directory to world-writeable for testing.
Then it wanted an X connection:
[Mon Feb 22 20:56:41 2010] [error] [client 70.94.4.81] File "/u/2/connolly/lib
/python/
[Mon Feb 22 20:56:41 2010] [error] [client 70.94.4.81] CURSOR_TEXT = gtk.gdk
.Cursor(
[Mon Feb 22 20:56:41 2010] [error] [client 70.94.4.81] RuntimeError: could not c
reate GdkCursor object
[Mon Feb 22 20:56:41 2010] [error] [client 70.94.4.81] /u/2/connolly/
zim/gui/
_IS_DISPLAY (display)' failed
I think there were other problems I worked around, but I never did get the thing
running.
I searched for documentation on how to use zim.cgi without luck.
Has anybody else gotten it running?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Zim Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Dan Connolly for more information if necessary.
