[mod_python] Caching Issue ?

James Mills prologic at shortcircuit.net.au
Fri Dec 2 00:29:26 EST 2005


On Fri, Dec 02, 2005 at 03:02:03PM +1000, James Mills wrote:
> I have a strange problem with mod_python (possibly maybe even with
> clearsilver, but I doubt it).
> 
> Basically I've noticed, if I hit "Refresh" in my browser sometimes I
> will get an exception:
> 
>   File "/home/prologic/www/helpdesk/helpdesk/module.py", line 70, in
>   __init__   
>       import neo_cs                                                               
>       ImportError: No module named neo_cs                           
> 
> Here's a snippet of that code:
> 
> class Module:
>    .
>    .
>    .
>    def __init__(...):
>       .
>       .
>       .
>       import neo_cgi
>       import neo_cs # <-- Line 70
>       import neo_util
>       self._hdf = neo_util.HDF()
>       self._setupPaths(self._hdf)
>       self._cs = neo_cs.CS(self._hdf)
>       self._cs.parseFile(self._template)
> 
> Any ideas ? (I'm guessing some caching issue?)

Just a side-note, this only seems to happen when using SSL

ie: https://localhost/~prologic/helpdesk/

cheers
James

-- 
--
-"Problems are Solved by Method"
-
- James Mills <prologic at shortcircuit.net.au>
- HomePage: http://shortcircuit.net.au/~prologic/
- Phone: +61732166379
- Mobile: +61404270962
- Skype: therealprologic
- MSN: prologic at shortcircuit.net.au
- ICQ: 98888663
- IRC: irc://shortcircuit.net.au#se

Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html


More information about the Mod_python mailing list