Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 of 6 tasks
b3ric opened this issue Jul 25, 2022 · 2 comments
Open
2 of 6 tasks

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

b3ric opened this issue Jul 25, 2022 · 2 comments

Comments

@b3ric
Copy link

b3ric commented Jul 25, 2022

Environment

PlugIn version: 0.4.0

PlugIn installed from:

OS:

  • Linux
  • Windows
  • OSX

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
Copy link
Collaborator

@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
Copy link
Author

b3ric commented Jul 26, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants