[Gfoss] problema pyWPS

Ciao a tutti,
direi di essere riuscito ad installare i moduli mancanti al funzionamento della pyWPS. Nonostante questo, però, ora ottengo un nuovo messaggio sulla pagina del browser (Firefox) quando cerco di collegarmi a

http://localhost/cgi-bin/mywps?service=wps&request=execute&version=1.0.0&identifier=gpsplanning&datainputs=user=bigmouth;day=23;month=Jun;year=2010;hour=08;minute=04;west=1660446.116178;east=1665385.0024;south=5101950.1981;north=5104483.141177;duration=1;res=40;almanac=GPS:

ottengo come errore

XML Parsing Error: junk after document element
Location: http://localhost/cgi-bin/mywps?
Line Number 10, Column 1:Content-type: text/xml
^

mentre sul log di apache ottengo

[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS Debug: {‘responseform’: {‘rawdataoutput’: {}, ‘responsedocument’: {}}, ‘service’: ‘WPS’, ‘language’: ‘eng’, ‘request’: ‘execute’, ‘version’: ‘1.0.0’, ‘datainputs’: [{‘identifier’: ‘user’, ‘value’: ‘bigmouth’}, {‘identifier’: ‘day’, ‘value’: ‘23’}, {‘identifier’: ‘month’, ‘value’: ‘Jun’}, {‘identifier’: ‘year’, ‘value’: ‘2010’}, {‘identifier’: ‘hour’, ‘value’: ‘08’}, {‘identifier’: ‘minute’, ‘value’: ‘04’}, {‘identifier’: ‘west’, ‘value’: ‘1660446.116178’}, {‘identifier’: ‘east’, ‘value’: ‘1665385.0024’}, {‘identifier’: ‘south’, ‘value’: ‘5101950.1981’}, {‘identifier’: ‘north’, ‘value’: ‘5104483.141177’}, {‘identifier’: ‘duration’, ‘value’: ‘1’}, {‘identifier’: ‘res’, ‘value’: ‘40’}, {‘identifier’: ‘almanac’, ‘value’: ‘GPS’}], ‘identifier’: ‘gpsplanning’}
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] INIT DONE
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS Debug: PYWPS_PROCESSES set from environment variable to /var/www/html/planning/pywps-3.1.0/pywps/processes/
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] LOADING PRECOMPILED
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] TEMPLATE: NOT UPTODATE: /var/www/pywps-3.1.0/pywps/Templates/1_0_0/Execute.tmpl
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PRECOMPILED: NOT UPTODATE
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] UPDATE
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] COMPILING FROM FILE: /var/www/pywps-3.1.0/pywps/Templates/1_0_0/Execute.tmpl
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] READING: /var/www/pywps-3.1.0/pywps/Templates/1_0_0/Execute.tmpl
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] /var/www/html/planning/pywps-3.1.0/pywps/Exceptions.py:79: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] self.message = value
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS NoApplicableCode: None
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS NoApplicableCode: None
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] Traceback (most recent call last):
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] File “/var/www/html/planning/pywps-3.1.0/wps.py”, line 248, in
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] wps = WPS()
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] File “/var/www/html/planning/pywps-3.1.0/wps.py”, line 143, in init
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] self.performRequest()
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] File “/var/www/html/planning/pywps-3.1.0/wps.py”, line 215, in performRequest
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] self.request = Execute(self)
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] File “/var/www/html/planning/pywps-3.1.0/pywps/Wps/Execute.py”, line 92, in init
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] raise self.wps.exceptions.NoApplicableCode(e.str())
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] pywps.Exceptions
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] .
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] NoApplicableCode
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS NoApplicableCode: None
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]

qualcuno può darmi un consiglio di quello che posso provare a modificare?

grazie in anticipo,
Damiano

Damiano Natali
mail damiano.natali@gmail.com
skype damiano.natali

Ciao,
la richiesta del DescribeProcess funziona ?

Luca

