Exception on python footprint wizard code {Lunix Ubuntu 20.04}

I saw that this issue came up back in 2018 but it was for a windows machine. I am having a similar issue when i try and run the footprint wizard. using Ubuntu V20.04

Traceback (most recent call last):

file “/usr/lib/python3/dist-packages/pcbnew.py”, line4065, in

File “/usr/share/kicad/scripting/plugins/FootprintWizardBase.py”,
line 149, in BuildFootprint
self.BuiltThisFootprint() #implementer’s build function

File “/usr/shar/kicad/scripting.plugins.bga_wizard.py”, line 87, in
array=BGAPadGridArray(pad, cols, rows, pad_pitch, pad_pitch)

File “/usr/share/kicad/scripting/plugins/PadArray.py”, line 215, in
super(PadGridArray, self).init(pad)

TypeError: super(type, obj): obj must be and instance or subtype of type