Bug #3866
Errors creating objects cannot be displayed
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
23 octobre 2013
Echéance:
% réalisé:
100%
Temps estimé:
Patch proposed:
Planning:
Description
The binding does a raise Error('failed to create object') but the local Error exception class expects a lasso error code, and will thus fail if printed.
File ".../lasso.py", line 54, in __str__ return '<lasso.%s(%s): %s>' % (self.__class__.__name__, self.code, _lasso.strError(self.code)) TypeError: an integer is required
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a plus de 10 ans
Mis à jour par Frédéric Péters il y a plus de 10 ans
- Statut changé de Nouveau à Résolu (à déployer)
- % réalisé changé de 0 à 100
Appliqué par commit 080548538d4e2622c04f1a5f9370d8c1889c2959.
Mis à jour par Benjamin Dauvergne il y a plus de 10 ans
- Statut changé de Résolu (à déployer) à Fermé
python: do not fail displaying a non-C error (fixes #3866)
The binding does a raise Error('failed to create object') but the local Error
exception class expects a lasso error code, and will thus fail if printed.