Closed nlenglet-ign closed 1 year ago
Totals | |
---|---|
Change from base Build 3290143124: | 0.0% |
Covered Lines: | 6015 |
Relevant Lines: | 6300 |
J'ai tout d'abord lancé la requête qui marche sur master et j'obtient :
python scripts/create_cache.py -I "D:\PackO_CreateCache\11_OPI_ir\*.tif" -R "D:\PackO_CreateCache\11_OPI_rvb\*.tif" -o ressources/LAMB93_20cm.json -c cache_11OPI_RGBIR_test -g "D:\PackO_CreateCache\69_2020_mosaiquage_mtd_region.gpkg" -t '69_2020_mosaiquage_mtd_region' -r 1
Traceback (most recent call last):
File "D:\PackO\scripts\create_cache.py", line 6, in
Erreur pas très clair...
J'ai tout d'abord lancé la requête qui marche sur master et j'obtient :
python scripts/create_cache.py -I "D:\PackO_CreateCache\11_OPI_ir*.tif" -R "D:\PackO_CreateCache\11_OPI_rvb*.tif" -o ressources/LAMB93_20cm.json -c cache_11OPI_RGBIR_test -g "D:\PackO_CreateCache\69_2020_mosaiquage_mtd_region.gpkg" -t '69_2020_mosaiquage_mtd_region' -r 1 Traceback (most recent call last): File "D:\PackO\scripts\create_cache.py", line 6, in cache.generate(update=False) File "D:\PackO\scripts\cache.py", line 249, in generate args = read_args(update, False, False) File "D:\PackO\scripts\cache.py", line 106, in read_args db_graph.GetLayer(args.table).GetExtent() AttributeError: 'NoneType' object has no attribute 'GetExtent'
Erreur pas très clair...
La table que tu essaie de requêter est '69_2020_mosaiquage_mtd_region' qui n'existe pas, la table qui existe étant vraisemblablement 69_2020_mosaiquage_mtd_region, invalide car premier caractère numérique.
J'ai tout d'abord lancé la requête qui marche sur master et j'obtient : python scripts/create_cache.py -I "D:\PackO_CreateCache\11_OPI_ir.tif" -R "D:\PackO_CreateCache\11_OPI_rvb.tif" -o ressources/LAMB93_20cm.json -c cache_11OPI_RGBIR_test -g "D:\PackO_CreateCache\69_2020_mosaiquage_mtd_region.gpkg" -t '69_2020_mosaiquage_mtd_region' -r 1 Traceback (most recent call last): File "D:\PackO\scripts\create_cache.py", line 6, in cache.generate(update=False) File "D:\PackO\scripts\cache.py", line 249, in generate args = read_args(update, False, False) File "D:\PackO\scripts\cache.py", line 106, in read_args db_graph.GetLayer(args.table).GetExtent() AttributeError: 'NoneType' object has no attribute 'GetExtent' Erreur pas très clair...
La table que tu essaie de requêter est '69_2020_mosaiquage_mtd_region' qui n'existe pas, la table qui existe étant vraisemblablement 69_2020_mosaiquage_mtd_region, invalide car premier caractère numérique.
c'est donc une erreur non gérée. Qu'il faut donc gérer
J'ai poussé des corrections par rapport aux dernières remarques
Ticket #357