#12: gis.m->Help->About system doesn't work (launches another gis.m instance)
----------------------+-----------------------------------------------------
Reporter: neteler | Owner: [email protected]
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 <[EMAIL PROTECTED]>
--
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.
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev