Filename issue with 'ComputeImagesStatistics'

#1

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?

0 Likes

#2

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”

0 Likes

#3

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?

0 Likes

#4

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 ?

0 Likes

#5

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

0 Likes

#6

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

0 Likes

#7

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

0 Likes