05-27-05 07:45 AM
[ http://issues.apache.org/jira/brows...n_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 dir
ectory as the script, I _sometimes_ get an "Object Not Found - Error 404" me
ssage.
> It was tricky the discover that the solution was just to append the direct
ory to PythonPath because of two problems:
> 1- Sometimes it just worked! You just reloaded the page and it opened. An
d then you reload it again and get a 404...
> 2- ModPython didn't issue _any_ error or warning about this anywhere. It just log
ged the usual "(re)importing module...".
[ Post a follow-up to this message ]
|