qdot/libfitbit — Issue #14: Difficulty getting this running on Ubuntu 11.10
Author: mooredan
Created: 2011-10-29 17:25:52+00:00
State: open

Maybe I just missing something basic, but any help would be appreciated.

The base is definitely seen by the system:

# lsusb | grep Cyg
Bus 002 Device 006: ID 10c4:84c4 Cygnal Integrated Products, Inc.

# ll /dev/*fit*
lrwxrwxrwx 1 root root 15 2011-10-28 17:44 /dev/fitbit-ant_2-1.5 -> bus/usb/002/006

...but I get an AttributeError when starting it:

# python fitbit.py
Traceback (most recent call last):
File "fitbit.py", line 351, in
sys.exit(main())
File "fitbit.py", line 317, in main
if not base.open():
File "/home/mooredan/src/libfitbit/python/antprotocol/bases.py", line 24, in open
if not super(FitBitANT, self).open(vid, pid):
File "/home/mooredan/src/libfitbit/python/antprotocol/libusb.py", line 63, in open
self._connection = usb.core.find(idVendor = vid,
AttributeError: 'module' object has no attribute 'core'

# dpkg --get-selections | grep usb | grep py
python-usb	install

# uname -a
Linux horsetooth 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/issue
Ubuntu 11.10 \n \l

Please let me know if you need more info, thanks.

Dan