Projet

Général

Profil

Development #13376

Mis à jour par Frédéric Péters il y a plus de 7 ans

<pre>
Exception:
type = '<type 'exceptions.TypeError'>', value = 'coercing to Unicode: need string or buffer, NoneType found'

Stack trace (most recent call first):
File "/usr/lib/python2.7/dist-packages/wcs/fields.py", line 1443, in post_conditions_export_to_xml
1441 condition_node = ET.SubElement(conditions_node, 'post_condition')
1442 ET.SubElement(condition_node, 'condition').text = unicode(
> 1443 post_condition['condition'], charset, 'replace')
1444 ET.SubElement(condition_node, 'error_message').text = unicode(
1445 post_condition['error_message'], charset, 'replace')

locals:
node = <Element 'field' at 0x776b450>
post_condition = {'error_message': "L'inscription ne peut se faire qu'au sixi\xc3\xa8me mois de grossesse r\xc3\xa9volu.", 'condition': None} Non
e}

self = <wcs.fields.PageField object at 0x424e110>
charset = 'utf-8'
condition_node = <Element 'post_condition' at 0x7f2f7f78bed0>
conditions_node = <Element 'post_conditions' at 0x776bbd0>
include_id = True
</pre>

Retour