Projet

Général

Profil

Bug #32259

crash sur absence de catégorie (?)

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

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

0%

Temps estimé:
Patch proposed:
Oui
Planning:
Non

Description

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/wcs_olap/cmd.py", line 112, in main2
    feeder.feed()
  File "/usr/lib/python2.7/dist-packages/wcs_olap/feeder.py", line 499, in feed
    self.do_base_table()
  File "/usr/lib/python2.7/dist-packages/wcs_olap/feeder.py", line 440, in do_base_table
    'category', enumerate(c.name for c in self.categories), comment=u'catégorie')
  File "/usr/lib/python2.7/dist-packages/wcs_olap/feeder.py", line 399, in create_labeled_table
    self.ex(query_str, ctx={'name': name}, vars=list(itertools.chain(*labels)))
  File "/usr/lib/python2.7/dist-packages/wcs_olap/feeder.py", line 306, in ex
    self.cur.execute(sql, vars=vars)
ProgrammingError: syntax error at end of input
LIGNE 1 : INSERT INTO category (id, label) VALUES
                                                  ^

Fichiers

Révisions associées

Révision f628a6b6 (diff)
Ajouté par Frédéric Péters il y a environ 5 ans

convert enumerate/generator into list before checking it't not empty (#32259)

Historique

#1

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

(patch posé sur la prod)

#2

Mis à jour par Benjamin Dauvergne il y a environ 5 ans

  • Statut changé de Solution proposée à Solution validée
#3

Mis à jour par Christophe Siraut il y a environ 5 ans

  • Statut changé de Solution validée à Résolu (à déployer)

poussé

#4

Mis à jour par Frédéric Péters il y a presque 5 ans

  • Statut changé de Résolu (à déployer) à Solution déployée

Formats disponibles : Atom PDF