Skip to content

Problem with ISTAC plugin in QGIS: #4

@PilarIbarrondo

Description

@PilarIbarrondo

I don't know why the ISTAC plugin for QGIS doesn't work. I get the following error message:

TypeError: string indices must be integers, not 'str'
Traceback (most recent call last):
File "C:\Users/Pilar/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\istacqgis\BaseDialog.py", line 95, in getCbSubjects
self.setCbIndicators(subject)
File "C:\Users/Pilar/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\istacqgis\BaseDialog.py", line 107, in setCbIndicators
indicators_title_es = {indicator["id"]: indicator["title"]["es"] for indicator in indicators['items']}
~~~~~~~~~~^^^^^^^^^
TypeError: string indices must be integers, not 'str'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions