Opened 10 years ago

Closed 4 years ago

Last modified 4 years ago

#2040 closed defect (fixed)

g.mapset does not create WIND file if new mapset is created in other location

Reported by: mlennert Owned by: grass-dev@…
Priority: normal Milestone: 7.6.2
Component: Default Version: svn-trunk
Keywords: mapset WIND Cc:
CPU: Unspecified Platform: Unspecified

Description

In trunk:

GRASS 7.0.svn (nc_spm_08):/data/home/mlennert > g.mapset -c testmapset location=XY
Your shell continues to use the history for the old mapset
You can switch the history by commands:
history -w; history -r /data/GRASS/DATA7/XY/testmapset/.bash_history;

GRASS 7.0.svn (nc_spm_08):/data/home/mlennert > ls /data/GRASS/DATA7/XY/testmapset/
GRASS 7.0.svn (nc_spm_08):/data/home/mlennert >

g.region -d fixes the issue, but g.mapset should create the WIND file automatically.

Change History (7)

comment:1 by martinl, 7 years ago

Milestone: 7.0.07.0.5

comment:2 by neteler, 6 years ago

Milestone: 7.0.57.0.6

comment:3 by neteler, 5 years ago

Milestone: 7.0.67.0.7

comment:4 by martinl, 4 years ago

Still issue

g.mapset -c testmapset location=xy
WARNING: G__open(write): Unable to open
         '/opt/grassdata1/nc_spm_08_grass7/testmapset/WIND': No such file
         or directory
Mapset switched. Your shell continues to use the history for the old mapset

comment:5 by martinl, 4 years ago

Milestone: 7.0.77.6.2

comment:6 by mmetz, 4 years ago

Resolution: fixed
Status: newclosed

In 74429:

libgis: LOCATION -> LOCATION_NAME in G_make_mapset(), fixes #2040

comment:7 by mmetz, 4 years ago

In 74430:

libgis: LOCATION -> LOCATION_NAME in G_make_mapset(), fixes #2040 (backport trunk r74429)

Note: See TracTickets for help on using tickets.