Open OGiesecke opened 1 year ago
For the immediate error, It appears that _block_id_maps
only gets initialized for the block types that are present in the document, which I believe is a bug because block_id_map(block_type)
& block_map(block_type)
are documented/exposed functions.
However, I suspect initialising the map alone won't solve the issue, because there must be some reason the loader is searching for a TABLE_TITLE
block when the TDocument
state hasn't seen any.
Would you be able to share a non-confidential document/image that reproduces this issue?
_block_id_maps
initialization was addressed in the linked PR and now released on PyPI v1.0.3.
I appreciate this issue was originally reported quite some time ago - If anybody's able to share a document that can reproduce it (or even better to test on v1.0.3+ and confirm whether it's helped) we can dive deeper. Otherwise, we'll probably close it out.
I run:
And get the following error: