Projet

Général

Profil

Development #44722

''BlockdefImportError' object has no attribute 'msg_args''

Ajouté par Thomas Noël il y a presque 4 ans. Mis à jour il y a presque 4 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
02 juillet 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Exception:
  type = '<class 'AttributeError'>', value = ''BlockdefImportError' object has no attribute 'msg_args''

Stack trace (most recent call first):
  File "/usr/lib/python3/dist-packages/wcs/admin/blocks.py", line 230, in import_submit
   228         except BlockdefImportError as e:
   229             error = True
>  230             reason = _(e) % e.msg_args
   231         except ValueError:
   232             error = True

  locals:
     error = True
     form = <wcs.qommon.form.Form object at 0x7f65e6297cf8>
     fp = <_io.BytesIO object at 0x7f65e62acf10>
     reason = None
     self = <wcs.admin.blocks.BlocksDirectory object at 0x7f65e9223eb8>


Fichiers

Révisions associées

Révision 9740299b (diff)
Ajouté par Thomas Noël il y a presque 4 ans

admin/blocks: use msg and details import error attributes (#44722)

Historique

#1

Mis à jour par Thomas Noël il y a presque 4 ans

#2

Mis à jour par Frédéric Péters il y a presque 4 ans

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

Mis à jour par Thomas Noël il y a presque 4 ans

  • Statut changé de Solution validée à Résolu (à déployer)
commit 9740299b6687fce212ebf019d884fe195ff8951f
Author: Thomas NOËL <tnoel@entrouvert.com>
Date:   Thu Jul 2 10:14:48 2020 +0200

    admin/blocks: use msg and details import error attributes (#44722)

#4

Mis à jour par Frédéric Péters il y a presque 4 ans

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

Formats disponibles : Atom PDF