Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Found device, but no data available for download. #55

Open
mrsticks opened this issue Mar 25, 2014 · 2 comments
Open

Found device, but no data available for download. #55

mrsticks opened this issue Mar 25, 2014 · 2 comments

Comments

@mrsticks
Copy link

First off, thanks for writing this software. I've been using it for about 18 months with zero issues. That is, until today! Beyond that, it's worked fine.

I first installed this in Sept 2012 on my current laptop. My OS install and watch haven't changed. I used this program 2 weeks ago to take some runs off the watch, and it worked as expected. I went on vacation, went for a few runs and when I came home the other day and tried to grab the runs off the watch, I got the error in the title.

I thought maybe some recent OS update might've broke something, so I installed the newest version of your software from master. The error message was styled a little differently, but it was the same.

I am running Ubuntu 12.04.4 x86 with a Garmin 405. I havent changed the watch settings, and confirmed that the watch is setup to push data out.

Looking in ~/.antd/0xe42061bdL/raw/, I don't see any pushes from today, thinking maybe it partially pulled the data and the program was trying to deal with duplicate entries.

I am stumped but am open to help diagnose however I can.

thanks!

When I run the script, I get the following output:

sudo ant-downloader 
[MainThread]    2014-03-25 19:48:55,989 INFO    Found device with vid(0x0fcf) pid(0x1008), but interface already claimed.
[MainThread]    2014-03-25 19:48:55,989 WARNING Failed to find Garmin nRF24AP2 (newer) USB Stick.
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/antd/cfg.py", line 92, in create_hardware
    return hw.UsbHardware(id_vendor, id_product, bulk_endpoint)
  File "/usr/local/lib/python2.7/dist-packages/antd/hw.py", line 61, in __init__
    raise NoUsbHardwareFound(errno.ENOENT, "No available device matching vid(0x%04x) pid(0x%04x)." % (id_vendor, id_product))
NoUsbHardwareFound: [Errno 2] No available device matching vid(0x0fcf) pid(0x1008).
[MainThread]    2014-03-25 19:48:55,989 WARNING Looking for nRF24AP1 (older) Serial USB Stick.
[MainThread]    2014-03-25 19:48:56,998 INFO    Searching for ANT devices.
[MainThread]    2014-03-25 19:48:58,440 DEBUG   Got ANT-FS Beacon. device_number=0x61bd Beacon{'auth_type': 3, 'pairing_enabled': 0, 'data_available': 0, 'device_state': 0, 'period': 1, 'descriptor': 131073, 'upload_enabled': 0, 'data_page_id': 67, 'data': '', 'status_2': 0, 'status_1': 9}
[MainThread]    2014-03-25 19:48:58,441 INFO    Found device, but no data available for download.
@braiden
Copy link
Owner

braiden commented Mar 26, 2014

The watch transmits a periodic beacon containing status including a flag indicating if it has new data to download.

From logs, it looks like the watch thinks it has no data. If that's not true, you can set the "force download" option in watch settings.

Be careful forcing download. All data will be downloaded, and that will probably result in lots of duplication of data on garmin website. You may wan to temporarily disable uploads after forcing downloads.

If after forcing downloads downloads the problem isn't fixed, or comes back maybe delete old or all activities from the watch?

@mrsticks
Copy link
Author

I toggled that setting on the watch and indeed, it downloaded everything from the watch, including the most recent runs. I don't use your program to upload to any website, I use the data locally with pytrainer. I toggled the download bit back to off on the watch, I'll see what happens the next time I need to download.

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants