[mod_python] "Cannot import name *" error

Sebastjan Trepca trepca at gmail.com
Fri Nov 18 04:14:42 EST 2005


Hi ho!

I get this weird import error which doesn't include mod_python
internal importing system but pythons. The bizzare thing that it
mostly occours after application is running for a while, day or two.

[error][client 212.235.140.36] PythonHandler portal.handler:   File
"/usr/lib64/python2.4/site-packages/portal/handler.py", line 8, in ?\n
   from app.modules import golf
[error] [client 212.235.140.36] PythonHandler portal.handler:
ImportError: cannot import name golf

After "apache2ctl restart" it starts working again. Any clues?

Thanks, Sebastjan



More information about the Mod_python mailing list