472,133 Members | 1,177 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,133 software developers and data experts.

mod_python mptest.py works publisher not

I'm going to work with mod_python.

I install mod_python 3.2.2b for python 2.4.

If i test my install with
see this link:

But if i try this:

<Directory "C:\.......">
AddHandler mod_python .py
PythonHandler mod_python.publisher
PythonDebug On


It don't work!

I Get the following message:

Mod_python error: "PythonHandler mod_python.publisher"

Traceback (most recent call last):

File "C:\Program
Files\Python24\Lib\site-packages\mod_python\apache.py", line 299, in
result = object(req)

File "C:\Program
Files\Python24\Lib\site-packages\mod_python\publisher.py", line 204, in
module = page_cache[req]

File "C:\Program
Files\Python24\Lib\site-packages\mod_python\cache.py", line 77, in
return self._checkitem(name)[2]

File "C:\Program
Files\Python24\Lib\site-packages\mod_python\cache.py", line 119, in
value = self.build(key, name, opened, entry)

File "C:\Program
Files\Python24\Lib\site-packages\mod_python\publisher.py", line 77, in
return ModuleCache.build(self, key, req, opened, entry)

File "C:\Program
Files\Python24\Lib\site-packages\mod_python\cache.py", line 367, in
module = new.module(re_not_word.sub('_',key))

AttributeError: 'module' object has no attribute 'module'

Oct 12 '05 #1
0 1673

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Rolfe | last post: by
2 posts views Thread by digidalmation | last post: by
3 posts views Thread by Anthony Papillion II | last post: by
1 post views Thread by Manuel Pellecer | last post: by
2 posts views Thread by Robert J. Hansen | last post: by
4 posts views Thread by Python_it | last post: by
5 posts views Thread by Johan | last post: by
1 post views Thread by jpuopolo | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.