Opened 5 years ago

Closed 10 months ago

#2678 closed defect (wontfix)

GRASS starts even when Mapset is locked

Reported by: wenzeslaus Owned by: grass-dev@…
Priority: normal Milestone: 7.0.7
Component: Startup Version: svn-trunk
Keywords: init, grass.py, lock, locking, .gislock, GUI Cc:
CPU: Unspecified Platform: Linux

Description

When GUI is requested and location provided, GRASS starts even when location is locked.

Start GRASS in one terminal:

grass71 [.../grassdata/nc_spm_08_grass7/user1]

Start GRASS in another terminal, specify (the same) mapset in command line and ensure you start GUI:

grass71 .../grassdata/nc_spm_08_grass7/user1 -gui

This behavior is already present in r65235 (source:grass/trunk/lib/init/grass.py?rev=65235#L884).

For 7.0 branch it might be enough to just call exit after showing the error message in GUI. However, for trunk, there are some related refactoring and interface changes which would be good to do.

What needs to be changes is here:

Note that for debugging the grass.py you can use GRASS_DEBUG variable set to something.

Change History (8)

comment:1 Changed 4 years ago by neteler

Milestone: 7.0.17.0.2

Ticket retargeted after 7.0.1 milestone closed

comment:2 Changed 4 years ago by neteler

Milestone: 7.0.27.0.3

Ticket retargeted after milestone closed

comment:3 Changed 4 years ago by neteler

Milestone: 7.0.3

Ticket retargeted after milestone closed

comment:4 Changed 4 years ago by neteler

Milestone: 7.0.4

Ticket retargeted after 7.0.3 milestone closed

comment:5 Changed 4 years ago by martinl

Milestone: 7.0.47.0.5

comment:6 Changed 3 years ago by neteler

Milestone: 7.0.57.0.6

comment:7 Changed 22 months ago by neteler

Milestone: 7.0.67.0.7

comment:8 Changed 10 months ago by martinl

Resolution: wontfix
Status: newclosed

No activity.

Note: See TracTickets for help on using tickets.