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

TypeError: 'NonType Object is not iterable' #22

Open
leoouma opened this issue Aug 31, 2018 · 1 comment
Open

TypeError: 'NonType Object is not iterable' #22

leoouma opened this issue Aug 31, 2018 · 1 comment

Comments

@leoouma
Copy link

leoouma commented Aug 31, 2018

This test page returns:

An error has occurred while executing Python code:

TypeError: 'NoneType' object is not iterable
Traceback (most recent call last):
File "C:/Users/leonard/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\web2qgis\web2qgis_dialog.py", line 91, in getMap
getOpenlayersMap(self.mainframe, self.iface)
File "C:/Users/leonard/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins\web2qgis\openlayersReader.py", line 44, in getOpenlayersMap
for count, lyr in enumerate(lyrs):
TypeError: 'NoneType' object is not iterable

Python version: 3.6.0 (v3.6.0:41df79263a11, Dec 23 2016, 08:06:12) [MSC v.1900 64 bit (AMD64)]
QGIS version: 3.2.2-Bonn Bonn, 26842169e9

Python Path:
C:/OSGEO41/apps/qgis/./python
C:/Users/leonard/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:/Users/leonard/AppData/Roaming/QGIS/QGIS3\profiles\default/python/plugins
C:/OSGEO4
1/apps/qgis/./python/plugins
C:\OSGeo4W64\bin\python36.zip
C:\OSGEO41\apps\Python36\DLLs
C:\OSGEO4
1\apps\Python36\lib
C:\OSGeo4W64\bin
C:\OSGEO41\apps\Python36
C:\OSGEO4
1\apps\Python36\lib\site-packages
C:/Users/leonard/AppData/Roaming/QGIS/QGIS3\profiles\default/python
C:\Users\leonard\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins\mmqgis/forms
C:\Users\leonard\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins
C:\Users\leonard\AppData\Roaming\QGIS\QGIS3\profiles\default\python\plugins
.
http://leoouma.github.io/KETRACO_LINES/index.html

@tomchadwin
Copy link
Owner

tomchadwin commented Sep 4, 2018

The OpenLayers importer has had very little development, I'm afraid. The Leaflet importer has had a little more, but the whole plugin has not seen any work for a while, and I don't know whether I'll have much time to work on it. It's a pity, as I can see broadly how to take it further.

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