BergWerkGIS / QGIS-CKAN-Browser

Download and display Open Data from CKAN Metadata Servers
MIT License
34 stars 14 forks source link

AttributeError: 'NoneType' object has no attribute 'addRasterLayer() #31

Open b3ric opened 2 years ago

b3ric commented 2 years ago

Environment

PlugIn version: 0.4.0

PlugIn installed from:

OS:

Expected behavior

Successful rendering of WMS layers.

Actual behavior

While other services work properly, WMS layers are failing to render. The following error occurs as soon as I click on 'Load Data':

Can not load layer: 
<service name>
AttributeError: 'NoneType' object has no attribute 'addRasterLayer()
wilhelmberg commented 2 years ago

@ericmacedob thanks for creating this issue. I'm able to reproduce, the QGIS API has changed. Unfortunately I'm a bit short on time at the moment and it might take a while till I get around to fixing it.


Note to self:

b3ric commented 2 years ago

Thank you @wilhelmberg for the prompt response 👍 Looking forward to the fix.