From: liuxy <re...@bu...> - 2015-05-20 02:21:37
|
New submission from liuxy: On a windows 8.1 PC, run jython from cmd, then such an error occured: C:\Users\雪彦>jython Exception in thread "main" java.lang.IllegalArgumentException: Cannot create PyS tring with non-byte value at org.python.core.PyString.<init>(PyString.java:64) at org.python.core.PyString.<init>(PyString.java:70) at org.python.core.packagecache.PathPackageManager.addDirectory(PathPack ageManager.java:201) at org.python.core.packagecache.PathPackageManager.addClassPath(PathPack ageManager.java:232) at org.python.core.packagecache.SysPackageManager.findAllPackages(SysPac kageManager.java:96) at org.python.core.packagecache.SysPackageManager.<init>(SysPackageManag er.java:39) at org.python.core.PySystemState.initPackages(PySystemState.java:1127) at org.python.core.PySystemState.doInitialize(PySystemState.java:1057) at org.python.core.PySystemState.initialize(PySystemState.java:974) at org.python.core.PySystemState.initialize(PySystemState.java:930) at org.python.core.PySystemState.initialize(PySystemState.java:925) at org.python.util.jython.run(jython.java:263) at org.python.util.jython.main(jython.java:142) ---------- components: Core messages: 10069 milestone: Jython 2.7.0 nosy: liuxy_hes86 severity: major status: open title: java.lang.IllegalArgumentException while startup jython on Windows 8.1 with current username is not ASCII characters type: crash versions: Jython 2.7 _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue2356> _______________________________________ |