Public bug reported:
Binary package hint: libapache2-mod-python
When I reference the session object in a PSP script, I get 500 Internal
Server error. The apache2 error log gives me back this error (with the
timestamps, etc., omitted) when I access the page with the source "<%=
session %>:
Traceback (most recent call last):
PythonHandler mod_python.psp: File
"/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in
HandlerDispatch\n result = object(req)
PythonHandler mod_python.psp: File
"/usr/lib/python2.4/site-packages/mod_python/psp.py", line 297, in handler\n
p.run()
PythonHandler mod_python.psp: File
"/usr/lib/python2.4/site-packages/mod_python/psp.py", line 191, in run\n
session = Session.Session(req)
PythonHandler mod_python.psp: File
"/usr/lib/python2.4/site-packages/mod_python/Session.py", line 389, in
Session\n timeout=timeout, lock=lock)
PythonHandler mod_python.psp: File
"/usr/lib/python2.4/site-packages/mod_python/Session.py", line 294, in
__init__\n timeout=timeout, lock=lock)
PythonHandler mod_python.psp: File
"/usr/lib/python2.4/site-packages/mod_python/Session.py", line 132, in
__init__\n Cookie.add_cookie(self._req, self.make_cookie())
PythonHandler mod_python.psp: File
"/usr/lib/python2.4/site-packages/mod_python/Session.py", line 160, in
make_cookie\n c.path = dirpath[len(docroot):]
PythonHandler mod_python.psp: TypeError: unsubscriptable object
** Affects: libapache2-mod-python (Ubuntu)
Importance: Undecided
Status: Unconfirmed
** Description changed:
Binary package hint: libapache2-mod-python
When I reference the session object in a PSP script, I get 500 Internal
Server error. The apache2 error log gives me back this error (with the
timestamps, etc., omitted) when I access the page with the source "<%=
session %>:
Traceback (most recent call last):
PythonHandler mod_python.psp: File
"/usr/lib/python2.4/site-packages/mod_python/apache.py", line 299, in
HandlerDispatch\n result = object(req)
PythonHandler mod_python.psp: File
"/usr/lib/python2.4/site-packages/mod_python/psp.py", line 297, in handler\n
p.run()
PythonHandler mod_python.psp: File
"/usr/lib/python2.4/site-packages/mod_python/psp.py", line 191, in run\n
session = Session.Session(req)
PythonHandler mod_python.psp: File
"/usr/lib/python2.4/site-packages/mod_python/Session.py", line 389, in
Session\n timeout=timeout, lock=lock)
PythonHandler mod_python.psp: File
"/usr/lib/python2.4/site-packages/mod_python/Session.py", line 294, in
__init__\n timeout=timeout, lock=lock)
PythonHandler mod_python.psp: File
"/usr/lib/python2.4/site-packages/mod_python/Session.py", line 132, in
__init__\n Cookie.add_cookie(self._req, self.make_cookie())
- [Fri Feb 02 16:22:05 2007] [error] [client 128.42.196.22] PythonHandler
mod_python.psp: File
"/usr/lib/python2.4/site-packages/mod_python/Session.py", line 160, in
make_cookie\n c.path = dirpath[len(docroot):]
- [Fri Feb 02 16:22:05 2007] [error] [client 128.42.196.22] PythonHandler
mod_python.psp: TypeError: unsubscriptable object
+ PythonHandler mod_python.psp: File
"/usr/lib/python2.4/site-packages/mod_python/Session.py", line 160, in
make_cookie\n c.path = dirpath[len(docroot):]
+ PythonHandler mod_python.psp: TypeError: unsubscriptable object
--
reference of the session object in PSP gives error.
https://launchpad.net/bugs/82948
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs