On Fri, Aug 5, 2011 at 4:16 AM, M Saunders TAS saunders...@we-learn.com wrote:
Does c.Msvm_VirtualSystemManagementService()[0] actually return anything?
Yes. This returns a wmi_object:
_wmi_object:
Hi Mitch,
I've just gone to rerun this on my machine and it failed with the exact same
error message that you reported initially.
The only thing that has changed since it worked is I compiled the typelibs.
I have just tested this on another box, and compiling the Microsoft WMI
Scripting
I have just tested this on another box, and compiling the Microsoft WMI
Scripting Library typelib definitely breaks it.
Where does makepy write its generated files? Is it possible to unmake
this typelib?
___
python-win32 mailing list
On 08/08/2011 16:35, Mitch Oliver wrote:
I have just tested this on another box, and compiling the Microsoft WMI
Scripting Library typelib definitely breaks it.
Where does makepy write its generated files? Is it possible to unmake
this typelib?
Try:
%TEMP%\gen_py\2.x\...
(PS Mitch, can
Try:
%TEMP%\gen_py\2.x\...
That seemed to contain some dummies, but I was able to locate files
that had content in site-packages\win32com\gen_py. After deleting the
contents of this directory and regenerating only WMI Scripting and
WMICntl the code works.
(PS Mitch, can you subscribe to the
On 08/08/2011 17:09, Mitch Oliver wrote:
Try:
%TEMP%\gen_py\2.x\...
That seemed to contain some dummies, but I was able to locate files
that had content in site-packages\win32com\gen_py. After deleting the
contents of this directory and regenerating only WMI Scripting and
WMICntl the code
I am trying to control the behavior of a service with regards to failure
handling as described here:
http://blogs.msdn.com/b/jcalev/archive/2008/01/10/some-tricks-with-service-restart-logic.aspx
I have done some reading and have the following snippet of code that I think
is going in the right