I am trying to update CensusCheck:
It constructs a SimpleTable but the table.write fails at doc._tbl.set_column_widths([100 / columns] * columns) with error AttributeError: ‘TextBufDoc’ object has no attribute ‘_tbl’.
I notice that SimpleTable is no longer used in any of the addons or in the core Gramps code, although it is imported in a few places, and is mentioned in the documentation.
Is there a bug in SimpleTable that _tbl should be something else.
QuickTable inherits from SimpleTable. But what is the point of this arrangement if SimpleTable.write does not work and is never used. I do understand the point of abstraction and inheritance, but this is not doing that. SimpleTable is not implementing any abstraction (not least because it does not seem to work on its own). Abstraction is not just using a few bits of code from one place in another place.