
| Key: |
MODPYTHON-56
|
| Type: |
Bug
|
| Status: |
Closed
|
| Resolution: |
Incomplete
|
| Priority: |
Major
|
| Assignee: |
Unassigned
|
| Reporter: |
Humberto Diogenes
|
| Votes: |
0
|
| Watchers: |
1
|
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Red Hat 9 + Apache 2.0.48
Debian Sarge + Apache 2.0.54
Red Hat 9 + Apache 2.0.48
Debian Sarge + Apache 2.0.54
|
|
| Resolution Date: |
07/Mar/06 05:26 PM
|
|
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...".
|
|
Description
|
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...". |
Show » |
made changes - 22/Oct/05 04:02 PM
| Field |
Original Value |
New Value |
|
Component/s
|
|
importer
[ 12310385
]
|
made changes - 07/Mar/06 05:26 PM
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
|
Resolution
|
|
Incomplete
[ 4
]
|
made changes - 07/Mar/06 05:34 PM
|
Status
|
Resolved
[ 5
]
|
Closed
[ 6
]
|
|