Hi!
After the Charles's message, I
try, on my XP-SP2 "FRENCH".
Same error :
Traceback (most recent call last):
File "D:\dev\python\ess.py", line 3, in ?
win32pdhutil.ShowAllProcesses()
File "C:\Python24\Lib\site-packages\win32\lib\win32pdhutil.py", line 95, in ShowAllProcesses
items, instances = win32pdh.EnumObjectItems(None,None,object, win32pdh.PERF_DETAIL_WIZARD)
pywintypes.error: (-1073738824, 'EnumObjectItems for buffer size', 'No error message is available')
File "D:\dev\python\ess.py", line 3, in ?
win32pdhutil.ShowAllProcesses()
File "C:\Python24\Lib\site-packages\win32\lib\win32pdhutil.py", line 95, in ShowAllProcesses
items, instances = win32pdh.EnumObjectItems(None,None,object, win32pdh.PERF_DETAIL_WIZARD)
pywintypes.error: (-1073738824, 'EnumObjectItems for buffer size', 'No error message is available')
I try with ANSI, CP1252, UTF-8 (no link, just
for test)
Perhaps this help you (sorry, I can't do very
more)
@-salutations
--
Michel Claveau
when I looked again in the archives, I looks that
people who have the problem are on non-english OSes... Maybe it is related?
Cheers
Charles
De: Mark Hammond [mailto:[EMAIL PROTECTED]
Date: sam. 15/07/2006 03:00
À: Charles BROSSOLLET; 'python-win32'
Objet : RE: [python-win32] win32pdhutil.ShowAllProcesses() fails
I'm afraid I can't help
much. It looks like the API function is failing with
PDH_CSTATUS_NO_OBJECT. A quick google for this shows a win2k related
knowledge-base article, but nothing specific to Windows XP - but hopefully
knowing the exact error code being returned by PDH is
useful.
Cheers,
Mark
-----Original
Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Charles BROSSOLLET
Sent: Saturday, 15 July 2006 3:16 AM
To: python-win32
Subject: [python-win32] win32pdhutil.ShowAllProcesses() fails
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Charles BROSSOLLET
Sent: Saturday, 15 July 2006 3:16 AM
To: python-win32
Subject: [python-win32] win32pdhutil.ShowAllProcesses() fails
Hello,I cannot manage to use the ShowAllProcesses() function, it returns the following error :>>> win32pdhutil.ShowAllProcesses()
Traceback (most recent call last):
File "<input>", line 1, in ?
File "C:\Python24\Lib\site-packages\win32\lib\win32pdhutil.py", line 95, in ShowAllProcesses
items, instances = win32pdh.EnumObjectItems(None,None,object, win32pdh.PERF_DETAIL_WIZARD)
error: (-1073738824, 'EnumObjectItems for buffer size', 'No error message is available')I'm using ActivePython 2.4.3 with win32all build 208, on WinXP SP2.Thanks in advance for your support!Charles Brossollet
_______________________________________________ Python-win32 mailing list Python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32