Message9276

Author zyasoft
Recipients Arfrever, jeff.allen, zyasoft
Date 2014-12-30.18:02:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1419962541.31.0.185947058373.issue2239@psf.upfronthosting.co.za>
In-reply-to
Content
A related bug is that one cannot start Jython with the current working directory being Unicode. This one fails in a similar fashion:

$ cd 首页
jimbaker:首页 jbaker$ jython27
Exception in thread "main" Traceback (most recent call last):
  File "/Users/jbaker/jythondev/jython27/dist/Lib/site.py", line 62, in <module>
    import os
  File "/Users/jbaker/jythondev/jython27/dist/Lib/os.py", line 45, in <module>
    from posix import *
java.lang.IllegalArgumentException: Cannot create PyString with non-byte value
	at org.python.core.PyString.<init>(PyString.java:60)
	at org.python.core.PyString.<init>(PyString.java:66)
	at org.python.core.Py.newString(Py.java:626)
	at org.python.modules.posix.PosixModule.getEnviron(PosixModule.java:896)
	at org.python.modules.posix.PosixModule.classDictInit(PosixModule.java:113)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
...
History
Date User Action Args
2014-12-30 18:02:21zyasoftsetmessageid: <1419962541.31.0.185947058373.issue2239@psf.upfronthosting.co.za>
2014-12-30 18:02:21zyasoftsetrecipients: + zyasoft, jeff.allen, Arfrever
2014-12-30 18:02:21zyasoftlinkissue2239 messages
2014-12-30 18:02:21zyasoftcreate