Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-10-08 Thread Luca Lanteri
I've encountered the same problem when i try to split some polygons. I don't really understand what was the problem, just some hint: - it occours only on windows. The same shapefile works fine on Linux. - it also affects qgis 2.14 - is not connected with topology error. The problem remain also

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-10-06 Thread Nyall Dawson
On 7 Oct 2016 12:28 AM, "Even Rouault" wrote: > > Le vendredi 16 septembre 2016 03:08:37, Nyall Dawson a écrit : > > Unfortunately a fairly nasty regression has slipped in to 2.16 and is > > still present on master. This results in shapefile corruption in > > certain

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-10-06 Thread Even Rouault
Le samedi 17 septembre 2016 00:00:55, Jeff McKenna a écrit : > On 2016-09-16 3:53 PM, Even Rouault wrote: > > One of my hypothesis is some bad interaction with the "connection pool". > > Could you (or anyone) open the attribute table before doing the edits,and > > do the edits and commit them no

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-10-06 Thread Even Rouault
Le vendredi 16 septembre 2016 03:08:37, Nyall Dawson a écrit : > Unfortunately a fairly nasty regression has slipped in to 2.16 and is > still present on master. This results in shapefile corruption in > certain circumstances. I've commited in GDAL trunk and 2.1 branch a fix that revises the way

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-20 Thread Even Rouault
Le mardi 20 septembre 2016 13:11:36, Giovanni Manghi a écrit : > Hi all, > > > One of my hypothesis is some bad interaction with the "connection pool". > > Could you (or anyone) open the attribute table before doing the edits,and > > do the edits and commit them no more than 60 seconds afterwards

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-20 Thread Giovanni Manghi
Hi all, > One of my hypothesis is some bad interaction with the "connection pool". > Could you (or anyone) open the attribute table before doing the edits,and do > the edits and commit them no more than 60 seconds afterwards ? this sounds familiar too... this is exactly how the editing workflow

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-17 Thread Jeff McKenna
On 2016-09-16 10:48 PM, Randal Hale wrote: I just ran a test Randy, can you try with the osm-lands shapefile that I linked to in my message? I'm curious how it works on other systems. This problem could just be on Windows it sounds like.

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Randal Hale
I just ran a test Ubuntu Linux QGIS 2.16.2 Shapefile with 925,000+ polygons I opened the attribute table which took a bit. Started editing. Split 5 polygons. Saved. Stopped editing. Removed the layer. Added it back - it didn't corrupt. I'm wondering if I should have done something more

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Jeff McKenna
On 2016-09-16 7:00 PM, Jeff McKenna wrote: On 2016-09-16 3:53 PM, Even Rouault wrote: One of my hypothesis is some bad interaction with the "connection pool". Could you (or anyone) open the attribute table before doing the edits,and do the edits and commit them no more than 60 seconds

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Jeff McKenna
On 2016-09-16 3:53 PM, Even Rouault wrote: One of my hypothesis is some bad interaction with the "connection pool". Could you (or anyone) open the attribute table before doing the edits,and do the edits and commit them no more than 60 seconds afterwards ? I'm not sure but this might perhaps

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Jeff McKenna
On 2016-09-16 3:53 PM, Even Rouault wrote: One of my hypothesis is some bad interaction with the "connection pool". Could you (or anyone) open the attribute table before doing the edits,and do the edits and commit them no more than 60 seconds afterwards ? I'm not sure but this might perhaps

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Even Rouault
Le vendredi 16 septembre 2016 20:27:05, Jeff McKenna a écrit : > I just tried to reproduce with QGIS 2.16.2 on Windows 10, I had no > problems using the "Split Features" tool on a shapefile, and saving. I > notice that the .dbf .shp .shx were modified properly. > > (I did have a brain lapse to

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Jeff McKenna
I just tried to reproduce with QGIS 2.16.2 on Windows 10, I had no problems using the "Split Features" tool on a shapefile, and saving. I notice that the .dbf .shp .shx were modified properly. (I did have a brain lapse to remember that the Split Features tool lives in the /edit menu ha)

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Lene Fischer
Hi Nyall, I have been using 2.16 in a 3 week summer class. We have been using these functions, and not seen the described errors. We use OS : Windows 7 and 8 - the MAC users was using 2.14 Is it on Linux you get the errors ? Regards Lene Fischer -Oprindelig meddelelse- Fra:

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Geo DrinX
Hi Nyall, 2016-09-16 3:08 GMT+02:00 Nyall Dawson : Unfortunately a fairly nasty regression has slipped in to 2.16 and is > still present on master. perhaps, the name "NODEB" stands for "--NODEBug" ? :( > This results in shapefile corruption in > certain

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Saber Razmjooei
There was another report of Shapefile corruption earlier with 2.14 which I thought it could be side effects of the solution for #11007: http://hub.qgis.org/issues/15407 Cheers, Saber -Original Message- From: Qgis-developer [mailto:qgis-developer-boun...@lists.osgeo.org] On Behalf Of

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Giovanni Manghi
Hi all, > While I've hit this issue maybe 3 or 4 times in the last 2 months, I > haven't been able to track down exactly what causes this. It seems > related to using the split or reshape tool on a shapefile, then saving > the changes and getting the errors "Cannot reopen datasource >

Re: [Qgis-developer] Warning - shapefile corruption on 2.16/master and how to recover

2016-09-16 Thread Nyall Dawson
On 16 September 2016 at 16:16, Lene Fischer wrote: > Hi Nyall, > I have been using 2.16 in a 3 week summer class. We have been using these > functions, and not seen the described errors. > We use OS : Windows 7 and 8 - the MAC users was using 2.14 > > Is it on Linux you get the