Bug #27781
ezt, 'LazyFieldVar' object has no attribute 'lower'
Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
06 novembre 2018
Echéance:
% réalisé:
0%
Temps estimé:
Patch proposed:
Oui
Planning:
Description
Exception: type = '<type 'exceptions.AttributeError'>', value = ''LazyFieldVar' object has no attribute 'lower'' Stack trace (most recent call first): File "/usr/lib/python2.7/string.py", line 228, in lower 226 227 """ > 228 return s.lower() 229 230 # Convert lower case letters to UPPER CASE locals: s = <wcs.variables.LazyFieldVar object at 0x7f60a15faed0> File "/usr/lib/python2.7/dist-packages/wcs/qommon/ezt.py", line 541, in _cmd_is 539 value = string.lower(_get_value(left_ref, ctx)) == string.lower(value) 540 except UnknownReference: > 541 value = False 542 self._do_if(value, t_section, f_section, fp, ctx) 543 locals: args = ([('form_var_type_probleme', 'form_var_type_probleme', []), (None, 'foo', None)], None, [' ']) ctx = <wcs.qommon.ezt._context instance at 0x7f60a199bab8> f_section = [' '] fp = <cStringIO.StringO object at 0x7f60a17f5030> left_ref = ('form_var_type_probleme', 'form_var_type_probleme', []) right_ref = (None, 'foo', None) self = <wcs.qommon.ezt.Template instance at 0x7f60a199b9e0> t_section = None value = 'foo'
Fichiers
Révisions associées
Historique
Mis à jour par Frédéric Péters il y a plus de 5 ans
- Fichier 0001-misc-fix-ezt-is-.-usage-with-lazy-field-variables-27.patch 0001-misc-fix-ezt-is-.-usage-with-lazy-field-variables-27.patch ajouté
- Statut changé de Nouveau à Solution proposée
- Patch proposed changé de Non à Oui
Mis à jour par Thomas Noël il y a plus de 5 ans
- Statut changé de Solution proposée à Solution validée
Mis à jour par Frédéric Péters il y a plus de 5 ans
- Statut changé de Solution validée à Résolu (à déployer)
commit fb712e774305f9fbe2182a9ea01fcbb6d3e847a8 Author: Frédéric Péters <fpeters@entrouvert.com> Date: Tue Nov 6 12:42:08 2018 +0100 misc: fix ezt [is ...] usage with lazy field variables (#27781)
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
misc: fix ezt [is ...] usage with lazy field variables (#27781)