Projet

Général

Profil

Actions

Anomalie #369

ouvert

[AsgardMenu 0.1.7] Erreur sur le rafraîchissement

Ajouté par Leslie Lemaire il y a environ 4 ans. Mis à jour il y a environ 4 ans.

Statut:
Nouveau
Priorité:
Normal
Assigné à:
-
Version cible:
-
Début:
12/10/2020
Echéance:
% réalisé:

0%

Temps estimé:
# ref:

Description

Bonsoir Alain,

Je viens d'avoir l'erreur python suivante sur ma première tentative de rafraîchissement du menu :

2020-10-12T17:56:26     WARNING    Traceback (most recent call last):
              File "C:/Users/leslie.lemaire/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\AsgardMenu\asgard_menu.py", line 120, in reload_menu
              self.dlg.restore_session()
              File "C:/Users/leslie.lemaire/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\AsgardMenu\asgard_menu_dialog.py", line 733, in restore_session
              self.show_dock(bool(dock))
              File "C:/Users/leslie.lemaire/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\AsgardMenu\asgard_menu_dialog.py", line 159, in show_dock
              self.update_model(self.dock_model)
              File "C:/Users/leslie.lemaire/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\AsgardMenu\asgard_menu_dialog.py", line 464, in update_model
              for name, profile, model_index, comment, layername, end_datasource_uri, relkind, typegeom, permission, connection, attkey, attfirst in self.sortby_modelindex(rows):
              File "C:/Users/leslie.lemaire/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\AsgardMenu\asgard_menu_dialog.py", line 352, in sortby_modelindex
              key=lambda line: '/'.join(
              File "C:/Users/leslie.lemaire/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\AsgardMenu\asgard_menu_dialog.py", line 353, in 
              ['{:04}'.format(elem[0]) for elem in json.loads(line[2])]
              File "C:\PROGRA~1\QGIS 3.10\apps\Python37\lib\json\__init__.py", line 348, in loads
              return _default_decoder.decode(s)
              File "C:\PROGRA~1\QGIS 3.10\apps\Python37\lib\json\decoder.py", line 337, in decode
              obj, end = self.raw_decode(s, idx=_w(s, 0).end())
              File "C:\PROGRA~1\QGIS 3.10\apps\Python37\lib\json\decoder.py", line 353, in raw_decode
              obj, end = self.scan_once(s, idx)
             json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 56 (char 55)
Actions

Formats disponibles : Atom PDF