The following forum message was posted by  at 
http://sourceforge.net/projects/pydev/forums/forum/293649/topic/3747962:

I have PyDev installed with Oracle Enterprise Pack for Eclipse (OEPE) and 
running into a problem with 
a Weblogic WLST jython script.  An exception was thrown complaining 
in-compatible Jython module, etc.
The script is executed with a Weblogic WLST interpreter instantiated by OEPE 
plugin
(not through the PyDev interpreter configuration)

After some debugging, it turns out the problem was caused by  System property 
\"python.hom\" set by PyDev,
which causes the Jython modules bundled by PyDev picked up by WLST.
Since WLST is based on different version of Jython, an exception was thrown.

Is this a bug? I understand PyDev needs the bundled Jython 
for design time support, but is there a way to avoid using system property
which may causes problem like this, which is very hard to debug.


sys.path
[\'C:\\\\mission\\\\oepe-galileo-all-in-one-11.1.1.6.0.201006121650-win32\\\\plugins\\\\org.python.pydev.jython_1.5.7.2010050621\\\\Lib\',
 
\'C:\\\\mission\\\\oepe-galileo-all-in-one-11.1.1.6.0.201006121650-win32\\\\plugins\\\\org.python.pydev.jython_1.5.7.2010050621\\\\jysrc\',
 \'__classpath__\', \'C:/WLS1033/bea/wlserver_10.3/server/lib/weblogic.jar\', 
\'C:/WLS1033/bea/wlserver_10.3/common/wlst/modules/jython-...]


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Pydev-users mailing list
Pydev-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pydev-users

Reply via email to