Pages: 1
- Sujet précédent - QGIS/Plugin Cadastre: erreurs rencontrées pendant l'import - Sujet suivant
#1 Wed 03 April 2019 16:55
- Sylvain M.
- Participant assidu
- Lieu: Saint-Pierre-des-Nids (53)
- Date d'inscription: 8 Sep 2005
- Messages: 995
QGIS/Plugin Cadastre: erreurs rencontrées pendant l'import
Bonjour à tous,
J'utilise depuis ses début le plugin Cadastre de QGis, et je remercie au moins une fois par an ses développeurs et financeurs.
En voulant charger les dernières millésimes en ma possession, je rencontre un message d'erreur inhabituel :
Des erreurs ont été rencontrées pendant l'import. Veuillez consulter le log
Et voila les messages dans le panneau "Avertissements Python" du journal des messages :
Code:
2019-04-03T16:15:39 WARNING warning:C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py:1070: ResourceWarning: unclosed file traceback: File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_menu.py", line 218, in open_import_dialog dialog.exec_() File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_dialogs.py", line 1102, in processImport qi.installCadastreStructure() File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py", line 273, in installCadastreStructure self.executeSqlScript(s, 'constraints' in item) File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py", line 1070, in executeSqlScript sql = open(scriptPath, encoding="utf-8-sig").read() 2019-04-03T16:15:40 WARNING warning:C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py:1070: ResourceWarning: unclosed file traceback: File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_menu.py", line 218, in open_import_dialog dialog.exec_() File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_dialogs.py", line 1102, in processImport qi.installCadastreStructure() File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py", line 273, in installCadastreStructure self.executeSqlScript(s, 'constraints' in item) File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py", line 1070, in executeSqlScript sql = open(scriptPath, encoding="utf-8-sig").read() 2019-04-03T16:15:40 WARNING warning:C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py:1070: ResourceWarning: unclosed file traceback: File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_menu.py", line 218, in open_import_dialog dialog.exec_() File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_dialogs.py", line 1102, in processImport qi.installCadastreStructure() File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py", line 273, in installCadastreStructure self.executeSqlScript(s, 'constraints' in item) File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py", line 1070, in executeSqlScript sql = open(scriptPath, encoding="utf-8-sig").read() 2019-04-03T16:15:40 WARNING warning:C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py:1070: ResourceWarning: unclosed file traceback: File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_menu.py", line 218, in open_import_dialog dialog.exec_() File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_dialogs.py", line 1109, in processImport qi.importMajic() File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py", line 439, in importMajic self.executeSqlScript(s, True, 'constraints' in item) File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py", line 1070, in executeSqlScript sql = open(scriptPath, encoding="utf-8-sig").read() 2019-04-03T16:15:40 WARNING warning:C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py:1070: ResourceWarning: unclosed file traceback: File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_menu.py", line 218, in open_import_dialog dialog.exec_() File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_dialogs.py", line 1109, in processImport qi.importMajic() File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py", line 441, in importMajic self.executeSqlScript(s, False, 'constraints' in item) File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py", line 1070, in executeSqlScript sql = open(scriptPath, encoding="utf-8-sig").read() 2019-04-03T16:16:45 WARNING warning:C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py:1070: ResourceWarning: unclosed file traceback: File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_menu.py", line 218, in open_import_dialog dialog.exec_() File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_dialogs.py", line 1109, in processImport qi.importMajic() File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py", line 439, in importMajic self.executeSqlScript(s, True, 'constraints' in item) File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py", line 1070, in executeSqlScript sql = open(scriptPath, encoding="utf-8-sig").read() 2019-04-03T16:18:52 WARNING warning:C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py:1070: ResourceWarning: unclosed file traceback: File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_menu.py", line 218, in open_import_dialog dialog.exec_() File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_dialogs.py", line 1109, in processImport qi.importMajic() File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py", line 441, in importMajic self.executeSqlScript(s, False, 'constraints' in item) File "C:/Users/Sylvain/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\cadastre\cadastre_import.py", line 1070, in executeSqlScript sql = open(scriptPath, encoding="utf-8-sig").read()
Ces logs proviennent de QGis 3.4.2 avec le plugin en version 1.7.0
Mais j'ai eu le même genre d'erreur (sans regarder le log) avec QGis 2.18.13 et le plugin en version 1.5.6
Des idées de la source de mon problème ?
Merci à vous !
Sylvain M.
Hors ligne
#2 Wed 03 April 2019 17:02
- Sylvain M.
- Participant assidu
- Lieu: Saint-Pierre-des-Nids (53)
- Date d'inscription: 8 Sep 2005
- Messages: 995
Re: QGIS/Plugin Cadastre: erreurs rencontrées pendant l'import
Au cas où, je me suis permis d'ouvrir une issue sur la page Github du plugin :
https://github.com/3liz/QgisCadastrePlugin/issues/179
A suivre !
Sylvain M.
Hors ligne
Pages: 1
- Sujet précédent - QGIS/Plugin Cadastre: erreurs rencontrées pendant l'import - Sujet suivant