Projet

Général

Profil

Bug #75699

import CSV événements : Error: new-line character seen in unquoted field - do you need to open the file in universal-newline mode?

Ajouté par Sentry Io il y a environ un an. Mis à jour il y a environ un an.

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

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

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

Error: new-line character seen in unquoted field - do you need to open the file in universal-newline mode?
(7 additional frame(s) were not displayed)
...
  File "django/forms/forms.py", line 175, in is_valid
    return self.is_bound and not self.errors
  File "django/forms/forms.py", line 170, in errors
    self.full_clean()
  File "django/forms/forms.py", line 372, in full_clean
    self._clean_fields()
  File "django/forms/forms.py", line 393, in _clean_fields
    value = getattr(self, 'clean_%s' % name)()
  File "chrono/manager/forms.py", line 1147, in clean_events_csv_file
    for i, csvline in enumerate(csv.reader(StringIO(content), dialect=dialect)):

Historique

#1

Mis à jour par Frédéric Péters il y a environ un an

  • Projet changé de Suivi des traces à Chrono

Formats disponibles : Atom PDF