Your message dated Sat, 19 Jul 2008 12:39:06 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Re: libapache2-mod-python: mod_python psp unusable in sarge
version
has caused the Debian Bug report #409168,
regarding libapache2-mod-python: mod_python psp unusable in sarge version
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [EMAIL PROTECTED]
immediately.)
--
409168: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=409168
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: libapache2-mod-python
Version: 3.1.3-3
Severity: important
Tags: sarge
Hi,
I'm trying to get some psp stuff running on a sarge machine that was
developed on an etch machine. I had to discover that psp as provided by
the sarge package libapache2-mod-python is mostly unusable.
One cannot do this:
[EMAIL PROTECTED]:~/public_html/python$ cat test.psp
<%
from mod_python import apache
from mod_python import psp
content = psp.PSP(req, string='test')
content.run()
req.write('TEST')
%>
Because it will result in:
Mod_python error: "PythonHandler mod_python.psp"
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/psp.py", line 297, in
handler
p.run()
File "/usr/lib/python2.3/site-packages/mod_python/psp.py", line 208, in run
exec code in global_scope
File "/home/hanke/public_html/python/test.psp", line 3, in ?
from mod_python import psp
ImportError: cannot import name psp
It seems to me that the problem is already fixed upstream. See:
http://issues.apache.org/jira/browse/MODPYTHON-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
and more recent package versions (etch version) do not show the error.
It would be nice of a backport of a recent version could be provided as
it is not really easy to backport python-related packages these days.
Thanks,
Michael
--
GPG key: 1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050
--- End Message ---
--- Begin Message ---
Thansk for the report, but no longer support sarge packages (etch is
the stable release, sarge is oldstable); please update to a new
release.
Regards,
Sandro
--
Sandro Tosi (aka morph, Morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi
--- End Message ---
_______________________________________________
Python-modules-team mailing list
Python-modules-team@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/python-modules-team