Error 404 importing module from the same folder -----------------------------------------------
Key: MODPYTHON-56 URL: http://issues.apache.org/jira/browse/MODPYTHON-56 Project: mod_python Type: Bug Versions: 3.1.3, 3.1.4 Environment: Red Hat 9 + Apache 2.0.48 Debian Sarge + Apache 2.0.54 Reporter: Humberto Diogenes Using the Publisher handler, if I try to import a module from the same directory as the script, I _sometimes_ get an "Object Not Found - Error 404" message. It was tricky the discover that the solution was just to append the directory to PythonPath because of two problems: 1- Sometimes it just worked! You just reloaded the page and it opened. And then you reload it again and get a 404... 2- ModPython didn't issue _any_ error or warning about this anywhere. It just logged the usual "(re)importing module...". -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira