Skip to content

AttributeError: 'NoneType' adding cityjson files on Mac #60

@Serranowski

Description

@Serranowski

When trying to add a new cityjson file on Mac using the plugin, I always get the following error:

2024-09-15T13:05:12     WARNING    Traceback (most recent call last):
              File "/Users/XXX/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/CityJSON-loader/cityjson_loader.py", line 113, in select_cityjson_file
              self.update_file_information(filename)
              File "/Users/XXX/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/CityJSON-loader/cityjson_loader.py", line 171, in update_file_information
              raise exp
              File "/Users/XXX/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/CityJSON-loader/cityjson_loader.py", line 156, in update_file_information
              self.dlg.crsLineEdit.setText(get_model_epsg(model))
              File "/Users/XXX/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/CityJSON-loader/core/loading.py", line 159, in get_model_epsg
              return m.group(3)
             AttributeError: 'NoneType' object has no attribute 'group'

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