Lukas Linhart
almad at include.cz
Tue Jan 18 18:08:12 EST 2005
Hello, I've done some further research and test this code on more configurations: #!/usr/bin/env python # -*- coding: iso-8859-2 -*- from mod_python import Session def index(req): relace = Session.Session(req) req.write(relace.id()) I've tested it on more configurations and Python/mod_python/apache versions, but I always get this output (on the end of the mail). Is something wrong with the code, configurations or it's bug of mod_python.publisher? Thanks for any hints, -- Lukas "Almad" Linhart [:: http://www.Include.cz/ ::] [:: Including Your wishes ::] [:: PGP/GNUPg key: http://download.almad.net/pubkey.asc ::] === output === Mod_python error: "PythonHandler mod_python.publisher" Traceback (most recent call last): File "/usr/lib/python2.3/site-packages/mod_python/apache.py", line 299, in HandlerDispatch result = object(req) File "/usr/lib/python2.3/site-packages/mod_python/publisher.py", line 136, in handler result = util.apply_fs_data(object, req.form, req=req) File "/usr/lib/python2.3/site-packages/mod_python/util.py", line 361, in apply_fs_data return object(**args) File "/var/data/web/almad.net/pokus.py", line 8, in index relace = Session.Session(req) File "/usr/lib/python2.3/site-packages/mod_python/Session.py", line 389, in Session timeout=timeout, lock=lock) File "/usr/lib/python2.3/site-packages/mod_python/Session.py", line 294, in __init__ timeout=timeout, lock=lock) File "/usr/lib/python2.3/site-packages/mod_python/Session.py", line 132, in __init__ Cookie.add_cookie(self._req, self.make_cookie()) File "/usr/lib/python2.3/site-packages/mod_python/Session.py", line 160, in make_cookie c.path = dirpath[len(docroot):] TypeError: unsubscriptable object -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 190 bytes Desc: not available Url : http://mm_cfg_has_not_been_edited_to_set_host_domains/pipermail/mod_python/attachments/20050119/1f97971f/attachment.bin
|