[pywin32-bugs] [ pywin32-Bugs-1888859 ] win32pdh.EnumObjects fails on windows server 2003 R2
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2008-02-07 23:02:30
|
Bugs item #1888859, was opened at 2008-02-07 10:43 Message generated for change (Comment added) made by rupole You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1888859&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. >Category: win32 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: bimal (bimalbiswal123) >Assigned to: Roger Upole (rupole) Summary: win32pdh.EnumObjects fails on windows server 2003 R2 Initial Comment: The following code works ok on any windows version except windows server 2003 R2. import win32pdh >>> win32pdh.EnumObjects(None, None, 0, 1) Here is the traceback Traceback (most recent call last): File "<pyshell#1>", line 1, in <module> win32pdh.EnumObjects(None, None, 0, 1) error: (-2147481648, 'EnumObjects for buffer size', 'No error message is available') ---------------------------------------------------------------------- >Comment By: Roger Upole (rupole) Date: 2008-02-07 18:02 Message: Logged In: YES user_id=771074 Originator: NO This is probably due to permissions. Try it from an elevated process. The next build will also have better support for PDH error messages: error: (-2147481648, 'EnumObjects for buffer size', 'Unable to connect to the specified computer or the computer is offline.') ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1888859&group_id=78018 |