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

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

@forestnd

Description

@forestnd

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions