GeospatialPython / pyshp

This library reads and writes ESRI Shapefiles in pure Python.
MIT License
1.1k stars 260 forks source link

'Writer' object has no attribute 'recNum' #156

Closed geniuszxd closed 6 years ago

geniuszxd commented 6 years ago

And also no "shpNum" and "autoBalance" attribute Are they removed? 1.2.12 with python 3.6

karimbahgat commented 6 years ago

Just checked the source code for 1.2.12, and seems .shpNum did not exist back then, and .autobalance was limited to the now extinct Editor class. Both exist in the current 2.0dev version. It seems you maybe read the most recent GitHub 2.0dev documentation but were using an older 1.2.12 version? Going to the update the pypi version here shortly.

karimbahgat commented 6 years ago

v2.0.0 now updated and available on PyPI.