[GRASS-dev] Re: [GRASS-trac] #12: gis.m->Help->About system doesn't work (launches another gis.m instance)

GRASS-trac trac at osgeo.org
Tue Jan 1 14:54:30 EST 2008


#12: gis.m->Help->About system doesn't work (launches another gis.m instance)
----------------------+-----------------------------------------------------
  Reporter:  neteler  |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  major    |   Milestone:  6.3.0                    
 Component:  default  |     Version:  unspecified              
Resolution:           |    Keywords:                           
----------------------+-----------------------------------------------------
Comment (by neteler):

 (copied here from the Mailing list)

 This is just a symptom of a larger problem, namely that the Gm::errmsg
 procedure is defined in gm.tcl, which cannot be "source"d (because
 doing so will "run" gis.m).

 Gm::errmsg belongs in a "library", i.e. a Tcl source file which can be
 "source"d from other Tcl source files.

 Also: gm.tcl calls Gm::errmsg from top-level code at the beginning of
 the file (the code which copies various g.gisenv settings into $env),
 although the procedure isn't actually defined until much later in the
 file. If any of those "catch" statements actually catch an error, the
 handler will throw an error due to Gm::errmsg being undefined.

 --
 Glynn Clements <glynn at ...>

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/12#comment:2>
GRASS-trac <http://grass.osgeo.org>
Commonly referred to as GRASS, this is a Geographic Information System (GIS) used for geospatial data management and analysis, image processing, graphics/maps production, spatial modeling, and visualization. GRASS is currently used in academic and commercial settings around the world, as well as by many governmental agencies and environmental consulting companies.


More information about the grass-dev mailing list