Projet

Général

Profil

Bug #37649

Imports HS (la colonne anonymised n'existe pas)

Ajouté par Nicolas Roche il y a plus de 4 ans. Mis à jour il y a plus de 4 ans.

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

0%

Temps estimé:
Patch proposed:
Non
Planning:
Non

Description

[2019-11-14 10:26:43] exception caught
Exception:
  type = '<class 'psycopg2.ProgrammingError'>', value = 'ERREUR:  la colonne  anonymised  n'existe pas
LINE 1: ... criticality_level, geoloc_base_x, geoloc_base_y, anonymised...
                                                             ^
'

Stack trace (most recent call first):
  File "/home/nroche/src/wcs/wcs/sql.py", line 927, in do_global_views
   925     union = ' UNION '.join(['''SELECT %s FROM %s''' % (
   926         ', '.join([y[1] for y in common_fields]), x) for x in view_names])
>  927     cur.execute('''CREATE VIEW wcs_all_forms AS %s''' % union)
   928 
   929     for category in wcs.categories.Category.select():

Historique

#2

Mis à jour par Nicolas Roche il y a plus de 4 ans

  • Statut changé de Nouveau à Fermé

En fait il me manquait juste une migration :

$ wcs-manage migrate_schemas

#3

Mis à jour par Thomas Noël il y a plus de 4 ans

Nicolas Roche a écrit :

En fait il me manquait juste une migration :
[...]

Ok mais effectuée où cela ? Sur ta machine perso ?

#4

Mis à jour par Nicolas Roche il y a plus de 4 ans

Oui sur ma machine perso, j'en profite pour remercier Lauréline qui m'a donné l'astuce.

Formats disponibles : Atom PDF