[Qgis-developer] .gislock

Benjamin Ducke benjamin.ducke at oxfordarch.co.uk
Tue Jan 20 04:11:12 EST 2009


If the lock file is left on the disk because of a program crash,
then trying to delete it on program close might not always work.

On the other hand, deleting a lock file present on the disk
on program startup (or rather: when the user connects to the
mapset) is not a good idea, because that file might be there
for a good reason (e.g. someone else working on the same mapset
over a network connection)!

There needs to be a mechanism to detect whether the GRASS plugin
or QGIS itself have crashed while connected to mapset A. If that is
true, then the GRASS plugin should tell the user, next time he or
she connects to mapset A, that a crash occured in the last session
and offer to remove the lock file.

Ben

Robert Szczepanek wrote:
> Cytowanie Paolo Cavallini <cavallini at faunalia.it>:
> 
>> Hi all.
>> We had several reports of problems in using the grass plugin on win. If
>> the program is not closed correctly, .gislock files can be left over,
>> and this makes it impossible to use the mapset again. It is probably
>> better solving this, eg by deleting .gislock every time qgis closes.
>> All the best.
>> --
>> Paolo Cavallini, see: * http://www.faunalia.it/pc *
> 
> I confirm the problem.
> Simple solutions are the best.
> 
> +1
> 
> Great work Paolo.
> Many people are waiting for your Win-version like for Christmas :)
> 
> Robert Szczepanek
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> 


-- 
Benjamin Ducke
Senior Applications Support and Development Officer

Oxford Archaeology Ltd
Janus House
Osney Mead
OX2 0ES
Oxford, U.K.

Tel: +44 (0)1865 263 800 (switchboard)
Tel: +44 (0)1865 980 758 (direct)
Fax :+44 (0)1865 793 496
benjamin.ducke at oxfordarch.co.uk




------
Files attached to this email may be in ISO 26300 format (OASIS Open Document Format). If you have difficulty opening them, please visit http://iso26300.info for more information.



More information about the Qgis-developer mailing list