Message12224
It works for me on all versions. However, I suspect a non-ascii host name may be behind this for you. I know you're not asking for the host name, but you can see from the dump that it uses os.uname(), and that's where it blows up.
Could you confirm? What does this give you:
>>> import java
>>> java.net.InetAddress.getLocalHost().getHostName().encode('utf-8')
If I guessed correctly, this is fixed already #2608 (essentially by adding the encode('utf-8')). (I'm marking this as duplpicate, pending contradiction of this theory.)
#2608 will be released in Jython 2.7.2, or you could download and build the current development version. |
|
Date |
User |
Action |
Args |
2018-12-31 11:58:15 | jeff.allen | set | messageid: <1546257495.39.0.0245276031965.issue2726@roundup.psfhosted.org> |
2018-12-31 11:58:15 | jeff.allen | set | recipients:
+ jeff.allen, k870611 |
2018-12-31 11:58:15 | jeff.allen | link | issue2726 messages |
2018-12-31 11:58:15 | jeff.allen | create | |
|