Re: service windows avec py2exe

2006-11-12 Thread Tim Golden
DarkPearl wrote: > ok, > > It's this line who crash the service : > > self.WMIService > =win32com.client.GetObject(r"winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2") > > > why this function goes when it is not a service? > > with IDLE -> ok > with py2exe executable (no windows service) -

Re: service windows avec py2exe

2006-11-12 Thread DarkPearl
ok, It's this line who crash the service : self.WMIService =win32com.client.GetObject(r"winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2") why this function goes when it is not a service? with IDLE -> ok with py2exe executable (no windows service) -> ok with py2exe service option true

Re: service windows avec py2exe

2006-11-11 Thread DarkPearl
I found the function which starts the error ** class Win32ProcessUsage: def __init__(self): self.lstProcess=[] self.WMIService = win32com.client.GetObject(r"winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2") self.reset() def r

Re: service windows avec py2exe

2006-11-10 Thread Gabriel Genellina
At Friday 10/11/2006 08:15, DarkPearl wrote: >apres avoir créer un service windows avec py2exe, >j'ai ce probleme quand je lance le service : > >voici ce que je trouve dans le journal d'evenement : > >The instance's SvcRun() method failed >: (-2147221020, &#x

service windows avec py2exe

2006-11-10 Thread DarkPearl
Bonjour à tous, apres avoir créer un service windows avec py2exe, j'ai ce probleme quand je lance le service : voici ce que je trouve dans le journal d'evenement : The instance's SvcRun() method failed : (-2147221020, 'Syntaxe incorrecte', None, None) je n'a