Re: [python-win32] Weird ADSI hang.

2005-10-06 Thread bob
At 04:15 PM 10/6/2005, Gabriel Genellina wrote: >At Thursday 6/10/2005 00:51, you wrote: > > >import win32com.client > > > >def recurse(objstr): > > for obj in win32com.client.GetObject(objstr): > > print "Digging into", obj.ADsPath, "class=" + obj.Class > >

Re: [python-win32] Weird ADSI hang.

2005-10-06 Thread Gabriel Genellina
At Thursday 6/10/2005 00:51, you wrote: >import win32com.client > >def recurse(objstr): > for obj in win32com.client.GetObject(objstr): > print "Digging into", obj.ADsPath, "class=" + obj.Class > recurse(obj.ADsPath) > >print "At the start" >print recurse("I

Re: [python-win32] Weird ADSI hang.

2005-10-06 Thread bob
At 11:15 AM 10/6/2005, Jeff Fisher wrote: > > Well I ran it w/o problem. Under what are you running it? (IDLE, Python > > command prompt, ...??) > > What is the evidence that it hangs? > >I'm running it from a command prompt typing: python iisdigger.py > >Evidence it hangs? It starts, seems to run

Re: [python-win32] Weird ADSI hang.

2005-10-06 Thread bob
At 11:15 AM 10/6/2005, Jeff Fisher wrote: > > Well I ran it w/o problem. Under what are you running it? (IDLE, Python > > command prompt, ...??) > > What is the evidence that it hangs? > >I'm running it from a command prompt typing: python iisdigger.py > >Evidence it hangs? It starts, seems to run

Re: [python-win32] Weird ADSI hang.

2005-10-06 Thread Jeff Fisher
> Well I ran it w/o problem. Under what are you running it? (IDLE, Python > command prompt, ...??) > What is the evidence that it hangs? I'm running it from a command prompt typing: python iisdigger.py Evidence it hangs? It starts, seems to run fully, and then python never ends. I let it sit for

Re: [python-win32] Weird ADSI hang.

2005-10-06 Thread bob
At 08:51 PM 10/5/2005, Jeff Fisher TEST wrote: >Hi all, > >I'm rather frustrated by an issue I'm having. > >This sample bit of code runs fine; however, at the end just hangs and the >program never ends. I'm using Python 2.3.2 (from ActiveState - build 232) > >BEGIN CODE > >import win32com.client >

[python-win32] Service problem - can't find stop method of object

2005-10-06 Thread Paul Moore
This is a very odd problem. I have a module that I want to package up as a service - it has a "Registry" class, with mainloop and stop methods (the former sits in an infinite loop, the latter signals the loop to terminate). I am trying to package this up as a simple service, as follows: import win

Re: [python-win32] Weird ADSI hang.

2005-10-06 Thread Jeff Fisher
> Any ideas? I will try upgrading to Python 2.3.5 (from ActiveState) > tomorrow and see if that makes any difference. Just did the upgrade and I'm seeing the same hang at the end of the program. Jeff signature.asc Description: OpenPGP digital signature __

Re: [python-win32] Load PDF

2005-10-06 Thread Michel Claveau
Hi ! Try, with the src property, like : import win32com.client test = win32com.client.Dispatch("AcroPDF.PDF.1") test.src="C:\\107.pdf" test.LoadFile("C:\\107.pdf") print test.GetVersions() etc. @-salutations Michel Claveau ___