[Bf-committers] [32454] Fix UnicodeEncodingError, which prevents netrender, reprojection and playback from working on Windows in certain situations.

Nathan Letwory nathan at letworyinteractive.com
Wed Oct 13 23:56:21 CEST 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 14.10.2010 0:53, Nathan Letwory wrote:
> Fix UnicodeEncodingError, which prevents netrender, reprojection and playback from working on Windows in certain situations.
> 
> Users can set their machine name to something containing non-ascii characters. In Python this currently causes problem due to
> socket.gethostname() throwing UnicodeEncodingError. Work around this by not using platform.system() (which uses internally socket.gethostname()).
> 
> See http://www.pasteall.org/16215 for backtrace

I completely forgot to include the link http://bugs.python.org/issue9377

/Nathan

- -- 
Nathan Letwory
Letwory Interactive
http://www.letworyinteractive.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJMtisFAAoJEKtfN7KsE0TtrM8H/05AsisnjBVja9+75GfZYqkG
R3uAgNXsinsMv8xtRWMSVEeGTZJpFU3KAruB7YRu5erWFjrk63CryZfhl+ZpoSI4
nHTfa1ObYuuhOUPJmrg3C3YJuZytveZSzTig4y9+G/ye3hex5s6euefl1qyPtCY3
0CLfkiGBQR/jMJswzPwb66qvCuWwpi0OYU+wCET83+OhLheWNYa3dYqbbj36xF9w
kfna7TFzzAro22kU16kuyw1GJzN3Rkwqxq21tAl/KYftiqMGY8Pb/Ze5q/4TmqgS
eDfIRHoaQFQpZIaR/KNa9v0hwf6ldfRvsZ0wCVXMC+6DcmwZf0cDNYWW7odlclc=
=Ii44
-----END PGP SIGNATURE-----


More information about the Bf-committers mailing list