[QGIS-Developer] Locked files (layers) in Windows

2018-04-12 Thread matteo
Hi all, it seems impossible to delete files (shapefiles in this specific case) if these are loaded in QGIS even if the project with this files is closed. The only way is to restart windows. Are there any other more friendly methods? Thanks to all Matteo

Re: [QGIS-Developer] Locked files (layers) in Windows

2018-04-12 Thread Régis Haubourg
Hi Matteo, can you check what file system type is used in you case. Is that a network shared file system, what type (Samba, NFS, etc...) Cheers Régis 2018-04-12 14:48 GMT+02:00 matteo : > Hi all, > > it seems impossible to delete files (shapefiles in this specific case) > if these are loaded in

Re: [QGIS-Developer] Locked files (layers) in Windows

2018-04-12 Thread Jürgen E . Fischer
Hi Matteo, On Thu, 12. Apr 2018 at 14:48:52 +0200, matteo wrote: > it seems impossible to delete files (shapefiles in this specific case) > if these are loaded in QGIS even if the project with this files is closed. > > The only way is to restart windows. > Are there any other more friendly metho

Re: [QGIS-Developer] Locked files (layers) in Windows

2018-04-12 Thread matteo
Hi Jurgen, >> The only way is to restart windows. > >> Are there any other more friendly methods? > > Like closing QGIS? ahaha sorry I mean restarting QGIS not Windows Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: h

Re: [QGIS-Developer] Locked files (layers) in Windows

2018-04-12 Thread Nyall Dawson
On 12 April 2018 at 22:48, matteo wrote: > Hi all, > > it seems impossible to delete files (shapefiles in this specific case) > if these are loaded in QGIS even if the project with this files is closed. > > The only way is to restart windows. > > Are there any other more friendly methods? Which v

Re: [QGIS-Developer] Locked files (layers) in Windows

2018-04-12 Thread matteo
Hi Regis, that's NTFS on a 64bit platform Thanks Matteo ___ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-develop

Re: [QGIS-Developer] Locked files (layers) in Windows

2018-04-12 Thread matteo
Hi Nyall, > Which version? There was a bug in 3.0.0 (fixed in 3.0.1, by > https://github.com/qgis/QGIS/commit/dff31a4a19 ) which meant the ogr > provider held a reference to a layer for 60 seconds after it was > removed from a project. my fault again. It's on 2.18. So in Q3 this issue is fixed?

Re: [QGIS-Developer] Locked files (layers) in Windows

2018-04-12 Thread Nyall Dawson
On 13 April 2018 at 15:39, matteo wrote: > Hi Nyall, > > >> Which version? There was a bug in 3.0.0 (fixed in 3.0.1, by >> https://github.com/qgis/QGIS/commit/dff31a4a19 ) which meant the ogr >> provider held a reference to a layer for 60 seconds after it was >> removed from a project. > > my faul