[GRASS-dev] Re: [GRASS GIS] #979: WxGUI fails to display vector attribute table if default db connection is missing

GRASS GIS trac at osgeo.org
Tue Mar 9 09:21:34 EST 2010


#979: WxGUI fails to display vector attribute table if default db connection is
missing
------------------------------+---------------------------------------------
  Reporter:  marisn           |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect           |      Status:  new                      
  Priority:  critical         |   Milestone:  6.4.0                    
 Component:  wxGUI            |     Version:  svn-releasebranch64      
Resolution:                   |    Keywords:  wxgui, wingrass, database
  Platform:  MSWindows Vista  |         Cpu:  x86-32                   
------------------------------+---------------------------------------------
Changes (by marisn):

  * summary:  WxGUI fails to display vector attribute table => WxGUI fails
              to display vector attribute table if default db
              connection is missing

Comment:

 Hamish, You are right about db.connect issue. I just started to look into
 code and also decided to test db.connect output:

 {{{
 (Tue Mar 09 16:06:12 2010)
 db.connect -p
 driver:
 database:
 schema:
 group:
 (Tue Mar 09 16:06:12 2010) Command finished (0 sec)
 }}}

 First step to reproduce issue is "Create new mapset in wxgui startup
 screen".

 When I created new mapset in wxgui startup screen, it's directroy had only
 "WIND" file and ".tmp" folder. No "VAR" files. Missing "VAR" file in new
 mapsets is discussed in #7

 Still wxgui should NOT fail if default DB connection is missing (or is
 incorrect etc.), as only selected vector map connection matters.

 When I copy vector map from PERMANENT to newMapset with g.copy, there is
 message, that ~"Default db connection is created" and also afterwards
 there is an "VAR" file in mapset. Then displaying attribute data for
 current mapset or PERMANENT works just fine.

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


More information about the grass-dev mailing list