Re: [python-win32] activate an opened window through the server

2009-04-24 Thread belaqziz salwa
an opened window through the server À: python-win32 python-win32@python.org Date: Vendredi 24 Avril 2009, 1h34 belaqziz salwa wrote: yes my IDL script produces an image file, i want just execute this progmam, and not to send an HTML image. how can i do that ? You'll have to dig into PyWPS

Re: [python-win32] activate an opened window through the server

2009-04-24 Thread Tim Roberts
belaqziz salwa wrote: I used subprocess.call but I had the following message: Could not import process : (-2147217405, 'OLE error 0x80041003', None, None) ** I added this code to my process: cmd = 'idlde.exe -minimized -nodemowarn -noconfirmexit -nosplash @C:\SAMIR\soil.run'

[python-win32] activate an opened window through the server

2009-04-23 Thread belaqziz salwa
I try to run a program in an interface that is already opened, all works well through the Command Prompt but when I run my python script in the server e.g http://localhost/MyScript.py it gives me the following message: pywintypes.error: (0, 'EnumWindows', 'No error message is available') thanks

Re: [python-win32] activate an opened window through the server

2009-04-23 Thread Tim Roberts
belaqziz salwa wrote: I try to run a program in an interface that is already opened, all works well through the Command Prompt but when I run my python script in the server e.g http://localhost/MyScript.py it gives me the following message: pywintypes.error: (0, 'EnumWindows', 'No error

[python-win32] activate an opened window through the server

2009-04-23 Thread belaqziz salwa
but it is not possible is there a solution ?? thanks for help   --- En date de : Jeu 23.4.09, Tim Roberts t...@probo.com a écrit : De: Tim Roberts t...@probo.com Objet: Re: [python-win32] activate an opened window through the server À: Python-Win32 List python-win32@python.org Date: Jeudi 23

Re: [python-win32] activate an opened window through the server

2009-04-23 Thread Tim Roberts
belaqziz salwa wrote: I want, through a python script, to run a program that is written in another language (IDL: Interactive Data Language), I tried to execute a .bat file where I put my command which runs the program but I get the error message: permission denied, then I thought to another

[python-win32] activate an opened window through the server

2009-04-23 Thread belaqziz salwa
? thanks for help. --- En date de : Jeu 23.4.09, Tim Roberts t...@probo.com a écrit : De: Tim Roberts t...@probo.com Objet: Re: [python-win32] activate an opened window through the server À: Python-Win32 List python-win32@python.org Date: Jeudi 23 Avril 2009, 23h54 belaqziz salwa wrote: I want

Re: [python-win32] activate an opened window through the server

2009-04-23 Thread Tim Roberts
belaqziz salwa wrote: I work on a PyWPS project and I need to run an IDL program , after the user completed a form, if I create a program .pro with the command that launches my program, like this idlde.exe -minimized -nodemowarn -noconfirmexit -nosplash @C:\SAMIR\soil.run how can I run it

[python-win32] activate an opened window through the server

2009-04-23 Thread belaqziz salwa
yes my IDL script produces an image file, i want just execute this progmam, and not to send an HTML image. how can i do that ? thanks for help.   --- En date de : Ven 24.4.09, Tim Roberts t...@probo.com a écrit : De: Tim Roberts t...@probo.com Objet: Re: [python-win32] activate an opened

Re: [python-win32] activate an opened window through the server

2009-04-23 Thread Tim Roberts
belaqziz salwa wrote: yes my IDL script produces an image file, i want just execute this progmam, and not to send an HTML image. how can i do that ? You'll have to dig into PyWPS for the details, but I think your PyWPS script just needs to run idlde.exe as a separate process, using that