Il 10 gennaio 2011 11:46, Damiano Natali <damiano.natali@gmail.com> ha scritto:

Ciao a tutti,
direi di essere riuscito ad installare i moduli mancanti al funzionamento
della pyWPS. Nonostante questo, però, ora ottengo un nuovo messaggio sulla
pagina del browser (Firefox) quando cerco di collegarmi a

http://localhost/cgi-bin/mywps?service=wps&request=execute&version=1.0.0&identifier=gpsplanning&datainputs=user=bigmouth;day=23;month=Jun;year=2010;hour=08;minute=04;west=1660446.116178;east=1665385.0024;south=5101950.1981;north=5104483.141177;duration=1;res=40;almanac=GPS:

ottengo come errore

XML Parsing Error: junk after document element
Location: http://localhost/cgi-bin/mywps?
Line Number 10, Column 1:Content-type: text/xml
^

mentre sul log di apache ottengo

[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS Debug:
{'responseform': {'rawdataoutput': {}, 'responsedocument': {}}, 'service':
'WPS', 'language': 'eng', 'request': 'execute', 'version': '1.0.0',
'datainputs': [{'identifier': 'user', 'value': 'bigmouth'}, {'identifier':
'day', 'value': '23'}, {'identifier': 'month', 'value': 'Jun'},
{'identifier': 'year', 'value': '2010'}, {'identifier': 'hour', 'value':
'08'}, {'identifier': 'minute', 'value': '04'}, {'identifier': 'west',
'value': '1660446.116178'}, {'identifier': 'east', 'value': '1665385.0024'},
{'identifier': 'south', 'value': '5101950.1981'}, {'identifier': 'north',
'value': '5104483.141177'}, {'identifier': 'duration', 'value': '1'},
{'identifier': 'res', 'value': '40'}, {'identifier': 'almanac', 'value':
'GPS'}], 'identifier': 'gpsplanning'}
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] INIT DONE
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS Debug:
PYWPS_PROCESSES set from environment variable to
/var/www/html/planning/pywps-3.1.0/pywps/processes/
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] LOADING PRECOMPILED
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] TEMPLATE: NOT
UPTODATE: /var/www/pywps-3.1.0/pywps/Templates/1_0_0/Execute.tmpl
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PRECOMPILED: NOT
UPTODATE
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] UPDATE
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] COMPILING FROM FILE:
/var/www/pywps-3.1.0/pywps/Templates/1_0_0/Execute.tmpl
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] READING:
/var/www/pywps-3.1.0/pywps/Templates/1_0_0/Execute.tmpl
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
/var/www/html/planning/pywps-3.1.0/pywps/Exceptions.py:79:
DeprecationWarning: BaseException.message has been deprecated as of Python
2.6
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] self.message = value
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS
NoApplicableCode: None
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS
NoApplicableCode: None
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] Traceback (most recent
call last):
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] File
"/var/www/html/planning/pywps-3.1.0/wps.py", line 248, in <module>
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] wps = WPS()
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] File
"/var/www/html/planning/pywps-3.1.0/wps.py", line 143, in __init__
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] self.performRequest()
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] File
"/var/www/html/planning/pywps-3.1.0/wps.py", line 215, in performRequest
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] self.request =
Execute(self)
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] File
"/var/www/html/planning/pywps-3.1.0/pywps/Wps/Execute.py", line 92, in
__init__
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] raise
self.wps.exceptions.NoApplicableCode(e.__str__())
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] pywps.Exceptions
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] .
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] NoApplicableCode
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS
NoApplicableCode: None
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]

qualcuno può darmi un consiglio di quello che posso provare a modificare?

grazie in anticipo,
Damiano

--
Damiano Natali
mail damiano.natali@gmail.com
skype damiano.natali

