Closed qgib closed 6 years ago
Author Name: Giovanni Manghi (@gioman)
Does this also affects 2.18.13?
Author Name: Tobias Wendorff (Tobias Wendorff)
Can't tell you. Seems like QGIS2 can't process scratch layers with OGR at all:
2017-10-16T13:15:43 2 Uncaught error while executing algorithm
Traceback (most recent call last):
File "C:/OSGEO4~1/apps/qgis-rel-dev/./python/plugins\processing\core\GeoAlgorithm.py", line 203, in execute
self.processAlgorithm(progress)
File "C:/OSGEO4~1/apps/qgis-rel-dev/./python/plugins\processing\algs\gdal\GdalAlgorithm.py", line 52, in processAlgorithm
commands = self.getConsoleCommands()
File "C:/OSGEO4~1/apps/qgis-rel-dev/./python/plugins\processing\algs\gdal\ogr2ogrbuffer.py", line 79, in getConsoleCommands
layername = "'" + ogrLayerName(inLayer) + "'"
TypeError: cannot concatenate 'str' and 'NoneType' objects
Author Name: Giovanni Manghi (@gioman)
Just checked on the latest master and seems to be ok, please reopen of necessary.
Author Name: Tobias Wendorff (Tobias Wendorff) Original Redmine Issue: 17288 Affected QGIS version: master Redmine category:processing/ogr Assignee: Victor Olaya
I've created a point on a scratch layer and set this UTF-8 string to a text field:
Γαζέες καὶ μυρτιὲς δὲν θὰ βρῶ πιὰ στὸ χρυσαφὶ ξέφωτο
. That's greek for ```No more shall I see acacias or myrtles in the golden clearingAs you can see in processing logs, the fileEncoding is wrong, since it is set to "System". Maybe it's better to use UTF-8: