qgis / QGIS-Processing

Example scripts, algorithms etc
98 stars 86 forks source link

Failed processing due to bad vector file naming #64

Open vfp1 opened 8 years ago

vfp1 commented 8 years ago

Hi,

I have been noticing that when SHP are named with blank spaces, some processing such as v.buffer.distance from GRASS 7 in the processing toolbox fails to finish the processing with an "ERROR: vector map not found". Even if SHP should not be named with blank spaces, it will be nice for beginner users to get more descriptive error messages when such processes fail. Or even throw warning messages when vector files are saved with blank spaces.

Best,

skmcgowan commented 7 years ago

OMG. I just spent over an hour trying to figure out why my v.net.connect wasn't working and it was entirely due to this issue! The error message did not help at all.

gioman commented 7 years ago

@skmcgowan @vfp1 this should be reported in the QGIS bug tracker, not here.

Svantulden commented 7 years ago

@skmcgowan Thanks! Same here when I tried to dov.clean.advanced snap. Was so confused what I did wrong.

gioman commented 7 years ago

@volaya @alexbruy this can be closed in favor of this https://issues.qgis.org/issues/16731

maxzando commented 6 years ago

Not sure if this is the right place to ask for help, but I get a similar error:

WARNING: Default locale settings are missing. GRASS running with C locale. Starting GRASS GIS... Executing '/Users/maxzando/.qgis2//processing/grass7_batch_job.sh' ... ERROR: Vector map not found Execution of '/Users/maxzando/.qgis2//processing/grass7_batch_job.sh' finished. Cleaning up temporary files... Converting outputs Caricamento layer Algorithm v.to.3d - Performs transformation of 2D vector features to 3D. finished

I tried to rename the original vector, but I always get the same error over and over again... Any ideas?

nirvn commented 6 years ago

As a workaround the failing GRASS algorithm, you could use the "Set Z value", which does what v.to.3d do, but being a native algorithm will work out of the box flawlessly.

M

On Dec 22, 2017 6:06 PM, "maxzando" notifications@github.com wrote:

Not sure if this is the right place to ask for help, but I get a similar error:

WARNING: Default locale settings are missing. GRASS running with C locale. Starting GRASS GIS... Executing '/Users/maxzando/.qgis2//processing/grass7_batch_job.sh' ... ERROR: Vector map not found Execution of '/Users/maxzando/.qgis2//processing/grass7_batch_job.sh' finished. Cleaning up temporary files... Converting outputs Caricamento layer Algorithm v.to.3d - Performs transformation of 2D vector features to 3D. finished

I tried to rename the original vector, but I always get the same error over and over again... Any ideas?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/qgis/QGIS-Processing/issues/64#issuecomment-353576374, or mute the thread https://github.com/notifications/unsubscribe-auth/ABpgkTGKTUSH5Z6JUThIcnQp4UscQbqgks5tC41FgaJpZM4JKRdW .

gioman commented 6 years ago

As a workaround the failing GRASS algorithm, you could use the "Set Z value", which does what v.to.3d do, but being a native algorithm will work out of the box flawlessly.

anyway having a robust support for GRASS and SAGA algs is still pretty much paramount...

@maxzando file a ticket in the bug tracker (if there isn't already one about this matter) and add detailed steps and data to allow us replicate. Thanks!