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 'split' #23

Open
cbertelli opened this issue Nov 4, 2019 · 2 comments
Open

AttributeError: 'NoneType' object has no attribute 'split' #23

cbertelli opened this issue Nov 4, 2019 · 2 comments

Comments

@cbertelli
Copy link

Hello Tom,
thank you for the good idea and thanks a lot for the time spent on this plugin.
I found this issue on a leaflet map here:
https://www.laboratoriovalsusa.it/aziende
The map was correctly detected, but saving it, the plugin stopped with this error.
I'm probably not able to fix it by myself. Sorry.

 AttributeError: 'NoneType' object has no attribute 'split'
Traceback (most recent call last):
  File "/Users/carlo/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/web2qgis/web2qgis_dialog.py", line 87, in getMap
    getLeafletMap(self.mainframe, self.iface)
  File "/Users/carlo/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/web2qgis/leafletReader.py", line 54, in getLeafletMap
    getLeafletView(scriptFolder, mainframe, iface)
  File "/Users/carlo/Library/Application Support/QGIS/QGIS3/profiles/default/python/plugins/web2qgis/leafletReader.py", line 59, in getLeafletView
    xMin, yMin, xMax, yMax = extent.split(",")
AttributeError: 'NoneType' object has no attribute 'split'
@tomchadwin
Copy link
Owner

I don't get any error or imported map at all. Like you, it detects the map, but then when I click Save, I get nothing. Odd.

@mnoorchenar
Copy link

I have the same problem!

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

3 participants