I've been getting this error just from adding the unit and trying to run the program with it initializing:
Traceback (most recent call last):
File "<stdin>", line 25, in <module>
File "<stdin>", line 13, in setup
TypeError: function takes 4 positional arguments but 2 were given
This is just from the default init code that is added when you include a unit. Any idea how to fix this?