Bug report #10000
Updated by Anita Graser over 5 years ago
Loaded an .osm file using Add Vector layer. When trying to use the layer with ftools tools, the following error is shown:
<pre>
Uncaught error while executing algorithm
Traceback (most recent call last):
Traceback (most recent call last):
File "C:/Users/Anita/.qgis2/python/plugins\\processing\\core\\GeoAlgorithm.py", line 202, in execute
self.processAlgorithm(progress)
File "C:/Users/Anita/.qgis2/python/plugins\\processing\\algs\\ftools\\FixedDistanceBuffer.py", line 79, in processAlgorithm
dissolve, segments)
File "C:/Users/Anita/.qgis2/python/plugins\\processing\\algs\\ftools\\Buffer.py", line 46, in buffering
total = 100.0 / float(len(features))
ValueError: __len__() should return >= 0
</pre>
<pre>
Uncaught error while executing algorithm
Traceback (most recent call last):
Traceback (most recent call last):
File "C:/Users/Anita/.qgis2/python/plugins\\processing\\core\\GeoAlgorithm.py", line 202, in execute
self.processAlgorithm(progress)
File "C:/Users/Anita/.qgis2/python/plugins\\processing\\algs\\ftools\\FixedDistanceBuffer.py", line 79, in processAlgorithm
dissolve, segments)
File "C:/Users/Anita/.qgis2/python/plugins\\processing\\algs\\ftools\\Buffer.py", line 46, in buffering
total = 100.0 / float(len(features))
ValueError: __len__() should return >= 0
</pre>