Shapely: fread(34) failed on DBF file

I all, when I create the file shp with the command:
dstogr = ogr.GetDriverByName(“ESRI Shapefile”).CreateDataSource(“file.shp”)

I obtain the following error:
fread( “34)” failed on DBF file

on google I don’t find any answer. Can someone help me?
thank you very much
Best Regards

1 Like