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

Error when running garmin.py (cannot find the file specified) #105

Closed bertel76 closed 9 years ago

bertel76 commented 10 years ago

Hello

I am trying to use the Garmin extractor for a Garmin Forerunner 910XT. I´m doing this on Windows using Python 2.7 and have installed pyusb.

The info on the USB ANT stick in Device Manager is as follows: ANT USB Stick 2, driver version: 1.2.40.201, driver details: c:\Windows\system32\AntUsbClv2.dll, c:\Windows\system32\drivers\libusb0.sys, c:\Windows\system32\libusb0.dll

I get an error when I run garmin.py, here is the stacktrace:

C:\Python27\Tools\Garmin-Forerunner-610-Extractor-master>python Garmin.py Driver available: [<class ant.base.driver.USB2Driver at 0x01891340>, <class ant. base.driver.USB3Driver at 0x01891378>]

Interrupted: [Errno None] libusb0-dll:err [control_msg] sending control message failed, win error: The system cannot find the file specified.

Tigge commented 10 years ago

I don't think anyone have tried to get this running on Windows before at all. It might be possible but it might require some modifications to the code. If you want to continue on this path you might want to try the drivers from http://libusb.info/.

Besides this driver issue you'll probably run into a few path problems, among other thing. Since I don't have a Windows machine at all (the reason for this project) I can't really help much more than pointers like these.

Also, I'm curious. Why do you want to run this software instead of the official ant agent?

bertel76 commented 10 years ago

The reason is that I have a workout (an Ironman) that doesn´t upload with the ANT agent.

Garmin Connect hangs on the upload and Strava only gives me the swim leg, although the activity can be seen on the watch. The watch shows me the workout and the first lap but it looks like the file is corrupt as I never get past the swim leg.

I can´t access the fit file on the watch with the ANT agent and was hoping to do that with this tool and then fixing the file or at least get some more data out of it.

gjanko commented 9 years ago

Hi Bertel76. Have you been able to get this to work in windows? I have a bunch of workouts on my 910XT that I can't see on the watch or download. Any help would be greatly appreciated!

bertel76 commented 9 years ago

No not in Windows.

I installed Linux using a virtual machine (Virtualbox) and then ran the extractor on Linux. That worked for me.

gjanko commented 9 years ago

Ok. Thanks!

On 11/29/2014 1:00 PM, bertel76 wrote:

No not in Windows.

I installed Linux using a virtual machine (Virtualbox) and then ran the extractor on Linux. That worked for me.

— Reply to this email directly or view it on GitHub https://github.com/Tigge/Garmin-Forerunner-610-Extractor/issues/105#issuecomment-64959843.

Tigge commented 9 years ago

Duplicate of #113