Message10346
Looks like the issue is not socket related:
>>> class TestError(IOError): pass
>>> str(TestError(u"Sieć jest niedostępna"))
asdfasdfasdf
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
UnicodeEncodeError: 'ascii' codec can't encode character u'\u0107' in position 3: ordinal not in range(128)
>>> str(TestError(1, u"Sieć jest niedostępna"))
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
java.lang.IllegalArgumentException: Cannot create PyString 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.Py.newString(Py.java:645)
at org.python.core.exceptions.EnvironmentError__str__(exceptions.java:280)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.python.core.exceptions$BoundStaticJavaMethod.__call__(exceptions.java:677)
at org.python.core.PyObject.__call__(PyObject.java:445)
at org.python.core.PyBaseExceptionDerived.__str__(PyBaseExceptionDerived.java:65)
at org.python.core.PyString.str_new(PyString.java:164)
at org.python.core.PyString$exposed___new__.new_impl(Unknown Source)
at org.python.core.PyType.invokeNew(PyType.java:494)
at org.python.core.PyType.type___call__(PyType.java:1708)
at org.python.core.PyType.__call__(PyType.java:1698)
at org.python.core.PyObject.__call__(PyObject.java:461)
at org.python.core.PyObject.__call__(PyObject.java:465)
at org.python.pycode._pyx6.f$0(<stdin>:1)
at org.python.pycode._pyx6.call_function(<stdin>)
at org.python.core.PyTableCode.call(PyTableCode.java:167)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1403)
at org.python.core.Py.exec(Py.java:1447)
at org.python.util.PythonInterpreter.exec(PythonInterpreter.java:276)
at org.python.util.InteractiveInterpreter.runcode(InteractiveInterpreter.java:131)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:116)
at org.python.util.InteractiveInterpreter.runsource(InteractiveInterpreter.java:62)
at org.python.util.InteractiveConsole.push(InteractiveConsole.java:181)
at org.python.util.InteractiveConsole._interact(InteractiveConsole.java:162)
at org.python.util.InteractiveConsole.interact(InteractiveConsole.java:120)
at org.python.util.jython.run(jython.java:419)
at org.python.util.jython.main(jython.java:142)
java.lang.IllegalArgumentException: java.lang.IllegalArgumentException: Cannot create PyString with non-byte value |
|
Date |
User |
Action |
Args |
2015-10-11 06:58:31 | darjus | set | messageid: <1444546711.08.0.0309123786914.issue2331@psf.upfronthosting.co.za> |
2015-10-11 06:58:31 | darjus | set | recipients:
+ darjus, zyasoft, Arfrever |
2015-10-11 06:58:30 | darjus | link | issue2331 messages |
2015-10-11 06:58:29 | darjus | create | |
|