Skip to content
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

Processing: Warp (Reproject) throws Python error #24109

Closed
qgib opened this issue Feb 16, 2017 · 2 comments
Closed

Processing: Warp (Reproject) throws Python error #24109

qgib opened this issue Feb 16, 2017 · 2 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@qgib
Copy link
Contributor

qgib commented Feb 16, 2017

Author Name: Filipe Dias (@fsdias)
Original Redmine Issue: 16199
Affected QGIS version: 2.18.3
Redmine category:processing/ogr


2017-02-16T09:42:35 1 warning:/usr/share/qgis/python/plugins/processing/core/GeoAlgorithm.py:219: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
unicode(e.message, errors='replace') + self.tr('
See log for more details'), lines, e)

		traceback:  File "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 256, in executeAlgorithm
		    dlg.exec_()
		  File "/usr/share/qgis/python/plugins/processing/gui/AlgorithmDialog.py", line 290, in accept
		    if runalg(self.alg, self):
		  File "/usr/share/qgis/python/plugins/processing/gui/AlgorithmExecutor.py", line 49, in runalg
		    alg.execute(progress or SilentProgress())
@qgib
Copy link
Contributor Author

qgib commented Feb 16, 2017

Author Name: Filipe Dias (@fsdias)


When the tool is run this shows in the dialog:

Algorithm Warp (reproject) starting...

string index out of range See log for more details

In the logs:

Python warning:

2017-02-16T09:42:35 1 warning:/usr/share/qgis/python/plugins/processing/core/GeoAlgorithm.py:219: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
unicode(e.message, errors='replace') + self.tr('
See log for more details'), lines, e)

		traceback:  File "/usr/share/qgis/python/plugins/processing/gui/ProcessingToolbox.py", line 256, in executeAlgorithm
		    dlg.exec_()
		  File "/usr/share/qgis/python/plugins/processing/gui/AlgorithmDialog.py", line 290, in accept
		    if runalg(self.alg, self):
		  File "/usr/share/qgis/python/plugins/processing/gui/AlgorithmExecutor.py", line 49, in runalg
		    alg.execute(progress or SilentProgress())

Processing:

2017-02-16T09:42:35 2 Uncaught error while executing algorithm
Traceback (most recent call last):
File "/usr/share/qgis/python/plugins/processing/core/GeoAlgorithm.py", line 203, in execute
self.processAlgorithm(progress)
File "/usr/share/qgis/python/plugins/processing/algs/gdal/GdalAlgorithm.py", line 52, in processAlgorithm
commands = self.getConsoleCommands()
File "/usr/share/qgis/python/plugins/processing/algs/gdal/warp.py", line 206, in getConsoleCommands
return ['gdalwarp', GdalUtils.escapeAndJoin(arguments)]
File "/usr/share/qgis/python/plugins/processing/algs/gdal/GdalUtils.py", line 178, in escapeAndJoin
if s[0] != '-' and ' ' in s:
IndexError: string index out of range

@qgib
Copy link
Contributor Author

qgib commented Feb 16, 2017

Author Name: Filipe Dias (@fsdias)


  • status_id was changed from Open to Closed

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms labels May 25, 2019
@qgib qgib closed this as completed May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

1 participant