Message5916
The bug is clearly introduced by the change from SVN rev 6858 to rev 6859. This commit changes com/xhaus/modjy/ModjyJServlet.java only. The SVN log message reads:
------------------------------------------------------------------------
r6859 | amak | 2009-10-15 19:40:22 +0200 (Do, 15. Okt 2009) | 1 Zeile
Checking in support for loading site-packages, through the use of imp.load("site"). Controlled with a "load_site_packages" option, which defaults to true.
------------------------------------------------------------------------
Therefore tit should be possible to work around this bug by setting the servlet or webapp parameter "load_site_packages" to "0".
But what is the real cause of this problem. The relevant part of the code change is the addition of
import org.python.core.imp;
...
imp.load("site");
The static method imp.load fails to load the "site" module. Currently I do not know, why it fails to load site.py, because the site.py file is present. |
|
Date |
User |
Action |
Args |
2010-07-21 12:11:56 | akruis | set | messageid: <1279714316.9.0.484177047736.issue1629@psf.upfronthosting.co.za> |
2010-07-21 12:11:56 | akruis | set | recipients:
+ akruis, rafanunes |
2010-07-21 12:11:56 | akruis | link | issue1629 messages |
2010-07-21 12:11:55 | akruis | create | |
|