[GRASS-dev] Re: [GRASS GIS] #381: wxgui: Show attribute data depends on global db connection, not file db connection parameter

GRASS GIS trac at osgeo.org
Mon Dec 1 04:23:02 EST 2008


#381: wxgui: Show attribute data depends on global db connection, not file db
connection parameter
--------------------------+-------------------------------------------------
  Reporter:  mlennert     |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect       |      Status:  new                      
  Priority:  major        |   Milestone:  6.4.0                    
 Component:  wxGUI        |     Version:  unspecified              
Resolution:               |    Keywords:                           
  Platform:  Unspecified  |         Cpu:  Unspecified              
--------------------------+-------------------------------------------------
Comment (by mlennert):

 Just checked again and the issue is actually that the db.connect
 parameters point to a non-existing database. That is why the db.tables
 call fails.

 So, not sure if this is to be considered as a bug. On the other hand, it
 is an "inconvenience", if you have maps linked to different databases in
 your mapset and might be confusing, when the v.db.connect parameters work.

 This is why I said:
 "Probably attribute management of a single map and table management for
 the default database need to be decoupled somehow..."

 But maybe just a more explicit error message (e.g. "Please use db.connect
 to set database parameters"), might be helpful.

 Leaving it open for now to keep it in mind, but if you want to close is as
 "worksforme" then that's fine with me.

 Moritz

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/381#comment:4>
GRASS GIS <http://grass.osgeo.org>


More information about the grass-dev mailing list