Andreas Poisel schrieb:
Importing from eggs in a servlet doesn't work when AutoReload is
switched on. Is this a known issue? I tried Webware 0.9 with
simplejson-1.1-py2.4.egg and json_py-3.4-py2.4.egg under Linux (Gentoo
and Ubuntu).
I checked this and it seems you are right. I cannot even use KidKit if
Kid is installed as an egg, and AutoReload is on.
I think (with my limited expertise) this is because AutoReload uses
ImportSpy, ImportSpy uses ihooks, and ihooks does not support eggs.
At least, if I do the following
import ihooks
ihooks.install(ihooks.ModuleImporter())
then I cannot import any python eggs afterwards.
Maybe Ian Bicking or others with more expertise can confirm this and
propose a solution (replace ihooks with something different)?
-- Christoph
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Webware-discuss mailing list
Webware-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/webware-discuss