Bug report #3470

GRASS error(s?) missing error details

Added by Aren Cambre almost 14 years ago. Updated over 8 years ago.

Status:Closed
Priority:Low
Assignee:-
Category:GRASS
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

Description

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
supplied

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.

History

#1 Updated by Aren Cambre almost 14 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 almost 14 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 almost 13 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#4 Updated by Paolo Cavallini over 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 about 12 years ago

  • Target version changed from Version 1.8.0 to Version 2.0.0

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

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

#7 Updated by Radim Blazek over 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