object.__setattr__ related errors "AttributeError: can't set attribute"
Closed this issue · 3 comments
ocrd-cis-ocopy-segment currently returns some AttributeErrors in some regions. Seems shapely misbehaves. The same error is discussed here: shapely/shapely#1207
The workflow I've used follows this sequence of processors: https://ocr-d.de/en/workflows#best-results-for-selected-pages
I am using the input images from this repository: https://ocr-d-repo.scc.kit.edu/api/v1/dataresources/b22282d5-a206-4def-9021-7302199f7326/data/mangoldt_unternehmergewinn_1855.ocrd.zip
Sorry, but that stacktrace is not helpful. (I wonder why it does not contain the part between ocropy.segment.make_intersection
and the actual shapely code that is problematic.)
Could you please try again with Shapely 1.7.x?
I have no idea why it does not contain more info. Shapely 1.7.1 works just fine!
We have set the Shapely dependency on hold in the master version. Closing for now – but we should revisit and analyse what needs to be changed for newer Shapely to work properly.