_______________________________________________
Iscriviti all'associazione GFOSS.it: http://www.gfoss.it/drupal/iscrizione
Gfoss@lists.gfoss.it
http://lists.gfoss.it/cgi-bin/mailman/listinfo/gfoss
Questa e' una lista di discussione pubblica aperta a tutti.
Non inviate messaggi commerciali.
I messaggi di questa lista non rispecchiano necessariamente
le posizioni dell'Associazione GFOSS.it.
485 iscritti al 20.11.2010

--
Luca Casagrande
http://www.lucacasagrande.net
twitter: lucacasagrande

Ciao Luca,

innanzitutto grazie mille, dopodichè quando mi collego a

http://localhost/cgi-bin/mywps?service=wps&request=describeprocess&version=1.0.0&identifier=gpsplanning

ottengo come errore

XML Parsing Error: junk after document element
Location: http://localhost/cgi-bin/mywps?service=wps&request=describeprocess&version=1.0.0&identifier=gpsplanning
Line Number 10, Column 1:Content-type: text/xml
^

e nel log

[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] PyWPS Debug: {‘identifier’: [‘gpsplanning’], ‘version’: ‘1.0.0’, ‘request’: ‘describeprocess’, ‘language’: ‘eng’, ‘service’: ‘WPS’}
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] INIT DONE
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] PyWPS Debug: PYWPS_PROCESSES set from environment variable to /var/www/html/planning/pywps-3.1.0/pywps/processes/
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] LOADING PRECOMPILED
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] TEMPLATE: NOT UPTODATE: /var/www/pywps-3.1.0/pywps/Templates/1_0_0/DescribeProcess.tmpl
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] PRECOMPILED: NOT UPTODATE
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] UPDATE
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] COMPILING FROM FILE: /var/www/pywps-3.1.0/pywps/Templates/1_0_0/DescribeProcess.tmpl
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] READING: /var/www/pywps-3.1.0/pywps/Templates/1_0_0/DescribeProcess.tmpl
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] /var/www/html/planning/pywps-3.1.0/pywps/Exceptions.py:79: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] self.message = value
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] PyWPS NoApplicableCode: None
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] PyWPS NoApplicableCode: None
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] Traceback (most recent call last):
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] File “/var/www/html/planning/pywps-3.1.0/wps.py”, line 248, in
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] wps = WPS()
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] File “/var/www/html/planning/pywps-3.1.0/wps.py”, line 143, in init
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] self.performRequest()
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] File “/var/www/html/planning/pywps-3.1.0/wps.py”, line 212, in performRequest
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] self.request = DescribeProcess(self)
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] File “/var/www/html/planning/pywps-3.1.0/pywps/Wps/DescribeProcess.py”, line 48, in init
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] raise self.wps.exceptions.NoApplicableCode(e.str())
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] pywps.Exceptions
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] .
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] NoApplicableCode
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] PyWPS NoApplicableCode: None
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1]

ti viene mica in mente qualcosa?

Damiano

Il giorno 10 gennaio 2011 11:57, luca.casagrande@gmail.com <luca.casagrande@gmail.com> ha scritto:

Ciao,
la richiesta del DescribeProcess funziona ?

Luca

Il 10 gennaio 2011 11:46, Damiano Natali <damiano.natali@gmail.com> ha scritto:

Ciao a tutti,
direi di essere riuscito ad installare i moduli mancanti al funzionamento
della pyWPS. Nonostante questo, però, ora ottengo un nuovo messaggio sulla
pagina del browser (Firefox) quando cerco di collegarmi a

http://localhost/cgi-bin/mywps?service=wps&request=execute&version=1.0.0&identifier=gpsplanning&datainputs=user=bigmouth;day=23;month=Jun;year=2010;hour=08;minute=04;west=1660446.116178;east=1665385.0024;south=5101950.1981;north=5104483.141177;duration=1;res=40;almanac=GPS:

ottengo come errore

XML Parsing Error: junk after document element
Location: http://localhost/cgi-bin/mywps?
Line Number 10, Column 1:Content-type: text/xml
^

mentre sul log di apache ottengo

