Bug #14732
calvados : Error 500 lors de la recuperation des communes depuis le referentiel solis
Statut:
En cours
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
23 janvier 2017
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Non
Planning:
Description
ValueError at /solis-apa/calvados/lieux/ conciliation ws: error code 500 Request Method: GET Request URL: https://passerelle-calvados.entrouvert.org/solis-apa/calvados/lieux/?commune=null&apikey=523e074b4fe372d202f8af22f5d6d37fd55&q=b&page_limit=10 Django Version: 1.7.11 Exception Type: ValueError Exception Value: conciliation ws: error code 500 Exception Location: /usr/lib/python2.7/dist-packages/passerelle/contrib/solis_apa/models.py in _conciliation, line 132 Python Executable: /usr/bin/python Python Version: 2.7.9 Python Path: ['/', '/usr/bin', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/passerelle/apps'] name 'adresse' url u'https://www.calvados.fr/pfi/rest/pfi/conciliation' data '{"ConciliationInputWS": {"Input": {"Criteria": {"Criterium": [{"value": "null", "key": "Commune/PK/CodeCommune/@V"}, {"value": "%b%", "key": "NomLieu/@V"}, {"value": null, "key": "Commune/PK/CodeDepartement/@V"}]}, "Settings": {"Setting": [{"affinity": 5, "Criterium": [{"operator": "equal", "key": "Commune/PK/CodeCommune/@V"}, {"operator": "matches", "key": "NomLieu/@V"}, {"operator": "equal", "key": "Commune/PK/CodeDepartement/@V"}]}]}}, "Block": {"name": "Adresse", "PrimaryKey": {"key": ["CodeLieu/@V"]}}, "Output": {"ReturnDatas": {"returnData" ;: ["CodeLieu/@V", "NatureLieu/@Lc", "NomLieu/@V", "CodePostal/@V", "Commune/PK/CodeCommune/@V", "Commune/NomCom/@V", "CodeDepartement/@V"]}}}}' self <SolisAPA: Solis> uri 'conciliation' config {'block': {'name': 'Adresse', 'pk': 'CodeLieu/@V'}, 'criteria': {5: ({'Commune/PK/CodeCommune/@V': 'equal', 'Commune/PK/CodeDepartement/@V': 'equal', 'NomLieu/@V': 'matches'},)}, 'input': {'Commune/PK/CodeCommune/@V': 'commune', 'Commune/PK/CodeDepartement/@V': 'departement', 'NomLieu/@V': 'lieu'}, 'output': ['CodeLieu/@V', 'NatureLieu/@Lc', 'NomLieu/@V', 'CodePostal/@V', 'Commune/PK/CodeCommune/@V', 'Commune/NomCom/@V', 'CodeDepartement/@V']} response <Response [500]>
Historique
Mis à jour par Josué Kouka il y a environ 7 ans
- Statut changé de Nouveau à Rejeté
commune=null
entraine une reponse differente de 200 du referentiel, d'ou l'erreur 500
Mis à jour par Frédéric Péters il y a environ 7 ans
Et donc, c'est quelque chose qui était mal configuré quelque part, ou bien juste c'est "normal" d'avoir parfois une erreur 500 là-bas et on décide de vivre avec et faire pareil dans passerelle ?