Bug report #14459

v.transform affine ERROR: v.out.ogr: Sorry, <z> is not a valid flag

Added by Andre Jesus over 8 years ago. Updated over 8 years ago.

Status:Closed
Priority:Normal
Assignee:Victor Olaya
Category:Processing/GRASS
Affected QGIS version:2.14.0 Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:invalid
Crashes QGIS or corrupts data:No Copied to github as #:22437

Description

The tool can not be executed return the following error:

This algorithm cannot be run :-( 
It seems that GRASS is not correctly installed and configured in your system. Please install it before running GRASS algorithms.

Here is the error:

ERROR: v.out.ogr: Sorry, <z> is not a valid flag

Other GRASS tools seems to run OK

History

#1 Updated by Andre Jesus over 8 years ago

The problem lies in folders configuration in the provider options for GRASS. Both GRASS and MSYS paths are wrong and the MSYS folder is missing from the installer. Using the one that came with the LTR install do the trick.

#2 Updated by Anita Graser over 8 years ago

  • Subject changed from v.transform affine to v.transform affine ERROR: v.out.ogr: Sorry, <z> is not a valid flag

#3 Updated by Médéric RIBREUX over 8 years ago

  • Status changed from Open to Feedback

Hello, bug triage...

I am sorry, I can't reproduce it on Processing GRASS7 (on Debian Stretch). Are you using GRASS6 in Processing ? Is there only a problem for v.transform or all algorithms are affected as well ?

To be sure I haven't forgotten anything, could you tell us what were all of the parameters (of v.transform) you have used to reproduce the bug ?

#4 Updated by Andre Jesus over 8 years ago

hi.

Médéric RIBREUX wrote:

Hello, bug triage...

I am sorry, I can't reproduce it on Processing GRASS7 (on Debian Stretch). Are you using GRASS6 in Processing ? Is there only a problem for v.transform or all algorithms are affected as well ?

No, I'm using GRASS6's v.transform. I didn't tried GRASS7 but my guess It will be the same. i didn't use any other tool, but since I corrected the path in the provider option It may work.

To be sure I haven't forgotten anything, could you tell us what were all of the parameters (of v.transform) you have used to reproduce the bug ?

I'll clean install 2.14 again to get the log

#5 Updated by Andre Jesus over 8 years ago

GRASS GIS 6 (enabled by default)
GRASS Folder: C:/PROGRA~1/QGISES~1/apps\\grass\\grass-7.0.3 (exists, but wrong version? - full path: C:\\Program Files\\QGIS Essen\\apps\\grass\\grass-7.0.3)
MSYS Folder: C:/PROGRA~1/QGISES~1/apps\\msys (does not exist)
Can not open v.transform

GRASS GIS 7 (disabled by default)
GRASS Folder: C:/PROGRA~1/QGISES~1/apps\\grass\\grass-7.0.3 (exists - full path: C:\\Program Files\\QGIS Essen\\apps\\grass\\grass-7.0.3)
MSYS Folder: C:/PROGRA~1/QGISES~1/apps\\msys (does not exist)
Can open v.transform

Looks like all GRASS7 tools are working, even without MSYS files. On the other hand none of GRASS6 are able to open without a valid MSYS folder.

I guess It's just a matter of setting up the default GRASS version (7) or totally remove GRASS6 from QGIS.

#6 Updated by Alexander Bruy over 8 years ago

Andre Jesus wrote:

GRASS GIS 6 (enabled by default)
GRASS Folder: C:/PROGRA~1/QGISES~1/apps\\grass\\grass-7.0.3 (exists, but wrong version? - full path: C:\\Program Files\\QGIS Essen\\apps\\grass\\grass-7.0.3)
MSYS Folder: C:/PROGRA~1/QGISES~1/apps\\msys (does not exist)

This is correct PATH, "PROGRA~1" is just shortened version of "Program Files". This how Windows usually handles names longer that 8 characters. Version also correct, as by default QGIS shipped with GRASS 7.

#7 Updated by Giovanni Manghi over 8 years ago

  • Resolution set to invalid
  • Status changed from Feedback to Closed
  • Target version deleted (Version 2.14)

If I'm not wrong this can be closed, right? Reopen if necessary.

Also available in: Atom PDF