Projet

Général

Profil

Bug #15239

wscall et erreur à la connexion

Ajouté par Frédéric Péters il y a environ 7 ans. Mis à jour il y a plus de 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
05 mars 2017
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

Exception:
  type = '<type 'exceptions.UnboundLocalError'>', value = 'local variable 'response' referenced before assignment'

Stack trace (most recent call first):
  File "/usr/lib/python2.7/dist-packages/wcs/wf/wscall.py", line 263, in perform
   261
   262         app_error_code = 0
>  263         app_error_code_header = response.getheader('x-error-code')
   264         if app_error_code_header:
   265             # result is good only if header value is '0'

  locals:
     status = 0
     app_error_code = 0
     formdata = <Eclairage-Public 'Eclairage public - n\xc2\xb012-428' id:428>
     e = ConnectionError()
     self = <wcs.wf.wscall.WebserviceCallStatusItem object at 0x7fbdd4b117d0>

Fichiers

Révisions associées

Révision 6b2ce5c7 (diff)
Ajouté par Frédéric Péters il y a environ 7 ans

workflows: correctly pass over wscall connection errors (#15239)

Historique

#1

Mis à jour par Frédéric Péters il y a environ 7 ans

#2

Mis à jour par Thomas Noël il y a environ 7 ans

Ack, bien sur. Merci.

#3

Mis à jour par Frédéric Péters il y a environ 7 ans

  • Statut changé de En cours à Résolu (à déployer)
commit 6b2ce5c75039ed8707dd773375f049eada3570a0
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Sun Mar 5 09:31:43 2017 +0100

    workflows: correctly pass over wscall connection errors (#15239)
#4

Mis à jour par Frédéric Péters il y a plus de 5 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF