February 26, 2008

Finally an explanation to mod_python: (Re)importing module 'django.core.handlers.modpython'

Posted in Software at 00:49 by graham

If you use Django with Apache, no doubt you have noticed lots of these lines in your log file:

mod_python: (Re)importing module ‘django.core.handlers.modpython’

Well, over on django-users Graham Dumpleton finally cleared it up:

You can ignore these messages from mod_python. You will see them every time Apache starts up a new child process for handling requests. It is just telling you that it is importing the handler for mod_python for the first time for that process.

Apparently this has been fixed in mod_python 3.3.1:

mod_python shouldn’t have really ever been making sys.path modules reloading candidates as it causes too many problems. The newest version of mod_python addresses the problems around that by separating sys.path imports from its own.

So now you know!

1 Comment »

  1. software development london said,

    November 5, 2009 at 15:53

    That was inspiring,

    Keep up the good work,

    Thanks for writing about it

Leave a Comment

Note: Your comment will only appear on the site once I approve it manually. This can take a day or two. Thanks for taking the time to comment.