Bug #53447
type = '<class 'AttributeError'>', value = 'module 'wcs.qommon.errors' has no attribute 'QueryError''
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
Historique
Mis à jour par Frédéric Péters il y a environ 3 ans
- Fichier 0001-import-QueryError-from-quixote.patch 0001-import-QueryError-from-quixote.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
le QueryError se trouvait dans qommon.errors importé en vrac avant, ça a été nettoyé pour pylint, le voici explicitement importé ici.
Mis à jour par Thomas Noël il y a environ 3 ans
- Statut changé de Solution proposée à Solution validée
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)
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
import QueryError from quixote (#53447)