[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-08-21 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.py

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-08-17 Thread Steve Dower
Change by Steve Dower : -- keywords: +easy, newcomer friendly ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-07-30 Thread Steve Dower
Change by Steve Dower : -- stage: -> needs patch versions: +Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mail

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-07-30 Thread Sebastian Koslowski
Sebastian Koslowski added the comment: I ran into this issue on a Win10 German box running the tests for version 3.7.4 Your changes fixes the issue for me. -- nosy: +skoslowski versions: +Python 3.7 -Python 3.8 ___ Python tracker

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-06-09 Thread Lorenz Mende
Lorenz Mende added the comment: Did some minor changes with win_utils. Encoding changed to 'oem'. @heckad: does this bugfix work for u? @all: please verify working of the changes with different localizations. thx -- Added file: https://bugs.python.org/file48406/win_utils.py _

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-06-09 Thread Lorenz Mende
Change by Lorenz Mende : Removed file: https://bugs.python.org/file48285/win_utils.py ___ Python tracker ___ ___ Python-bugs-list mailing li

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-06-02 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -terry.reedy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-06-02 Thread Андрей Казанцев
Андрей Казанцев added the comment: I have the same problem in Russian locale. Adding "oem" encoding in the decode method solve problem with decoding but got: File "C:\Users\User\Documents\Projects\cpython\lib\test\libregrtest\win_utils.py", line 98, in getloadavg load = float(toks[1].repla

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-24 Thread Eryk Sun
Eryk Sun added the comment: It's "oem", not "mbcs". -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-24 Thread Lorenz Mende
Lorenz Mende added the comment: Sorry, was off some days. I tried to decode the output with mbcs, solves the issue partly - the counter name is still wrong. Was able to pick the localization specific counter name from registry and use it for the typeperf. But the tests fail after several sec

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-21 Thread Steve Dower
Steve Dower added the comment: If the code page is set to UTF-8 then mbcs will still be the right encoding :) -- ___ Python tracker ___ ___

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-20 Thread Eryk Sun
Eryk Sun added the comment: > It'll probably be mbcs or oem encoding. Certainly not UTF-8 Unless the system locale's codepage is set to UTF-8 in Windows 10. I stepped through this in the debugger. When writing to a pipe, typeperf.exe calls WideCharToMultiByte(CP_OEMCP, ...), so it's "oem".

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-20 Thread Steve Dower
Steve Dower added the comment: It'll probably be mbcs or oem encoding. Certainly not UTF-8 -- ___ Python tracker ___ ___ Python-bug

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'crash' mean *nix coredump or Windows equivelent, rather than traceback. -- components: +Windows nosy: +paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware type: crash -> behavior ___ Python tracker

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-19 Thread Ammar Askar
Ammar Askar added the comment: Thank you, could you also share the output if you just give it the English name of the counter? -- ___ Python tracker ___ _

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-19 Thread Lorenz Mende
Lorenz Mende added the comment: Hi Ammar, you are correct. typeperf returns: P:\Repos\CPython\cpython>typeperf "\System\Prozessor-Warteschlangenlänge" -si 1 "(PDH-CSV 4.0)","\\ZERO\System\Prozessor-Warteschlangenlänge" "04/19/2019 19:09:14.510","0.00" "04/19/2019 19:09:15.514","0.00" S

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-19 Thread Ammar Askar
Ammar Askar added the comment: What does `typeperf "\System\Processor Queue Length" -si 1` actually return on your non-English system? Does it just return an error with the counter's name or is the umalet just in the first header line, i.e this one for me: "(PDH-CSV 4.0)","\\MSI\System\Pr

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-19 Thread Lorenz Mende
Change by Lorenz Mende : -- nosy: -ammar2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-19 Thread Lorenz Mende
Change by Lorenz Mende : -- nosy: +ammar2 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue36670] test suite broken due to cpu usage feature on win 10/ german

2019-04-19 Thread Lorenz Mende
New submission from Lorenz Mende : The test suite fails with the first tests (I assume 1st call of getloadavg of WindowsLoadTracker). Traceback (most recent call last): File "P:\Repos\CPython\cpython\lib\runpy.py", line 192, in _run_module_as_main return _run_code(code, main_globals, None,