Bug report #3470

GRASS error(s?) missing error details

Added by Aren Cambre about 13 years ago. Updated almost 8 years ago.

Affected QGIS version:master Regression?:No
Operating System:Windows Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:13530


If I try to get GRASS to import a PostGIS DB, the result is this error:
DBMI-DBF driver error:

Yes, that's right, there is no error condition specified.

If I take the exact same command and run it directly in GRASS 6.4.1 RC1 (installed separately), I get this error:
Cannot connect to Postgres: fe_sendauth: no password

I cannot remember how I did it now, but I had at least one other GRASS command have an error without any error details. It appears the build of GRASS may be missing the logic or strings to produce error details.


#1 Updated by Aren Cambre about 13 years ago

I also downgraded to GRASS 6.4.0-1 and produced the same results: the standalone GRASS shows error messages that are missing from the one included in QGIS.

#2 Updated by Aren Cambre about 13 years ago

Just to be clear, the problem here is that the error message is being suppressed, not that there is an error.

I have filed http://trac.osgeo.org/grass/ticket/1274 separately about the error.

#3 Updated by Giovanni Manghi about 12 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#4 Updated by Paolo Cavallini almost 12 years ago

  • Affected QGIS version set to master
  • Crashes QGIS or corrupts data set to No
  • Target version changed from Version 1.7.4 to Version 1.8.0

#5 Updated by Paolo Cavallini over 11 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

#6 Updated by Jürgen Fischer over 9 years ago

  • Target version changed from Version 2.0.0 to Future Release - Lower Priority

#7 Updated by Radim Blazek almost 8 years ago

  • Status changed from Open to Closed
  • Pull Request or Patch supplied set to No

It is not mentioned which module exactly, I tried with v.in.ogr from GRASS Tools and incorrect Postgres password and now it prints in output:

FATAL:  password authentication failed for user "xxx" 

Also available in: Atom PDF