Re: [python-win32] wmi query error

2009-10-21 Thread Nick Moszer
To make talking about it easier, I've slightly reworked your code to make it run completely (ie I've added imports and the initialisation of the data structures) and to take advantage of the wmi module's built-in features. Hopefully it's perfectly clear what's going on; I've just avoided some

[python-win32] wmi query error

2009-10-20 Thread Nick Moszer
Hello, I'm occasionally receiving the following error when doing a set of queries: Traceback (most recent call last): File "psg5220_demo.py", line 236, in find_hdd_drives partitions = services.query(query) File "...path..\wmi.py", line 889, in query return [ _wmi_object (obj, instance_o

[python-win32] wmi query error

2009-10-20 Thread Nick Moszer
Hello, I'm occasionally receiving the following error when doing a set of queries: Traceback (most recent call last): File "psg5220_demo.py", line 236, in find_hdd_drives partitions = services.query(query) File "...path..\wmi.py", line 889, in query return [ _wmi_object (obj, instance_o