Message12224

Author jeff.allen
Recipients jeff.allen, k870611
Date 2018-12-31.11:58:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1546257495.39.0.0245276031965.issue2726@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2018-12-31 11:58:15jeff.allensetmessageid: <1546257495.39.0.0245276031965.issue2726@roundup.psfhosted.org>
2018-12-31 11:58:15jeff.allensetrecipients: + jeff.allen, k870611
2018-12-31 11:58:15jeff.allenlinkissue2726 messages
2018-12-31 11:58:15jeff.allencreate