geometalab / ArcGISConnector-QGIS-Plugin

"ArcGIS REST API Connector" (beta) - a QGIS-Plugin which reads "Feature Service" and "Map Service" - aka WFS- and WMTS-alike services - from ArcGIS Online or ArcGIS Server.
http://giswiki.hsr.ch/QGIS_ArcGIS_REST_API_Connector_Plugin
27 stars 7 forks source link

Uncaught AttributeError: 'NoneType' object has no attribute 'instance' #21

Open CoryAlbrecht opened 7 years ago

CoryAlbrecht commented 7 years ago

Steps to reproduce

  1. Open any *.qgs project
Traceback (most recent call last):
  File "/home/cory/.qgis2/python/plugins/connector/arcgiscon_plugin.py", line 113, in _onProjectLoad
    projectId = str(QgsProject.instance().readEntry("arcgiscon","projectid","-1")[0])
AttributeError: 'NoneType' object has no attribute 'instance'

connector 0.3.4, QGIS 2.18.11 on Linux 4.4.0-88-generic