Skip to content
This repository has been archived by the owner on Apr 14, 2018. It is now read-only.

read() takes at most 4 arguments (5 given) #53

Open
forestnd opened this issue Dec 10, 2014 · 0 comments
Open

read() takes at most 4 arguments (5 given) #53

forestnd opened this issue Dec 10, 2014 · 0 comments

Comments

@forestnd
Copy link

Hay running this the script on my rasbery pi and get the fallowing error
when running

sudo python libfitbit/python/fitbit.py
i get the output of

Traceback (most recent call last):
File "libfitbit/python/fitbit.py", line 386, in
sys.exit(main())
File "libfitbit/python/fitbit.py", line 352, in main
if not base.open():
File "/home/nigel_d/libfitbit/python/antprotocol/bases.py", line 28, in open
self.init()
File "/home/nigel_d/libfitbit/python/antprotocol/bases.py", line 53, in init
self._receive()
File "/home/nigel_d/libfitbit/python/antprotocol/libusb.py", line 94, in _receive
return self._connection.read(self.ep['in'], size, 0, self.timeout)
TypeError: read() takes at most 4 arguments (5 given)

any advise i be gratefull

kalon33 pushed a commit to kalon33/libfitbit that referenced this issue Sep 10, 2015
qdot added a commit that referenced this issue Nov 14, 2017
pyusb 1.0.0.b2 fix (issue #53)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant