Skip to content

Error al ejecutar modulo ISTAC #3

Description

@JSIoT20

No soy capaz de obtener los indicadores. Por ejemplo, al elegir Tema 042 Precios, consumo e inversión Indicador Indices de precios al consumo (IPC). General, empieza a ejecutar y me da el error de abajo. Me da con casi todos los indicadores. Abajo da tambien detalles de las versiones que se usan. Trabajo con Ubuntu 22.04.

Ha ocurrido un error mientras se ejecutaba el código de Python:

TypeError: '>' not supported between instances of 'NoneType' and 'NoneType'
Traceback (most recent call last):
File "/home/jorge/.local/share/QGIS/QGIS3/profiles/default/python/plugins/istacqgis/BaseDialog.py", line 583, in getBtnAction
self.drawDataLayer()
File "/home/jorge/.local/share/QGIS/QGIS3/profiles/default/python/plugins/istacqgis/BaseDialog.py", line 241, in drawDataLayer
m = self.getLayerMetadata(
File "/home/jorge/.local/share/QGIS/QGIS3/profiles/default/python/plugins/istacqgis/BaseDialog.py", line 715, in getLayerMetadata
temporal_code_ranges = cache.get_temporal_code_from_csv(self, self.indicator)
File "/home/jorge/.local/share/QGIS/QGIS3/profiles/default/python/plugins/istacqgis/controllers/cache.py", line 90, in get_temporal_code_from_csv
if calculated_date > max:
TypeError: '>' not supported between instances of 'NoneType' and 'NoneType'

Versión de Python: 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]
Versión de QGIS: 3.28.12-Firenze Firenze, dcc633b2de5

Ruta de Python:
/usr/share/qgis/python
/home/jorge/.local/share/QGIS/QGIS3/profiles/default/python
/home/jorge/.local/share/QGIS/QGIS3/profiles/default/python/plugins
/usr/share/qgis/python/plugins
/usr/lib/python310.zip
/usr/lib/python3.10
/usr/lib/python3.10/lib-dynload
/home/jorge/.local/lib/python3.10/site-packages
/usr/local/lib/python3.10/dist-packages
/usr/lib/python3/dist-packages
/home/jorge/.local/share/QGIS/QGIS3/profiles/default/python
C:\Program Files\eclipse\plugins\org.python.pydev.core_6.4.3.201807050139\pysrc
/home/jorge/.local/share/QGIS/QGIS3/profiles/default/python/plugins/ee_plugin/extlibs_linux

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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