Projet

Général

Profil

Bug #22484

OverflowError: signed integer is greater than maximum

Ajouté par Frédéric Péters il y a environ 6 ans. Mis à jour il y a plus de 5 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Version cible:
-
Début:
13 mars 2018
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

  File "/usr/lib/python2.7/dist-packages/combo/apps/lingo/manager_views.py", line 73, in get_queryset
    date = date_parser.parse(query, dayfirst=True)
  File "/usr/lib/python2.7/dist-packages/dateutil/parser.py", line 748, in parse
    return DEFAULTPARSER.parse(timestr, **kwargs)
  File "/usr/lib/python2.7/dist-packages/dateutil/parser.py", line 320, in parse
    ret = default.replace(**repl)
OverflowError: signed integer is greater than maximum

Request repr():
<WSGIRequest
path:/manage/lingo/transactions/,
GET:<QueryDict: {u'q': [u'3965552630']}>,

Fichiers

Révisions associées

Révision 89c248ae (diff)
Ajouté par Frédéric Péters il y a environ 6 ans

lingo: do not crash on strings dateutil cannot parse (#22484)

Historique

#1

Mis à jour par Frédéric Péters il y a environ 6 ans

#2

Mis à jour par Serghei Mihai il y a environ 6 ans

Ack.

#3

Mis à jour par Frédéric Péters il y a environ 6 ans

  • Statut changé de En cours à Résolu (à déployer)
commit 89c248aea3bb69a43a0cafdcb8dce796755f3471
Author: Frédéric Péters <fpeters@entrouvert.com>
Date:   Tue Mar 13 11:10:28 2018 +0100

    lingo: do not crash on strings dateutil cannot parse (#22484)
#4

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

Formats disponibles : Atom PDF