Filename issue with 'ComputeImagesStatistics'

I’m running ‘ComputeImagesStatistics’ and getting the following

Processing algorithm…

Algorithm ‘ComputeImagesStatistics’ starting…

Input parameters:

{ ‘il’ : [‘D:/Arma/QGIS/Classification/convert2.tif’], ‘bv’ : 0, ‘out’ : ‘D:/Arma/QGIS/Classification/testing5.xml’ }

The filename, directory name, or volume label syntax is incorrect.

Execution completed in 0.07 seconds

Results:

{‘out’: ‘D:/Arma/QGIS/Classification/testing5.xml’}

Loading resulting layers

Algorithm ‘ComputeImagesStatistics’ finished

is there certain requirement for input raster? or am I missing something re construct of xml output?

Hi,

I think this message comes from QGis. Since you are on Windows, maybe try with backslashes in your paths, i.e. “D:\Arma\QGIS\Classification\convert2.tif”

I get the following when switching to D:\Arma\QGIS\Classification\convert2.xml -

Input parameters:

{ ‘il’ : [‘D:/Arma/QGIS/Classification/WorkshopData/classification/images/20160607_T31TCJ_ROI_20m.tif’], ‘bv’ : 0, ‘out’ : ‘D:\\Arma\\QGIS\\Classification\\convert2.xml’ }

The filename, directory name, or volume label syntax is incorrect.

Is it possible to have this path field agnostic of OS type?

My previous answer was a wild guess. It is possible that QGIS handles properly both types.

Can you give a few informations on your OS and QGIS version ?

Thanks gpasero - I’m on Win 10 with QGIS 3.4.4

Just tested on QGIS 3.6 and it does the same on Windows. my other Ubuntu setup works fine at this step.

Hi Rossoe,
have a look at https://gitlab.orfeo-toolbox.org/orfeotoolbox/qgis-otb-plugin/issues/29 it seems that your issue is now solved!
Antoine