Bugs item #1824210, was opened at 2007-11-02 05:18
Message generated for change (Comment added) made by mhammond
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1824210&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: Closed
Resolution: Wont Fix
Priority: 5
Private: No
Submitted By: ennui77 (ennui77)
Assigned to: Nobody/Anonymous (nobody)
Summary: (-2147481648, 'EnumObjectItems for buffer size', 'No error m
Initial Comment:
I'm trying to do some stats reporting on a process using win32pdh. When I run my program as my admin user it works just fine. When I run the program as a limited user it get the following exception:
(-2147481648, 'EnumObjectItems for buffer size', 'No error message is available')
This is on windows xp 64-bit with a 32-bit python 2.4.3 install. I don't think its a problem with my call args, as they don't change between users, and the admin user works perfectly. I'm not sure if anyone else has run into this. I wasn't able to find any thing related to this issue with google.com. I don't understand how the user's privledges have anything to do with this call, unless I'm missing something.
----------------------------------------------------------------------
>Comment By: Mark Hammond (mhammond)
Date: 2007-11-02 09:51
Message:
Logged In: YES
user_id=14198
Originator: NO
I'm not sure - but I am confident that whatever the issue is, it is not
related to Python or pywin32. Searching for that error code, regardless of
the language that calls the function, is the most likely to be fruitful.
----------------------------------------------------------------------
Comment By: ennui77 (ennui77)
Date: 2007-11-02 09:09
Message:
Logged In: YES
user_id=1927281
Originator: YES
I did see that error, but it doesn't make sense. It is running the stats
on the local machine. how is it possible that it can't connect to it? I
event tried specifiy the full machine explicitly...
----------------------------------------------------------------------
Comment By: Mark Hammond (mhammond)
Date: 2007-11-02 08:45
Message:
Logged In: YES
user_id=14198
Originator: NO
There doesn't seem to be a pywin32 bug here, just a question about how the
PDH library works on various platforms. The error code you are seeing is
PDH_CSTATUS_NO_MACHINE - see
http://mail.python.org/pipermail/python-win32/2004-October/002519.html,
where this has come up before.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=551954&aid=1824210&group_id=78018
|