Projet

Général

Profil

Development #31667

erreur numéro de séquence à 0

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

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

0%

Temps estimé:
Patch proposed:
Oui
Planning:

Description

  File "/usr/lib/python2.7/dist-packages/wcs_olap/feeder.py", line 983, in feed
    self.do_data_table()
  File "/usr/lib/python2.7/dist-packages/wcs_olap/feeder.py", line 618, in do_data_table
    self.create_labeled_table_serial(table_name, comment=comment)
  File "/usr/lib/python2.7/dist-packages/wcs_olap/feeder.py", line 364, in create_labeled_table_serial
    (SELECT MAX(id) FROM {name}))""", ctx={'name': name})
  File "/usr/lib/python2.7/dist-packages/wcs_olap/feeder.py", line 306, in ex
    self.cur.execute(sql, vars=vars)
DataError: ERREUR:  setval : la valeur 0 est en dehors des limites de la séquence « formdata_proximite_demande_simple_field_domaine_id_seq »
(1..9223372036854775807)

Fichiers

Révisions associées

Révision 70a7271d (diff)
Ajouté par Benjamin Dauvergne il y a environ 5 ans

feeder: prevent reseting sequences to 0 (#31667)

Historique

#1

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

gnm_bijoe=> select * from formdata_proximite_demande_simple_field_domaine;
 id | label  
----+--------
  0 | Voirie
#3

Mis à jour par Emmanuel Cazenave il y a environ 5 ans

  • Statut changé de Nouveau à En cours
  • Assigné à mis à Emmanuel Cazenave
#4

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

  • Assigné à changé de Emmanuel Cazenave à Benjamin Dauvergne
#5

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

Au minimum prenons 1.

#6

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

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

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

  • Statut changé de Solution validée à Résolu (à déployer)
commit 70a7271d15f640ed137f90905e3995f02abea1e3
Author: Benjamin Dauvergne <bdauvergne@entrouvert.com>
Date:   Sat Mar 30 20:19:34 2019 +0100

    feeder: prevent reseting sequences to 0 (#31667)
#8

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

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

Formats disponibles : Atom PDF