Commented: (MODPYTHON-56) Error 404 importing module from the same folder
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Mod-Python > Commented: (MODPYTHON-56) Error 404 importing module from the same folder




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

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


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
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 ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:39 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register