pyBusPirateLite icon indicating copy to clipboard operation
pyBusPirateLite copied to clipboard

TypeError: super() takes at least 1 argument (0 given)

Open riverar opened this issue 6 years ago • 4 comments

Using latest master. Looks like this requires Python 3, might be worth noting.

Python 2.7.14 (v2.7.14:84471935ed, Sep 16 2017, 20:25:58) [MSC v.1500 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyBusPirateLite.I2C import *
>>> I2C()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "pyBusPirateLite\I2C.py", line 55, in __init__
    super().__init__()
TypeError: super() takes at least 1 argument (0 given)

riverar avatar Nov 14 '17 04:11 riverar

You are correct, I assume Python 3. Thanks for noticing, I will add a note.

juhasch avatar Nov 14 '17 21:11 juhasch

Heads up: I ran into other problems and ultimately abandoned this project. Doesn't seem to work properly at all, might be worth testing when you have some free time.

riverar avatar Nov 14 '17 23:11 riverar

That's true, @riverar. This is a great project, unfortunately, it has few blocking issues.

averri avatar Jul 03 '18 19:07 averri

Should work now.

juhasch avatar Sep 02 '18 16:09 juhasch