Apache Mod-Python - Commented: (MODPYTHON-56) Error 404 importing module from the same folder

This is Interesting: Free IT Magazines  
Home > Archive > Apache Mod-Python > May 2005 > Commented: (MODPYTHON-56) Error 404 importing module from the same folder





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Commented: (MODPYTHON-56) Error 404 importing module from the same folder
Graham Dumpleton (JIRA)

2005-05-27, 2:45 am

[ http://issues.apache.org/jira/brows...ts#action_66430 ]

Graham Dumpleton commented on MODPYTHON-56:
-------------------------------------------

Might be the same problem as MODPYTHON-9. More information
is required about the names of actual files and whether the same
named file is used in multiple directories. Specific instructions
on how to duplicate it, like as described for MODPYTHON-9 would
be required to investigate it further.


> 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...".


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com