Projet

Général

Profil

Bug #53447

type = '<class 'AttributeError'>', value = 'module 'wcs.qommon.errors' has no attribute 'QueryError''

Ajouté par Frédéric Péters il y a environ 3 ans. Mis à jour il y a environ 3 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
27 avril 2021
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Exception:
  type = '<class 'AttributeError'>', value = 'module 'wcs.qommon.errors' has no attribute 'QueryError''

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/auquotidien/modules/payments.py", line 616, in init
   614         for invoice_id in invoice_ids:
   615             if not Invoice.check_crc(invoice_id):
>  616                 raise errors.QueryError()
   617
   618         url = get_publisher().get_frontoffice_url() + '/payment/back/'


Fichiers

Révisions associées

Révision b4175faa (diff)
Ajouté par Frédéric Péters il y a environ 3 ans

import QueryError from quixote (#53447)

Historique

#1

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

le QueryError se trouvait dans qommon.errors importé en vrac avant, ça a été nettoyé pour pylint, le voici explicitement importé ici.

#2

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

  • Statut changé de Solution proposée à Solution validée
#3

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

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

Avec la référence au ticket que j'avais oubliée dans le patch attaché,

commit b4175faa79ebb2d19006ad0af0467153d370bb89
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Tue Apr 27 08:13:39 2021 +0200

    import QueryError from quixote (#53447)
#4

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

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

Formats disponibles : Atom PDF