Opened 7 years ago

Closed 20 months ago

Last modified 20 months 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 Changed 5 years ago by martinl

Milestone: 7.0.07.0.5

comment:2 Changed 4 years ago by neteler

Milestone: 7.0.57.0.6

comment:3 Changed 3 years ago by neteler

Milestone: 7.0.67.0.7

comment:4 Changed 2 years ago by martinl

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 Changed 20 months ago by martinl

Milestone: 7.0.77.6.2

comment:6 Changed 20 months ago by mmetz

Resolution: fixed
Status: newclosed

In 74429:

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

comment:7 Changed 20 months ago by mmetz

In 74430:

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

Note: See TracTickets for help on using tickets.