-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rasterize and Rasterize Over algorithms not opening #23976
Comments
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Alexander Bruy (@alexbruy)
|
Author Name: Alexander Bruy (@alexbruy) Just a small note. This error thrown only if algorithm opened with empty project, if there is a vector layer loaded all not error is displayed. |
Author Name: matteo ghetta (@ghtmtt) mmm.. on my machine I get the same error also with layers in the toc and with or without any project opened |
Author Name: Giovanni Manghi (@gioman) I also see the error regardless the project is empty or not. |
Author Name: Arnaud Morvan (@arnaud-morvan) Pull request proposed : #4445 |
Author Name: Alexander Bruy (@alexbruy) Fixed in bc09875
TypeError: 'NoneType' object is not subscriptable TypeError: 'NoneType' object is not subscriptable |
Author Name: Richard Duivenvoorde (@rduivenvoorde) Reopening this , running current 2.18(.13) head ( QGIS code revision ce11ebb ) here. Having exact this error message in 'Rasterize (vector to raster)' Printing out the 'arguments'-string of share/qgis/python/plugins/processing/algs/gdal/rasterize.py" I have: ['-a', u'1', '-ot', 'Int16', '-of', 'GTiff', '-tr', u'1', u'1', '-a_nodata', u'1', '-co COMPRESS=JPEG', u'-co JPEG_QUALITY=1', '-co BIGTIFF=YES', u'1', '-l', None, u'1', u'dummy'] Looks like this is the inLayer? Which in my case is not yet choosen (as it is the first time I open the dialog, maybe not even with layers in my legend...)?
|
Author Name: Giovanni Manghi (@gioman) The error (seen on Windows and Linux) is Traceback (most recent call last):
|
Author Name: matteo ghetta (@ghtmtt)
Original Redmine Issue: 16061
Affected QGIS version: 2.18.13
Redmine category:processing/gdal
Assignee: Victor Olaya
Both gdal algorithms of gdal won't open in processing due to this python error (QGIS compiled from source):
TypeError: 'NoneType' object is not subscriptable
Traceback (most recent call last):
File "/home/matteo/lavori/QGIS/build-qgis3/output/python/plugins/processing/gui/ProcessingToolbox.py", line 259, in executeAlgorithm
dlg = alg.getCustomParametersDialog()
File "/home/matteo/lavori/QGIS/build-qgis3/output/python/plugins/processing/algs/gdal/GdalAlgorithm.py", line 57, in getCustomParametersDialog
return GdalAlgorithmDialog(self)
File "/home/matteo/lavori/QGIS/build-qgis3/output/python/plugins/processing/algs/gdal/GdalAlgorithmDialog.py", line 39, in init
AlgorithmDialogBase.init(self, alg)
File "/home/matteo/lavori/QGIS/build-qgis3/output/python/plugins/processing/gui/AlgorithmDialogBase.py", line 108, in init
algHelp = self.alg.shortHelp()
File "/home/matteo/lavori/QGIS/build-qgis3/output/python/plugins/processing/algs/gdal/GdalAlgorithm.py", line 86, in shortHelp
url = helpPath + '{}.html'.format(self.commandName())
File "/home/matteo/lavori/QGIS/build-qgis3/output/python/plugins/processing/algs/gdal/GdalAlgorithm.py", line 98, in commandName
name = alg.getConsoleCommands()[0]
File "/home/matteo/lavori/QGIS/build-qgis3/output/python/plugins/processing/algs/gdal/rasterize.py", line 162, in getConsoleCommands
return ['gdal_rasterize', GdalUtils.escapeAndJoin(arguments)]
File "/home/matteo/lavori/QGIS/build-qgis3/output/python/plugins/processing/algs/gdal/GdalUtils.py", line 183, in escapeAndJoin
if s[0] != '-' and ' ' in s:
TypeError: 'NoneType' object is not subscriptable
The text was updated successfully, but these errors were encountered: