Message12218

Author k870611
Recipients k870611
Date 2018-12-31.04:49:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546231749.47.0.162176456291.issue2726@roundup.psfhosted.org>
In-reply-to
Content
In Jython 2.7.1, I just simply use the code 

>>>import platform
>>>platform.system()

and it return Error

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\jython2.7.1\Lib\platform.py", line 1396, in system
    return uname()[0]
  File "C:\jython2.7.1\Lib\platform.py", line 1213, in uname
    machine = os.uname()[4]
        at org.python.core.PyString.<init>(PyString.java:57)
        at org.python.core.PyString.<init>(PyString.java:70)
        at org.python.core.PyString.<init>(PyString.java:74)
        at org.python.core.Py.newString(Py.java:647)
        at org.python.modules.posix.PosixModule.uname(PosixModule.java:1173)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Cannot create PyString with non-byte value
History
Date User Action Args
2018-12-31 04:49:10k870611setrecipients: + k870611
2018-12-31 04:49:09k870611setmessageid: <1546231749.47.0.162176456291.issue2726@roundup.psfhosted.org>
2018-12-31 04:49:09k870611linkissue2726 messages
2018-12-31 04:49:09k870611create