durusmail: quixote-users: cgi under Quixote 2.0
cgi under Quixote 2.0
2005-04-27
2005-04-27
cgi under Quixote 2.0
Fabio Rojas
2005-04-27
I upgraded from Quixote 2.0a to 2.0 and the demo.cgi and
server/cgi_server.py no longer work.  My domain is on a web hosting that
supports only cgi.



cgi_server.py reports:

Status: 500 Internal Server Error
Content-Type: text/plain
Date: Wed, 27 Apr 2005 21:02:07 GMT
Expires: -1
Content-Length: 3307

Traceback (most recent call last):
   File
"/home/farojas/bin/Python-2.3.4/Lib/site-packages/quixote/publish.py",
line 273, in process_request
     output = self.try_publish(request)
   File
"/home/farojas/bin/Python-2.3.4/Lib/site-packages/quixote/publish.py",
line 248, in try_publish
     assert path[:1] == '/'
AssertionError

------------------------

demo.cgi reports:

Traceback (most recent call last):
   File "demo.cgi", line 15, in ?
     app = Publisher('quixote.demo')
   File
"/home/farojas/bin/Python-2.3.4/Lib/site-packages/quixote/publish.py",
line 99, in __init__
     if not callable(getattr(root_directory, '_q_traverse')):
AttributeError: 'str' object has no attribute '_q_traverse'

------------------------

Any ideas on what I should try?

-thanks
reply