[Gfoss] problema pyWPS

luca.casagrande a gmail.com luca.casagrande a gmail.com
Lun 10 Gen 2011 11:57:32 CET


Ciao,
la richiesta del DescribeProcess funziona ?

Luca

Il 10 gennaio 2011 11:46, Damiano Natali <damiano.natali a 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 a gmail.com
> skype damiano.natali
>
>
>
> _______________________________________________
> Iscriviti all'associazione GFOSS.it: http://www.gfoss.it/drupal/iscrizione
> Gfoss a 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


Maggiori informazioni sulla lista Gfoss