Issue1303866
Created on 2005-09-25.10:36:37 by anonymous, last changed 2006-08-30.05:07:29 by otmarhumbel.
Messages | |||
---|---|---|---|
msg1042 (view) | Author: Nobody/Anonymous (nobody) | Date: 2005-09-25.10:36:37 | |
I've got jython 2.2a1 release installed on a linux fedora core 3 box. if the classpath passed to jython, by means of the environment variable CLASSPATH, contains empty element ("::") then jython interpreter won't initialize properly but terminate imediatelly. Though the problem is avoidable making sure that there is not such empty elements, since the jvm (and I believe the majority of Java programs) do simply ignore them and the error message is far from informative, I do classify it as a bug. To reproduce: $ export CLASSPATH=:/tmp $ jython couldn't open registry file: /home/valentin/.jython Jython 2.2a1 on java1.4.2_08 (JIT: null) error importing site Traceback (innermost last): File "/usr/local/share/jython-2.2a1/Lib/site.py", line 66, in ? AttributeError: java package 'sys' has no attribute 'modules' However the following "equivalent" CP does not trigger it. $ export CLASSPATH=/tmp |
|||
msg1043 (view) | Author: Oti Humbel (otmarhumbel) | Date: 2006-08-17.21:54:19 | |
Logged In: YES user_id=105844 probably already fixed - will check again |
|||
msg1044 (view) | Author: Charlie Groves (cgroves) | Date: 2006-08-29.03:42:03 | |
Logged In: YES user_id=1174327 Yep, looks like it's fixed in trunk... |
|||
msg1045 (view) | Author: Oti Humbel (otmarhumbel) | Date: 2006-08-30.05:07:29 | |
Logged In: YES user_id=105844 The fix for this bug was checked in with revision 2824, see: http://svn.sourceforge.net/viewvc/jython?view=rev&revision=2824 The test is described here: http://sourceforge.net/mailarchive/forum.php?thread_id=12453617&forum_id=5587 and Raghu confirmed it here: http://sourceforge.net/mailarchive/forum.php?thread_id=12590455&forum_id=5587 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2005-09-25 10:36:37 | anonymous | create |
Supported by Python Software Foundation,
Powered by Roundup