{"issue":{"state":"open","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"user":{"avatar_url":"https://secure.gravatar.com/avatar/9bb3c9b9e7d53b3ae69a669c31744b10?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"9bb3c9b9e7d53b3ae69a669c31744b10","url":"https://api.github.com/users/mooredan","login":"mooredan","id":441535},"milestone":null,"assignee":null,"labels":[],"updated_at":"2011-10-29T19:22:24Z","closed_at":null,"comments":1,"url":"https://api.github.com/repos/qdot/libfitbit/issues/14","body":"Maybe I just missing something basic, but any help would be appreciated.\r\n\r\nThe base is definitely seen by the system:\r\n\r\n# lsusb | grep Cyg\r\nBus 002 Device 006: ID 10c4:84c4 Cygnal Integrated Products, Inc. \r\n\r\n# ll /dev/*fit*\r\nlrwxrwxrwx 1 root root 15 2011-10-28 17:44 /dev/fitbit-ant_2-1.5 -> bus/usb/002/006\r\n\r\n...but I get an AttributeError when starting it:\r\n\r\n# python fitbit.py \r\nTraceback (most recent call last):\r\n  File \"fitbit.py\", line 351, in <module>\r\n    sys.exit(main())\r\n  File \"fitbit.py\", line 317, in main\r\n    if not base.open():\r\n  File \"/home/mooredan/src/libfitbit/python/antprotocol/bases.py\", line 24, in open\r\n    if not super(FitBitANT, self).open(vid, pid):\r\n  File \"/home/mooredan/src/libfitbit/python/antprotocol/libusb.py\", line 63, in open\r\n    self._connection = usb.core.find(idVendor = vid,\r\nAttributeError: 'module' object has no attribute 'core'\r\n\r\n\r\n# dpkg --get-selections | grep usb | grep py\r\npython-usb\t\t\t\t\tinstall\r\n\r\n\r\n# uname -a\r\nLinux 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\r\n\r\n\r\n# cat /etc/issue\r\nUbuntu 11.10 \\n \\l\r\n\r\n\r\nPlease let me know if you need more info, thanks.\r\n\r\nDan","html_url":"https://github.com/qdot/libfitbit/issues/14","number":14,"title":"Difficulty getting this running on Ubuntu 11.10","id":2087705,"created_at":"2011-10-29T17:25:52Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/80d4065bd552099000f04038b31cde88?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"80d4065bd552099000f04038b31cde88","url":"https://api.github.com/users/qdot","login":"qdot","id":34539},"updated_at":"2011-10-29T19:22:24Z","url":"https://api.github.com/repos/qdot/libfitbit/issues/comments/2566422","body":"You'll need to install the libusb-1.0_0-dev package ( I may have the dashes\nand underscores out of order there, check apt-cache).\n\nOn Sat, Oct 29, 2011 at 10:25 AM, mooredan <\nreply@reply.github.com>wrote:\n\n> Maybe I just missing something basic, but any help would be appreciated.\n>\n> The base is definitely seen by the system:\n>\n> # lsusb | grep Cyg\n> Bus 002 Device 006: ID 10c4:84c4 Cygnal Integrated Products, Inc.\n>\n> # ll /dev/*fit*\n> lrwxrwxrwx 1 root root 15 2011-10-28 17:44 /dev/fitbit-ant_2-1.5 ->\n> bus/usb/002/006\n>\n> ...but I get an AttributeError when starting it:\n>\n> # python fitbit.py\n> Traceback (most recent call last):\n>  File \"fitbit.py\", line 351, in <module>\n>    sys.exit(main())\n>  File \"fitbit.py\", line 317, in main\n>    if not base.open():\n>  File \"/home/mooredan/src/libfitbit/python/antprotocol/bases.py\", line 24,\n> in open\n>    if not super(FitBitANT, self).open(vid, pid):\n>  File \"/home/mooredan/src/libfitbit/python/antprotocol/libusb.py\", line 63,\n> in open\n>    self._connection = usb.core.find(idVendor = vid,\n> AttributeError: 'module' object has no attribute 'core'\n>\n>\n> # dpkg --get-selections | grep usb | grep py\n> python-usb                                      install\n>\n>\n> # uname -a\n> Linux horsetooth 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 UTC 2011\n> x86_64 x86_64 x86_64 GNU/Linux\n>\n>\n> # cat /etc/issue\n> Ubuntu 11.10 \\n \\l\n>\n>\n> Please let me know if you need more info, thanks.\n>\n> Dan\n>\n> --\n> Reply to this email directly or view it on GitHub:\n> https://github.com/qdot/libfitbit/issues/14\n>","id":2566422,"created_at":"2011-10-29T19:22:24Z"}}