GDAL
March 31, 2011, 12:34pm
1
#1340: wxGUI uses improper .grassrc syntax and may cause .grassrc file corruption
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: blocker | Milestone: 6.4.1
Component: wxGUI | Version: svn-releasebranch64
Keywords: | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
For historical reasons init.sh and gis_set.tcl use following .grassrc
syntax:
{{{
IDENTIFIER: STRING
}}}
For some strange reason wxGUI uses (note extra space after identifier):
{{{
IDENTIFIER : STRING
}}}
As init.sh and gis_set.tcl both expect no extra space after identifier,
some of their regexp's doesn't work as expected leading to improper
results.
Steps to reproduce:
* rm .grassrc6
* start GRASS with -text or -tcltk
* quit GRASS
* start GRASS with -wxpython and choose different mapset
* quit GRASS
* inspect .grassrc6 file -> it contains TWO lines MAPSET!
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1340> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
April 1, 2011, 8:05pm
2
#1340: wxGUI uses improper .grassrc syntax and may cause .grassrc file corruption
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: martinl
Type: defect | Status: assigned
Priority: blocker | Milestone: 6.4.1
Component: wxGUI | Version: svn-releasebranch64
Keywords: g.gisenv | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Changes (by martinl):
* cc: grass-dev@… (added)
* keywords: => g.gisenv
* status: new => assigned
* owner: grass-dev@… => martinl
Comment:
Please try out r45821
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1340#comment:1> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
April 1, 2011, 8:05pm
3
#1340: wxGUI uses improper .grassrc syntax and may cause .grassrc file corruption
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: martinl
Type: defect | Status: assigned
Priority: blocker | Milestone: 6.4.1
Component: wxGUI | Version: svn-releasebranch64
Keywords: g.gisenv | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by martinl):
Replying to [comment:1 martinl]:
> Please try out r45821
(devbr6)
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1340#comment:2> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
April 3, 2011, 7:41am
4
#1340: wxGUI uses improper .grassrc syntax and may cause .grassrc file corruption
-------------------------+--------------------------------------------------
Reporter: marisn | Owner: martinl
Type: defect | Status: assigned
Priority: blocker | Milestone: 6.4.1
Component: wxGUI | Version: svn-releasebranch64
Keywords: g.gisenv | Platform: Unspecified
Cpu: Unspecified |
-------------------------+--------------------------------------------------
Comment(by martinl):
Replying to [comment:2 martinl]:
> Replying to [comment:1 martinl]:
> > Please try out r45821
>
> (devbr6)
Backported to relbr64 in r45829.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1340#comment:3> ;
GRASS GIS <http://grass.osgeo.org >
GDAL
April 5, 2011, 2:27pm
5
#1340: wxGUI uses improper .grassrc syntax and may cause .grassrc file corruption
--------------------------+-------------------------------------------------
Reporter: marisn | Owner: martinl
Type: defect | Status: closed
Priority: blocker | Milestone: 6.4.1
Component: wxGUI | Version: svn-releasebranch64
Resolution: fixed | Keywords: g.gisenv
Platform: Unspecified | Cpu: Unspecified
--------------------------+-------------------------------------------------
Changes (by martinl):
* status: assigned => closed
* resolution: => fixed
Comment:
Closing the ticket. Please feel free to re-open if needed.
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/1340#comment:4> ;
GRASS GIS <http://grass.osgeo.org >