Tigge / antfs-cli

Extracts FIT files from ANT-FS based sport watches such as Garmin Forerunner 60, 405CX, 310XT, 610 and 910XT.
MIT License
312 stars 76 forks source link

DriverNotFound #97

Closed iangreenleaf closed 10 years ago

iangreenleaf commented 10 years ago

Same error as #92, but I'm not sure it's the same cause, so thought I'd open a separate ticket for it. Had a nice working installation on Arch Linux. Then I did a system upgrade and now I'm getting this error:

Driver available: [<class ant.base.driver.USB2Driver at 0x7f7388c6eae0>, <class ant.base.driver.USB3Driver at 0x7f7388c6eb48>]
Traceback (most recent call last):
  File "/usr/bin/garmin-extractor", line 336, in main
    g = Garmin(options.upload)
  File "/usr/bin/garmin-extractor", line 137, in __init__
    Application.__init__(self)
  File "/usr/lib/python2.7/site-packages/ant/fs/manager.py", line 82, in __init__
    self._node = Node()
  File "/usr/lib/python2.7/site-packages/ant/easy/node.py", line 48, in __init__
    self.ant = Ant()
  File "/usr/lib/python2.7/site-packages/ant/base/ant.py", line 46, in __init__
    self._driver = find_driver()
  File "/usr/lib/python2.7/site-packages/ant/base/driver.py", line 248, in find_driver
    raise DriverNotFound
DriverNotFound
Interrupted: 

libusb 1.0.18-1 and pyusb 1.0.0b1.

I even tried setting up a pyenv/virtualenv sandbox to make sure it wasn't something screwy with my system Python, but that is encountering the same error.

Tigge commented 10 years ago

Have you installed the udev rules? Can you post the output of dmesg when you connect your ANT stick?

iangreenleaf commented 10 years ago

Upon further testing, I discovered that somehow the front USB ports on my machine have become completely disabled. So it's nothing to do with this tool. Sorry for the red herring, and thanks for such a useful piece of software!