Message308597
The following test is failing randomly for me (python -m test test_uuid -v):
======================================================================
ERROR: test_ipconfig_getnode (test.test_uuid.TestInternalsWithoutExtModule)
----------------------------------------------------------------------
Traceback (most recent call last):
File "cpython\lib\test\test_uuid.py", line 551, in test_ipconfig_getnode
node = self.uuid._ipconfig_getnode()
File "cpython\lib\uuid.py", line 487, in _ipconfig_getnode
for line in pipe:
File "cpython\lib\encodings\cp1255.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x8d in position 682: character maps to <undefined>
This is caused by trying to decode the output of "ipconfig" using cp1255, while the output really uses cp862 and annoyingly it started to print times using the current locale (Which displays broken in the console anyhow, question mark boxes... *sigh*) in some Windows version (Using Windows 10.0.16299 ATM). |
|
Date |
User |
Action |
Args |
2017-12-19 00:24:51 | Segev Finer | set | recipients:
+ Segev Finer, paul.moore, tim.golden, zach.ware, steve.dower |
2017-12-19 00:24:51 | Segev Finer | set | messageid: <1513643091.19.0.213398074469.issue32370@psf.upfronthosting.co.za> |
2017-12-19 00:24:51 | Segev Finer | link | issue32370 messages |
2017-12-19 00:24:51 | Segev Finer | create | |
|