[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS Debug:
{‘responseform’: {‘rawdataoutput’: {}, ‘responsedocument’: {}}, ‘service’:
‘WPS’, ‘language’: ‘eng’, ‘request’: ‘execute’, ‘version’: ‘1.0.0’,
‘datainputs’: [{‘identifier’: ‘user’, ‘value’: ‘bigmouth’}, {‘identifier’:
‘day’, ‘value’: ‘23’}, {‘identifier’: ‘month’, ‘value’: ‘Jun’},
{‘identifier’: ‘year’, ‘value’: ‘2010’}, {‘identifier’: ‘hour’, ‘value’:
‘08’}, {‘identifier’: ‘minute’, ‘value’: ‘04’}, {‘identifier’: ‘west’,
‘value’: ‘1660446.116178’}, {‘identifier’: ‘east’, ‘value’: ‘1665385.0024’},
{‘identifier’: ‘south’, ‘value’: ‘5101950.1981’}, {‘identifier’: ‘north’,
‘value’: ‘5104483.141177’}, {‘identifier’: ‘duration’, ‘value’: ‘1’},
{‘identifier’: ‘res’, ‘value’: ‘40’}, {‘identifier’: ‘almanac’, ‘value’:
‘GPS’}], ‘identifier’: ‘gpsplanning’}
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] INIT DONE
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS Debug:
PYWPS_PROCESSES set from environment variable to
/var/www/html/planning/pywps-3.1.0/pywps/processes/
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] LOADING PRECOMPILED
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] TEMPLATE: NOT
UPTODATE: /var/www/pywps-3.1.0/pywps/Templates/1_0_0/Execute.tmpl
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PRECOMPILED: NOT
UPTODATE
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] UPDATE
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] COMPILING FROM FILE:
/var/www/pywps-3.1.0/pywps/Templates/1_0_0/Execute.tmpl
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] READING:
/var/www/pywps-3.1.0/pywps/Templates/1_0_0/Execute.tmpl
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
/var/www/html/planning/pywps-3.1.0/pywps/Exceptions.py:79:
DeprecationWarning: BaseException.message has been deprecated as of Python
2.6
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] self.message = value
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS
NoApplicableCode: None
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS
NoApplicableCode: None
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] Traceback (most recent
call last):
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] File
“/var/www/html/planning/pywps-3.1.0/wps.py”, line 248, in
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] wps = WPS()
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] File
“/var/www/html/planning/pywps-3.1.0/wps.py”, line 143, in init
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] self.performRequest()
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] File
“/var/www/html/planning/pywps-3.1.0/wps.py”, line 215, in performRequest
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] self.request =
Execute(self)
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] File
“/var/www/html/planning/pywps-3.1.0/pywps/Wps/Execute.py”, line 92, in
init
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] raise
self.wps.exceptions.NoApplicableCode(e.str())
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] pywps.Exceptions
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] .
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] NoApplicableCode
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS
NoApplicableCode: None
[Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]

qualcuno può darmi un consiglio di quello che posso provare a modificare?

grazie in anticipo,
Damiano


Damiano Natali
mail damiano.natali@gmail.com
skype damiano.natali


Iscriviti all’associazione GFOSS.it: http://www.gfoss.it/drupal/iscrizione
Gfoss@lists.gfoss.it
http://lists.gfoss.it/cgi-bin/mailman/listinfo/gfoss
Questa e’ una lista di discussione pubblica aperta a tutti.
Non inviate messaggi commerciali.
I messaggi di questa lista non rispecchiano necessariamente
le posizioni dell’Associazione GFOSS.it.
485 iscritti al 20.11.2010


Luca Casagrande
http://www.lucacasagrande.net
twitter: lucacasagrande

Damiano Natali
mail damiano.natali@gmail.com
skype damiano.natali

Potrebbe essere un problema di Template:
- chmod 777 /usr/local/pywps-VERSION/pywps/Templates/1_0_0

