{"action":"created","issue":{"url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/322","repository_url":"https://api.github.com/repos/tomchadwin/qgis2web","labels_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/322/comments","events_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/322/events","html_url":"https://github.com/tomchadwin/qgis2web/issues/322","id":172102116,"number":322,"title":"qgis2web does not work under W10 and QGIS 2.12 -16","user":{"login":"peter-shr","id":21122326,"avatar_url":"https://avatars.githubusercontent.com/u/21122326?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-shr","html_url":"https://github.com/peter-shr","followers_url":"https://api.github.com/users/peter-shr/followers","following_url":"https://api.github.com/users/peter-shr/following{/other_user}","gists_url":"https://api.github.com/users/peter-shr/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-shr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-shr/subscriptions","organizations_url":"https://api.github.com/users/peter-shr/orgs","repos_url":"https://api.github.com/users/peter-shr/repos","events_url":"https://api.github.com/users/peter-shr/events{/privacy}","received_events_url":"https://api.github.com/users/peter-shr/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-19T10:30:30Z","updated_at":"2016-08-30T07:25:45Z","closed_at":"2016-08-19T10:38:52Z","body":"qgis2web 1.13.1, Windows 10, for QGIS 2.12, 2.14, 2.16\r\nNeither OpenLayers or Leaflet Web maps are created.\r\nOutput data are shapefiles.\r\nWhen clicking on 'Update preview'\r\n**Error**\r\nqgis2web produced an error:\r\nTraceback (most recent call last):\r\nFile \"C:/Users/..../.qgis2/python/plugins\\qgis2web\\maindialog.py\", line 134, in previewMap\r\nMainDialog.previewLeaflet(self)\r\nFile \"C:/Users/..../.qgis2/python/plugins\\qgis2web\\maindialog.py\", line 308, in previewLeaflet\r\nvisible, cluster, json, params, popup)\r\nFile \"C:/Users/..../.qgis2/python/plugins\\qgis2web\\leafletWriter.py\", line 91, in writeLeaflet\r\nlayerFileName, safeLayerName, minify, canvas)\r\nFile \"C:/Users/..../.qgis2/python/plugins\\qgis2web\\leafletLayerScripts.py\", line 17, in exportJSONLayer\r\ncleanedLayer = writeTmpLayer(i, eachPopup)\r\nFile \"C:/Users/..../.qgis2/python/plugins\\qgis2web\\utils.py\", line 93, in writeTmpLayer\r\noutFeat.setGeometry(feature.geometry())\r\nTypeError: QgsFeature.setGeometry(QgsGeometry): argument 1 has unexpected type 'NoneType'\r\n\r\nWhen clicking on 'Export'\r\nTypeError: QgsFeature.setGeometry(QgsGeometry): argument 1 has unexpected type 'NoneType' \r\nTraceback (most recent call last):\r\n  File \"C:/Users/..../.qgis2/python/plugins\\qgis2web\\maindialog.py\", line 150, in saveMap\r\n    MainDialog.saveLeaf(self)\r\n  File \"C:/Users/..../.qgis2/python/plugins\\qgis2web\\maindialog.py\", line 330, in saveLeaf\r\n    cluster, json, params, popup)\r\n  File \"C:/Users/..../.qgis2/python/plugins\\qgis2web\\leafletWriter.py\", line 91, in writeLeaflet\r\n    layerFileName, safeLayerName, minify, canvas)\r\n  File \"C:/Users/..../.qgis2/python/plugins\\qgis2web\\leafletLayerScripts.py\", line 17, in exportJSONLayer\r\n    cleanedLayer = writeTmpLayer(i, eachPopup)\r\n  File \"C:/Users/..../.qgis2/python/plugins\\qgis2web\\utils.py\", line 93, in writeTmpLayer\r\n    outFeat.setGeometry(feature.geometry())\r\nTypeError: QgsFeature.setGeometry(QgsGeometry): argument 1 has unexpected type 'NoneType'\r\n\r\nPython-Version: 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)] \r\nQGIS-Version: 2.16.1-Nødebo Nødebo, 8545b3b "},"comment":{"url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/comments/243355443","html_url":"https://github.com/tomchadwin/qgis2web/issues/322#issuecomment-243355443","issue_url":"https://api.github.com/repos/tomchadwin/qgis2web/issues/322","id":243355443,"user":{"login":"peter-shr","id":21122326,"avatar_url":"https://avatars.githubusercontent.com/u/21122326?v=3","gravatar_id":"","url":"https://api.github.com/users/peter-shr","html_url":"https://github.com/peter-shr","followers_url":"https://api.github.com/users/peter-shr/followers","following_url":"https://api.github.com/users/peter-shr/following{/other_user}","gists_url":"https://api.github.com/users/peter-shr/gists{/gist_id}","starred_url":"https://api.github.com/users/peter-shr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/peter-shr/subscriptions","organizations_url":"https://api.github.com/users/peter-shr/orgs","repos_url":"https://api.github.com/users/peter-shr/repos","events_url":"https://api.github.com/users/peter-shr/events{/privacy}","received_events_url":"https://api.github.com/users/peter-shr/received_events","type":"User","site_admin":false},"created_at":"2016-08-30T07:25:45Z","updated_at":"2016-08-30T07:25:45Z","body":"Hello,\r\nWas until now replies, version 1.14.0 works fine.\r\nregards Peter"}}
{"actor":{"display_login":"peter-shr"}}