[Pywps-devel] pyWPS

Jachym Cepicky jachym.cepicky at gmail.com
Thu Sep 4 17:54:46 CEST 2008


Hi,

huh, you are probably the first one, who tryes this on vista. First of
all, I would like to ask you, if you could try latest svn version.
There are some improvements, it should be WPS 1.0.0 complain, more
save and easier to setup.


the problem

[Error 32] Der Prozess kann nicht auf die Datei zugreifen, da sie von
> einem anderen Prozess verwendet wird:
> 'c:\\\\ms4w\\\\tmp\\\\pywps-pidfile-plsnlz'\


occurs only, when the processing is done (or failed) and pywps tries
to clean all temporary files. hmm did you run this with status=true
and store=true?

jachym

P.S. German is no problem for me


2008/9/4 Ziegler Stefan <Stefan.Ziegler at bd.so.ch>:
> Hi
> I'm trying to install pyWPS on a Windows Vista machine. I copied the
> existing "shape to gml" process and modified it to a "gml to gml" process
> (just for testing...). DescribeProcess is working but the execute process
> ends with the following error:
> <ExecuteResponse version="0.4.0"
> xsi:schemaLocation="http://www.opengeospatial.net/wps
> http://www.ogcnetwork.net/schemas/wps/0.4.0/wpsExecute.xsd">
> <ows:Identifier>stefan</ows:Identifier>
> -
> <Status>
> -
> <ProcessFailed>
> -
> <ows:ExceptionReport verion="1.0">
> -
> <ows:Exception exceptionCode="NoAplicableCode">
> <ows:ExceptionText>Output file not created</ows:ExceptionText>
> </ows:Exception>
> </ows:ExceptionReport>
> </ProcessFailed>
> </Status>
> </ExecuteResponse>
> Looking at the execute method in the process file:
> def execute(self):
> if os.system("c:\fwtools2.2.6\bin\ogr2ogr -f gml out.xml %s 1>&2" %
> (self.DataInputs['bdbed'])):
> return "Could not convert vector file"
> if "out.xml" in os.listdir(os.curdir):
> self.Outputs[0]['value'] = "out.xml"
> return
> else:
> return "Output file not created"
> As far as I understand the code it does not find the out.xml int the
> directory. The process creates the tmpXXXXXXX directory. So the error.log of
> apache gives me these lines:
> [Tue Sep 02 20:56:44 2008] [error] [client 127.0.0.1] PyWPS debug 0:
> {'service': 'wps', 'request': 'execute', 'version': '1.0.0',
> 'datainputs': {'bdbed': 'http://localhost/www/tmp/av_2446.gml'},
> 'identifier': ['stefan'], 'store': 'true'}\r
> [Tue Sep 02 20:56:44 2008] [error] [client 127.0.0.1] PyWPS Warning:
> Execute.execute failed with KeyError: 'status'\r
> execute()\r
> [Tue Sep 02 20:56:44 2008] [error] [client 127.0.0.1] PyWPS Warning:
> [Error 32] Der Prozess kann nicht auf die Datei zugreifen, da sie von
> einem anderen Prozess verwendet wird:
> 'd:\\\\www\\\\tmp\\\\tmppywpsjo6zgq'Traceback (most recent call
> last):\r
> [Tue Sep 02 20:56:44 2008] [error] [client 127.0.0.1] File
> "C:/ms4w/Apache/cgi-bin/wps.py", line 348, in <module>\r
> [Tue Sep 02 20:56:44 2008] [error] [client 127.0.0.1] wps.PerformRequest()\r
> [Tue Sep 02 20:56:44 2008] [error] [client 127.0.0.1] File
> "C:/ms4w/Apache/cgi-bin/wps.py", line 227, in PerformRequest\r
> [Tue Sep 02 20:56:44 2008] [error] [client 127.0.0.1] self.Execute()\r
> [Tue Sep 02 20:56:44 2008] [error] [client 127.0.0.1] File
> "C:/ms4w/Apache/cgi-bin/wps.py", line 318, in Execute\r
> [Tue Sep 02 20:56:44 2008] [error] [client 127.0.0.1]
> os.remove(PIDFile[1])\r
> [Tue Sep 02 20:56:44 2008] [error] [client 127.0.0.1] WindowsError:
> [Error 32] Der Prozess kann nicht auf die Datei zugreifen, da sie von
> einem anderen Prozess verwendet wird:
> 'c:\\\\ms4w\\\\tmp\\\\pywps-pidfile-plsnlz'\r
> I don't know if the [Error32]-errors are important (translation: "the
> process cannot access the file, since it's used by an other process")? Could
> it be a Vista permission problem or did I miss something? Has anybody tried
> to run pyWPS on a Windows machine? Thanks for any help.
> regards
> Stefan
> Mit freundlichem Gruss
> Stefan Ziegler
> Leiter Aufsicht
> Kanton Solothurn
> Bau- und Justizdepartement
> Amt für Geoinformation
> Rötistrasse 4
> 4501 Solothurn
> Telefon 032 627 75 96
> Telefax 032 627 75 98
> stefan.ziegler at bd.so.ch
> http://www.so.ch
> _______________________________________________
> Pywps-devel mailing list
> Pywps-devel at wald.intevation.org
> http://lists.wald.intevation.org/mailman/listinfo/pywps-devel
>
>



-- 
Jachym Cepicky
e-mail: jachym.cepicky gmail com
URL: http://les-ejk.cz
GPG: http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub


More information about the Pywps-devel mailing list