pyUSB incompatibility?

Post here to get support
Post Reply
itsnotmyfault
Beginner
Posts: 2
Joined: Wed Sep 17, 2014 2:13 pm

pyUSB incompatibility?

Post by itsnotmyfault » Wed Sep 17, 2014 2:26 pm

While Using omwdunkley's https://bitbucket.org/bitcraze/crazyflie-pc-client I ran into a problem on linux, where I was getting a message complaining that I was using too many arguments.
"TypeError: write() takes at most 4 arguments (5 given)"

Others may be running into the same issue with pyUSB

The solution is to go into

/crazyflie-pc-client/lib/cflib/drivers/crazyradio.py line 245, 246

#remove third argument 0 for both read and write. similar to an issue in https://bitbucket.org/benallard/galileo ... t-10892785

Hope this helps someone else.



Post Reply