Opened 14 years ago
Closed 14 years ago
#1340 closed defect (fixed)
wxGUI uses improper .grassrc syntax and may cause .grassrc file corruption
Reported by: | marisn | Owned by: | martinl |
---|---|---|---|
Priority: | blocker | Milestone: | 6.4.1 |
Component: | wxGUI | Version: | svn-releasebranch64 |
Keywords: | g.gisenv | Cc: | grass-dev@… |
CPU: | Unspecified | Platform: | Unspecified |
Description
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!
Change History (4)
follow-up: 2 comment:1 by , 14 years ago
Cc: | added |
---|---|
Keywords: | g.gisenv added |
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 14 years ago
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Closing the ticket. Please feel free to re-open if needed.
Note:
See TracTickets
for help on using tickets.
Please try out r45821