Cmq ti consiglio di passare alla trunk che ha sistemato parecchie cose.

Luca

Il 10 gennaio 2011 12:01, Damiano Natali <damiano.natali@gmail.com> ha scritto:

Ciao Luca,

innanzitutto grazie mille, dopodichè quando mi collego a

http://localhost/cgi-bin/mywps?service=wps&request=describeprocess&version=1.0.0&identifier=gpsplanning

ottengo come errore

XML Parsing Error: junk after document element
Location:
http://localhost/cgi-bin/mywps?service=wps&request=describeprocess&version=1.0.0&identifier=gpsplanning
Line Number 10, Column 1:Content-type: text/xml
^

e nel log

[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] PyWPS Debug:
{'identifier': ['gpsplanning'], 'version': '1.0.0', 'request':
'describeprocess', 'language': 'eng', 'service': 'WPS'}
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] INIT DONE
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] PyWPS Debug:
PYWPS_PROCESSES set from environment variable to
/var/www/html/planning/pywps-3.1.0/pywps/processes/
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] LOADING PRECOMPILED
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] TEMPLATE: NOT
UPTODATE: /var/www/pywps-3.1.0/pywps/Templates/1_0_0/DescribeProcess.tmpl
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] PRECOMPILED: NOT
UPTODATE
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] UPDATE
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] COMPILING FROM FILE:
/var/www/pywps-3.1.0/pywps/Templates/1_0_0/DescribeProcess.tmpl
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] READING:
/var/www/pywps-3.1.0/pywps/Templates/1_0_0/DescribeProcess.tmpl
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1]
/var/www/html/planning/pywps-3.1.0/pywps/Exceptions.py:79:
DeprecationWarning: BaseException.message has been deprecated as of Python
2.6
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] self.message = value
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] PyWPS
NoApplicableCode: None
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] PyWPS
NoApplicableCode: None
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] Traceback (most recent
call last):
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] File
"/var/www/html/planning/pywps-3.1.0/wps.py", line 248, in <module>
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] wps = WPS()
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] File
"/var/www/html/planning/pywps-3.1.0/wps.py", line 143, in __init__
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] self.performRequest()
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] File
"/var/www/html/planning/pywps-3.1.0/wps.py", line 212, in performRequest
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] self.request =
DescribeProcess(self)
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] File
"/var/www/html/planning/pywps-3.1.0/pywps/Wps/DescribeProcess.py", line 48,
in __init__
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1]
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] raise
self.wps.exceptions.NoApplicableCode(e.__str__())
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] pywps.Exceptions
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] .
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] NoApplicableCode
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1] PyWPS
NoApplicableCode: None
[Mon Jan 10 11:58:10 2011] [error] [client 127.0.0.1]

ti viene mica in mente qualcosa?

Damiano

Il giorno 10 gennaio 2011 11:57, luca.casagrande@gmail.com
<luca.casagrande@gmail.com> ha scritto:

Ciao,
la richiesta del DescribeProcess funziona ?

Luca

