Re: [python-win32] import win32traceutil - stopped working, any lights ?

2009-02-25 Thread Trent Mick
Mark Hammond wrote: I believe that build 212 had a problem with win32traceutil, introduced trying to get things working on Vista. Build 213 should have that fixed, but on Vista it may be necessary to either (a) run win32traceutil as an admin or (b) ensure IIS has already imported win32traceuti

Re: [python-win32] import win32traceutil - stopped working, any lights ?

2009-02-25 Thread Mark Hammond
On 26/02/2009 3:56 AM, Boris Borcic wrote: Hello, I just moved a python ISAPI between servers, the code works fine except that "import win32traceutil" doesn't work any more for the ISAPI. On the other hand, "import win32traceutil" in a small test program run either from the pythonwin environmen

Re: [python-win32] Unreliable results with Winreg & WMI

2009-02-25 Thread Tim Roberts
Tim Roberts wrote: > Ben wrote: > >>> I have generally been getting better results using winreg than using WMI, >>> but even Winreg (or config problems on our server) are causing me >>> problems. For example I'd use this code to find out if a certain >>> >>> >>> >> I'm beginning to

Re: [python-win32] Unreliable results with Winreg & WMI

2009-02-25 Thread Tim Roberts
Ben wrote: >> I have generally been getting better results using winreg than using WMI, >> but even Winreg (or config problems on our server) are causing me >> problems. For example I'd use this code to find out if a certain >> >> > > I'm beginning to think this is because of 32 vs 64 bit, be

[python-win32] import win32traceutil - stopped working, any lights ?

2009-02-25 Thread Boris Borcic
Hello, I just moved a python ISAPI between servers, the code works fine except that "import win32traceutil" doesn't work any more for the ISAPI. On the other hand, "import win32traceutil" in a small test program run either from the pythonwin environment or with python.exe, works all right : t

Re: [python-win32] Unreliable results with Winreg & WMI

2009-02-25 Thread Ben
> I have generally been getting better results using winreg than using WMI, > but even Winreg (or config problems on our server) are causing me > problems. For example I'd use this code to find out if a certain > I'm beginning to think this is because of 32 vs 64 bit, because the server running

[python-win32] Unreliable results with Winreg & WMI

2009-02-25 Thread Ben
Hello I have generally been getting better results using winreg than using WMI, but even Winreg (or config problems on our server) are causing me problems. For example I'd use this code to find out if a certain security update is installed across all our servers: def KB958644(OS, servername):

Re: [python-win32] NT service and login prompt

2009-02-25 Thread le dahut
After some investigations, I finally found a solution : HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\ServiceGroupOrder:List In this list you can add your proper group, assign your service to the group. Windows will start services by group following the order they appear in "List". To m

Re: [python-win32] Problem in identifying an archived file in Windows

2009-02-25 Thread Gabriel Genellina
En Wed, 25 Feb 2009 05:40:22 -0200, venu madhav escribió: I am writing an application which has to identify the archived files in a given directory.I've tried using the function i = win32api.GetFileAttributes (full_path) to obtain the attributes.But am unable to identify based on