Bug report #14557

duplicate quote in output type

Added by Alexia Mondot over 4 years ago. Updated over 3 years ago.

Status:Closed
Priority:Normal
Assignee:Alexia Mondot
Category:Processing/Core
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:22530

Description

Some application like Color Mapping has a output type assigned.
This is done in the rebuild of the otb command line.
There is the following error:

/bin/sh: 1: Syntax error: Unterminated quoted string

Here is the command line launched:
"/usr/bin/otbcli_ColorMapping" "-in" "/media/img.TIF" "-ram" "128" "-op" "labeltocolor" "-method" "continuous" "-method.continuous.lut" "red" "-method.continuous.min" "0" "-method.continuous.max" "255" "-out" "/tmp/processing/cf16d95da28941f08377d0008c92e58a/out.tif" uint8" 

The end quote is after the output file name, but there is an other after the output type.

Associated revisions

Revision 8eb79dbb
Added by Alexander Bruy over 4 years ago

[processing] fix missed quotes in OTB provider (fix #14557)

Revision 5c24d1af
Added by Alexander Bruy over 4 years ago

[processing] fix missed quotes in OTB provider (fix #14557)

(cherry picked from commit 8eb79dbb91d55f9975d903a4f2cc1d650a68b038)

History

#1 Updated by Jürgen Fischer over 4 years ago

  • Subject changed from [Processing/OTB/descriptors XML] Output filenames with an assigned to duplicate quote in output type

#2 Updated by Giovanni Manghi over 4 years ago

see also #14095

#3 Updated by Alexander Bruy over 4 years ago

  • Status changed from Open to Closed

#4 Updated by Giovanni Manghi over 3 years ago

  • Regression? set to No

#5 Updated by Giovanni Manghi over 3 years ago

  • Easy fix? set to No

#6 Updated by Giovanni Manghi over 3 years ago

Some providers are being removed from QGIS/Processing (will be available as plugin) and so are their categories in the bug tracker. To not leave them orphaned of a category they are being reassigned to processing/core.

#7 Updated by Giovanni Manghi over 3 years ago

  • Category changed from 120 to Processing/Core

Also available in: Atom PDF