Il 10 gennaio 2011 11:46, Damiano Natali <damiano.natali@gmail.com> ha
scritto:
> Ciao a tutti,
> direi di essere riuscito ad installare i moduli mancanti al
> funzionamento
> della pyWPS. Nonostante questo, però, ora ottengo un nuovo messaggio
> sulla
> pagina del browser (Firefox) quando cerco di collegarmi a
>
>
> http://localhost/cgi-bin/mywps?service=wps&request=execute&version=1.0.0&identifier=gpsplanning&datainputs=user=bigmouth;day=23;month=Jun;year=2010;hour=08;minute=04;west=1660446.116178;east=1665385.0024;south=5101950.1981;north=5104483.141177;duration=1;res=40;almanac=GPS:
>
> ottengo come errore
>
> XML Parsing Error: junk after document element
> Location: http://localhost/cgi-bin/mywps?
> Line Number 10, Column 1:Content-type: text/xml
> ^
>
> mentre sul log di apache ottengo
>
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS Debug:
> {'responseform': {'rawdataoutput': {}, 'responsedocument': {}},
> 'service':
> 'WPS', 'language': 'eng', 'request': 'execute', 'version': '1.0.0',
> 'datainputs': [{'identifier': 'user', 'value': 'bigmouth'},
> {'identifier':
> 'day', 'value': '23'}, {'identifier': 'month', 'value': 'Jun'},
> {'identifier': 'year', 'value': '2010'}, {'identifier': 'hour', 'value':
> '08'}, {'identifier': 'minute', 'value': '04'}, {'identifier': 'west',
> 'value': '1660446.116178'}, {'identifier': 'east', 'value':
> '1665385.0024'},
> {'identifier': 'south', 'value': '5101950.1981'}, {'identifier':
> 'north',
> 'value': '5104483.141177'}, {'identifier': 'duration', 'value': '1'},
> {'identifier': 'res', 'value': '40'}, {'identifier': 'almanac', 'value':
> 'GPS'}], 'identifier': 'gpsplanning'}
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] INIT DONE
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS Debug:
> PYWPS_PROCESSES set from environment variable to
> /var/www/html/planning/pywps-3.1.0/pywps/processes/
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] LOADING
> PRECOMPILED
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] TEMPLATE: NOT
> UPTODATE: /var/www/pywps-3.1.0/pywps/Templates/1_0_0/Execute.tmpl
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PRECOMPILED: NOT
> UPTODATE
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] UPDATE
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] COMPILING FROM
> FILE:
> /var/www/pywps-3.1.0/pywps/Templates/1_0_0/Execute.tmpl
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] READING:
> /var/www/pywps-3.1.0/pywps/Templates/1_0_0/Execute.tmpl
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
> /var/www/html/planning/pywps-3.1.0/pywps/Exceptions.py:79:
> DeprecationWarning: BaseException.message has been deprecated as of
> Python
> 2.6
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] self.message =
> value
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS
> NoApplicableCode: None
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS
> NoApplicableCode: None
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] Traceback (most
> recent
> call last):
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] File
> "/var/www/html/planning/pywps-3.1.0/wps.py", line 248, in <module>
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] wps = WPS()
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] File
> "/var/www/html/planning/pywps-3.1.0/wps.py", line 143, in __init__
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
> self.performRequest()
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] File
> "/var/www/html/planning/pywps-3.1.0/wps.py", line 215, in performRequest
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] self.request =
> Execute(self)
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] File
> "/var/www/html/planning/pywps-3.1.0/pywps/Wps/Execute.py", line 92, in
> __init__
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] raise
> self.wps.exceptions.NoApplicableCode(e.__str__())
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] pywps.Exceptions
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] .
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] NoApplicableCode
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1] PyWPS
> NoApplicableCode: None
> [Mon Jan 10 11:37:18 2011] [error] [client 127.0.0.1]
>
> qualcuno può darmi un consiglio di quello che posso provare a
> modificare?
>
> grazie in anticipo,
> Damiano
>
> --
> Damiano Natali
> mail damiano.natali@gmail.com
> skype damiano.natali
>
>
>
> _______________________________________________
> Iscriviti all'associazione GFOSS.it:
> http://www.gfoss.it/drupal/iscrizione
> Gfoss@lists.gfoss.it
> http://lists.gfoss.it/cgi-bin/mailman/listinfo/gfoss
> Questa e' una lista di discussione pubblica aperta a tutti.
> Non inviate messaggi commerciali.
> I messaggi di questa lista non rispecchiano necessariamente
> le posizioni dell'Associazione GFOSS.it.
> 485 iscritti al 20.11.2010
>

--
Luca Casagrande
http://www.lucacasagrande.net
twitter: lucacasagrande

--
Damiano Natali
mail damiano.natali@gmail.com
skype damiano.natali

--
Luca Casagrande
http://www.lucacasagrande.net
twitter: lucacasagrande