https://issues.qgis.org/https://issues.qgis.org/favicon.ico2013-04-12T21:10:37ZQGIS Issue TrackingQGIS Application - Bug report #7090: ftools lines to polygons fails on a particular vectorhttps://issues.qgis.org/issues/7090?journal_id=400882013-04-12T21:10:37Zmaning sambale
<ul></ul><p>Confirmed error tested both in the:</p>
<p><strong>Vector menu (fTools)</strong></p>
<p>An error has occured while executing Python code:</p>
<p>Traceback (most recent call last):<br /> File "/usr/share/qgis/python/plugins/fTools/tools/doGeometry.py", line 347, in run<br /> success = self.lines_to_polygons()<br /> File "/usr/share/qgis/python/plugins/fTools/tools/doGeometry.py", line 515, in lines_to_polygons<br /> outFeat.setGeometry( QgsGeometry.fromPolygon( polyGeom ) )<br />TypeError: QgsFeature.setGeometry(QgsGeometry): argument 1 has unexpected type 'NoneType'</p>
<p>Python version:<br />2.7.3 (default, Aug 1 2012, 05:25:23) <br />[GCC 4.6.3]</p>
<p>QGIS version:<br />1.9.0-Master Master, exported</p>
<p>Python path: ['/usr/share/qgis/python/plugins/sextante', '/usr/share/qgis/python', '/home/maning/.qgis2/python', '/home/maning/.qgis2/python/plugins', '/usr/share/qgis/python/plugins', '/usr/local/lib/python2.7/dist-packages/docutils-0.7-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/Jinja2-2.5.5-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/Pygments-1.4-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/mbutil-0.0.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/Sphinx-1.1.2-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/rst2pdf-0.16-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/reportlab-2.5-py2.7-linux-x86_64.egg', '/usr/local/lib/python2.7/dist-packages/TracGit-0.11.0.2-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/sphinxcontrib_googlechart-0.1.5-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/funcparserlib-0.3.5-py2.7.egg', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', '/usr/lib/python2.7/dist-packages/gst-0.10', '/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', '/usr/lib/python2.7/dist-packages/ubuntu-sso-client', '/usr/lib/python2.7/dist-packages/ubuntuone-client', '/usr/lib/python2.7/dist-packages/ubuntuone-control-panel', '/usr/lib/python2.7/dist-packages/ubuntuone-couch', '/usr/lib/python2.7/dist-packages/ubuntuone-installer', '/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol', '/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', '/usr/share/qgis/python/plugins/fTools/tools', '/home/maning/Desktop/qgis_hackfest']</p>
<p><strong>and also in Sextante.</strong></p> QGIS Application - Bug report #7090: ftools lines to polygons fails on a particular vectorhttps://issues.qgis.org/issues/7090?journal_id=430102013-07-13T01:52:46ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>no more error message, but it never ends to run.</p> QGIS Application - Bug report #7090: ftools lines to polygons fails on a particular vectorhttps://issues.qgis.org/issues/7090?journal_id=430142013-07-13T02:09:45ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Target version</strong> set to <i>Future Release - Nice to have</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>Low</i></li></ul> QGIS Application - Bug report #7090: ftools lines to polygons fails on a particular vectorhttps://issues.qgis.org/issues/7090?journal_id=525112014-06-20T07:43:53ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Resolution</strong> set to <i>wontfix</i></li><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>looking at it better and I realized that is a very edge case... the lines that seems continuous are mostly split and anyway there is the problem of the line(s) delimiting the Mediterranean that would be originating an inverted polygon...</p> QGIS Application - Bug report #7090: ftools lines to polygons fails on a particular vectorhttps://issues.qgis.org/issues/7090?journal_id=789952017-04-30T23:22:14ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>The "ftools" category is being removed from the tracker, changing the category of this ticket to "Processing/QGIS" to not leave the category orphaned.</p>