On Fri, Aug 5, 2011 at 4:16 AM, M Saunders TAS wrote:
> Does c.Msvm_VirtualSystemManagementService()[0] actually return anything?
Yes. This returns a wmi_object:
<_wmi_object:
\\server_name\root\virtualization:Msvm_VirtualSystemManagementService.CreationClassName="Msvm_VirtualSystemManagementSe
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 Librar
> 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
python-win32@p
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 t
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 w
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 dire