lutraconsulting / qgis-report-plugin

Report QGIS Plugin Issues with ease
GNU General Public License v2.0
3 stars 2 forks source link

Detect invalid tokens #24

Closed PeterPetrik closed 8 years ago

PeterPetrik commented 8 years ago

Right now it gets

TypeError: string indices must be integers Traceback (most recent call last): File "/home/etienne/.qgis2/python/plugins/report/report_plugin.py", line 81, in run show_report_dialog() File "/home/etienne/.qgis2/python/plugins/report/report_plugin.py", line 34, in show_report_dialog report_dialog = main_widget.MainWidget(last_error) File "/home/etienne/.qgis2/python/plugins/report/main_widget.py", line 38, in init self._load_settings() File "/home/etienne/.qgis2/python/plugins/report/main_widget.py", line 110, in _load_settings self._set_chosen_plugin(plugin) File "/home/etienne/.qgis2/python/plugins/report/main_widget.py", line 99, in _set_chosen_plugin self._plugin_selected() File "/home/etienne/.qgis2/python/plugins/report/main_widget.py", line 186, in _plugin_selected self._enable_widgets() File "/home/etienne/.qgis2/python/plugins/report/main_widget.py", line 150, in _enable_widgets self._load_labels() File "/home/etienne/.qgis2/python/plugins/report/main_widget.py", line 154, in _load_labels labels = self.github.get_labels() File "/home/etienne/.qgis2/python/plugins/report/github_utils.py", line 95, in get_labels ret += [l['name']] TypeError: string indices must be integers