Projet

Général

Profil

Bug #40857

ValueError: time data '21/07/1981' does not match format '%Y-%m-%d'

Ajouté par Sentry Io il y a environ 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Nouveau
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
20 mars 2020
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

https://sentry.entrouvert.org/entrouvert/publik/issues/991/

ValueError: time data '21/07/1981' does not match format '%Y-%m-%d'
(7 additional frame(s) were not displayed)
...
  File "rest_framework/fields.py", line 83, in get_attribute
    instance = getattr(instance, attr)
  File "authentic2/custom_user/models.py", line 94, in __getattr__
    return atv.to_python()
  File "authentic2/models.py", line 332, in to_python
    return deserialize(self.content)
  File "authentic2/attribute_kinds.py", line 244, in <lambda>
    'deserialize': lambda x: x and datetime.datetime.strptime(x, '%Y-%m-%d').date(),
  File "_strptime.py", line 332, in _strptime
    (data_string, format))

error in provisionning thread

Historique

#1

Mis à jour par Lauréline Guérin il y a environ 4 ans

  • Projet changé de Suivi des traces à Authentic 2

Formats disponibles : Atom PDF