{"action":"created","issue":{"url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/155","labels_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/155/comments","events_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/155/events","html_url":"https://github.com/tomchadwin/qgis2web/issues/155","id":122048719,"number":155,"title":"grouped layer script issue","user":{"login":"marcobra","id":1607387,"avatar_url":"https://avatars.githubusercontent.com/u/1607387?v=3","gravatar_id":"","url":"https://api.github.com/users/marcobra","html_url":"https://github.com/marcobra","followers_url":"https://api.github.com/users/marcobra/followers","following_url":"https://api.github.com/users/marcobra/following{/other_user}","gists_url":"https://api.github.com/users/marcobra/gists{/gist_id}","starred_url":"https://api.github.com/users/marcobra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marcobra/subscriptions","organizations_url":"https://api.github.com/users/marcobra/orgs","repos_url":"https://api.github.com/users/marcobra/repos","events_url":"https://api.github.com/users/marcobra/events{/privacy}","received_events_url":"https://api.github.com/users/marcobra/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-14T14:03:43Z","updated_at":"2015-12-14T15:09:10Z","closed_at":null,"body":"Installed version: 0.39.0 (in /home/ubuntu/.qgis2/python/plugins/qgis2web)\r\nAvailable version: 0.39.0 (in Repository plugin ufficiale QGIS)\r\n\r\nTom, i have grouped layers trees at preview time i get... this error, i mean the error is coming out only if i check the group name (it was recognized as layer, but is not)... \r\nBest regards \r\nMarco\r\n\r\nTraceback (most recent call last):\r\nFile \"/home/ubuntu/.qgis2/python/plugins/qgis2web/maindialog.py\", line 115, in previewMap\r\nMainDialog.previewLeaflet(self)\r\nFile \"/home/ubuntu/.qgis2/python/plugins/qgis2web/maindialog.py\", line 291, in previewLeaflet\r\njson, params, popup)\r\nFile \"/home/ubuntu/.qgis2/python/plugins/qgis2web/leafletWriter.py\", line 102, in writeLeaflet\r\ncleanedLayer = writeTmpLayer(i, eachPopup)\r\nFile \"/home/ubuntu/.qgis2/python/plugins/qgis2web/utils.py\", line 62, in writeTmpLayer\r\nuri = TYPE_MAP[layer.wkbType()]\r\nKeyError: -2147483647\r\n\r\nHere the tree of the qgis group...\r\n\r\n![screenshot from 2015-12-14 15 08 58](https://cloud.githubusercontent.com/assets/1607387/11782926/6e06c5e0-a274-11e5-88b1-27e25d545315.png)\r\n"},"comment":{"url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/comments/164461394","html_url":"https://github.com/tomchadwin/qgis2web/issues/155#issuecomment-164461394","issue_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/155","id":164461394,"user":{"login":"tomchadwin","id":7840213,"avatar_url":"https://avatars.githubusercontent.com/u/7840213?v=3","gravatar_id":"","url":"https://api.github.com/users/tomchadwin","html_url":"https://github.com/tomchadwin","followers_url":"https://api.github.com/users/tomchadwin/followers","following_url":"https://api.github.com/users/tomchadwin/following{/other_user}","gists_url":"https://api.github.com/users/tomchadwin/gists{/gist_id}","starred_url":"https://api.github.com/users/tomchadwin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tomchadwin/subscriptions","organizations_url":"https://api.github.com/users/tomchadwin/orgs","repos_url":"https://api.github.com/users/tomchadwin/repos","events_url":"https://api.github.com/users/tomchadwin/events{/privacy}","received_events_url":"https://api.github.com/users/tomchadwin/received_events","type":"User","site_admin":false},"created_at":"2015-12-14T15:09:10Z","updated_at":"2015-12-14T15:09:10Z","body":"Can you tell me two things:\r\n\r\n- the geometry type of the layer which causes the error\r\n- confirm that no drop-downs in the plugin GUI have blank values\r\n\r\nThis error came up before, and those were two possible causes:\r\n\r\nhttp://gis.stackexchange.com/questions/163283/qgis-export-to-openlayers-python-error"}}