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

Giovanni Manghi giovanni.manghi at gmail.com
Fri Sep 16 01:55:17 PDT 2016


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
> xxx.shp|layerid=0 in read-only mode" and "Data source is invalid
> (Unable to open xxx.shx or xxx.SHX.Try --config SHAPE_RESTORE_SHX true
> to restore or create it)" in the log.
>
> A full report is at http://hub.qgis.org/issues/15570


geez... this unfortunately sounds familiar... remember all the issues
with deleted features and shapefiles opened in software other than
QGIS?

Can this be something related to that?

cheers

-- G --


More information about the Qgis-developer mailing list