Apparently (https://stackoverflow.com/a/64744395) this error appears in Python 3.9 and following because gititerator() has been replaced by iter()
This issue has been fixed in version 0.4 (https://github.com/andrewsomething/typecatcher/issues/16), but only version 0.3 is available in the default repository (jammy).
I fixed the issue on my installation of typecatcher 0.3 by editing /usr/lib/python3/dist-packages/typecatcher_lib/Builder.py and replacing both instances of gititerator with iter on lines 86 and 108.
Apparently (https:/ /stackoverflow. com/a/64744395) this error appears in Python 3.9 and following because gititerator() has been replaced by iter()
This issue has been fixed in version 0.4 (https:/ /github. com/andrewsomet hing/typecatche r/issues/ 16), but only version 0.3 is available in the default repository (jammy).
I fixed the issue on my installation of typecatcher 0.3 by editing /usr/lib/ python3/ dist-packages/ typecatcher_ lib/Builder. py and replacing both instances of gititerator with iter on lines 86 and 108.