-
Notifications
You must be signed in to change notification settings - Fork 45
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
problem with ubuntu 13.10 #51
Comments
It is pulling data from the watch, but not uploading? Make sure its enabled uploading in configuration; ~/.antd/antd.cfg should have; Then, make sure your device has a little data read for download, and run;
You can send me the log, [braiden] at [braiden.org]. I'll take a look. On Tue, Feb 11, 2014 at 7:53 AM, merira [email protected] wrote:
|
I have the same problem. I don't think it's related to Ubuntu - I use 3 different computers (all running Ubuntu 12.04) to upload my data, and I have that problem with at least 2 of them for a few days now. The tcx file is correctly downloaded from the watch. I don't see any error message. I can upload the tcx file to garmin manually. I guess that something has changed at the garmin site. I will use the --verbose option next time (hopefully tomorrow) and send the log. |
Your site seems to be down. Everything's fine, in fact. TCX are there, it says it' uploading. Now I got this message once: [MainThread] 2014-02-11 23:14:46,972 WARNING Failed to uplaod to Garmin Connect. |
FYI, https://sourceforge.net/p/gcpuploader/discussion/general/thread/a7375183/?limit=25#8da2/438f |
Okay, I just downloaded from the watch, using the --verbose option. This is at the end (I don't think the previous output is interesting, but let me know if you need it): [MainThread] 2014-02-12 17:43:07,456 INFO tcx: writing 20140212-174242.raw -> /home/okurth/.antd/0xe5b775e8/tcx/20140213-003000.tcx. |
Thanks, I see the same issue too. As suggested, Garmin may have changed On Wed, Feb 12, 2014 at 8:46 PM, oliverkurth [email protected]:
|
I think I've found the cause of the issue and fixed. Grab latest version of code and let me know if you have issues (I also added better logging of response received from garmin.). @dlotton In case your uploader is affected by the same bug here was issue:
The "filename" attribute must not include a path component or garmin connect replies with an error something like "unsupported file type". I was using python "poster" library which adds a filename path by default. |
Thanks for the heads-up. I was just looking into this, myself. I'll look at the filename. |
Hmmm, well, my filename looks fine... Content-Disposition: form-data; name="data"; filename="2014-02-15_20-45-03_4_117.fit" I've tied a TCX file as well. I'm kind of stumped with this. I've done a capture of the web form upload and one from my program trying to upload the same file. I'm not seeing the issue in the form data or anything. Some of my parameters are different (such as User-Agent), and some parameters are in different order, but I don't think that should matter. Do you have a complete capture of your POST transaction you could share? [edit] |
https://gist.github.com/braiden/ef841d3728d104a0fb0c is a sample of my successful upload except that I redacted Cookie headers. |
Braiden, Thanks for the POST transaction. It was helpful. Between your capture above and a capture of the web form I figured it out. In the multi-part form post I was putting the 'responseContentType' part before the 'filename' part of my post. This worked fine for over two years and now suddenly changed. It seems like they are now parsing the parts of he multi-part post by their position in the stream instead of looking at the name of the data field. I'm a total hack programmer, but this seems like a supremely bad idea, even to me. Thanks again. Dave L. |
hmm, thanks for the efforts, but I have still not been able to upload. [MainThread] 2014-02-17 20:18:56,857 WARNING Username mismatch, probably 2014-02-16 22:19 GMT+01:00 dlotton [email protected]:
|
u'failures': [{u'messages': [{u'content': u'Duplicate Activity.', u'code': 202}] Merira, |
Its failing to upload a file 20130920-062425.tcx because Garmin claims a You may need to manually remove this file from queue of pending uploads. ~/.antd/garmin-connect-upload-queue.txt Actually, I need to clean this up. Did you 'force all downloads' from the On Mon, Feb 17, 2014 at 2:27 PM, dlotton [email protected] wrote:
|
Yep, I did use the force-send option. Thanks. Will do that.
|
Just to confirm the tip of repo works for me. I was able to upload TCXs previously collected using an old version of ant-downloader to Garmin Connect using the tip of the tree build. |
Hey there, I've been using your downloader for almost a year now and never had a problem. However, since I updated to ubuntu 13.10, it will no longer transmit tcx files to garmin connect. The trouble is that there is no error message. any idea where I could start looking for a problem?
The text was updated successfully, but these errors were encountered: