Closed kawk closed 10 years ago
last words:
looking for matching message in deque([(0, 1, array('B', [2])), (0, 1, array('B', [2])), (0, 1, array('B', [5]))])
- response found (0, 1, array('B', [5]))
done sending burst transfer 0
Wait for response...
Get command, t3, s0
parsing data array('B', [68, 137, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 1, 0, 0])
Run 5
Stoping ant.easy
Stoping ant.base
Read data: [a4 09 4e 00 43 3c 02 03 39 05 00 00 a1] (now have [a4 09 4e 00 43 3c 02 03 39 05 00 00 a1] in buffer)
Ant runner stopped
Traceback (most recent call last):
File "./garmin.py", line 338, in main
g.start()
File "/home/kawk/work/swim/Garmin-Forerunner-610-Extractor/ant/fs/manager.py", line 202, in start
self._main()
File "/home/kawk/work/swim/Garmin-Forerunner-610-Extractor/ant/fs/manager.py", line 134, in _main
self.on_transport(beacon)
File "./garmin.py", line 236, in on_transport
self.download_file(fileobject)
File "./garmin.py", line 290, in download_file
data = self.download(fil.get_index(), self._get_progress_callback())
File "/home/kawk/work/swim/Garmin-Forerunner-610-Extractor/ant/fs/manager.py", line 316, in download
response._get_argument("response"))
AntFSDownloadException: ('Download request failed: ', 2)
So, 2 should mean "Data exists but is not downloadable", which is interesting. I wonder what file it is trying to download, that it is not allowed to download. Perhaps we need to be me more careful what we try to download. Is it possible to post a full log somewhere?
On 31 January 2014 21:32, kawk notifications@github.com wrote:
last words:
looking for matching message in deque([(0, 1, array('B', [2])), (0, 1, array('B', [2])), (0, 1, array('B', [5]))])
- response found (0, 1, array('B', [5])) done sending burst transfer 0 Wait for response... Get command, t3, s0 parsing data array('B', [68, 137, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 16, 1, 0, 0]) Run 5 Stoping ant.easy Stoping ant.base Read data: [a4 09 4e 00 43 3c 02 03 39 05 00 00 a1](now have [a4 09 4e 00 43 3c 02 03 39 05 00 00 a1] in buffer) Ant runner stopped Traceback (most recent call last): File "./garmin.py", line 338, in main g.start() File "/home/kawk/work/swim/Garmin-Forerunner-610-Extractor/ant/fs/manager.py", line 202, in start self._main() File "/home/kawk/work/swim/Garmin-Forerunner-610-Extractor/ant/fs/manager.py", line 134, in _main self.on_transport(beacon) File "./garmin.py", line 236, in on_transport self.download_file(fileobject) File "./garmin.py", line 290, in download_file data = self.download(fil.get_index(), self._get_progress_callback()) File "/home/kawk/work/swim/Garmin-Forerunner-610-Extractor/ant/fs/manager.py", line 316, in download response._get_argument("response")) AntFSDownloadException: ('Download request failed: ', 2)
— Reply to this email directly or view it on GitHubhttps://github.com/Tigge/Garmin-Forerunner-610-Extractor/issues/90#issuecomment-33839624 .
Full log is (temporarily) at http://ixo.de/tmp/swim-20140131.txt.gz
Thanks. It does indeed seems to be a file that can't be downloaded. I've uploaded a potential fix to this to https://github.com/Tigge/Garmin-Forerunner-610-Extractor/commit/c1b633fae4e518fef08ce06f52a43033f9c8556e. Note that this is the https://github.com/Tigge/Garmin-Forerunner-610-Extractor/tree/split branch where the ant libraries are separated out to https://github.com/Tigge/openant. You'll need to install that (with the most recent commit https://github.com/Tigge/openant/commit/6084d655863df16b63fbd6b5b298a455e9576edd which have a fix related to this problem. Hopefully this will work then. Let me know if it doesn't.
I can confirm that antfs-cli.py from "split" branch can now download from my Garmin Swim.
Hm, the watch was almost new out of its box and never has been connected by any other software. Do you think it is worth to find out more / worry about that "unreadable" file?
It is located at index 0x1000, and is writeable, so it sounds like something special (write firmware updates, special settings, etc). It could be interesting to get some logs from windows and see if this is used in any way -- but whatever it is it is probably a bit out of scope for this project. But nice that it works -- good to hear.
Hello. I am facing the same problem. when i run antfs-cli for the first time it created folder structure in ~/.config. But it didn't download any data. The last two lines from terminal are:
AntFSDownloadException: ('Download request failed: ', 2)
You are suggesting to use a fix in branch https://github.com/Tigge/Garmin-Forerunner-610-Extractor/tree/split but this link doesn't work anymore. I will be glad for any suggestions.
My device is Garmin Swim and I run linux crunchbang.
Thank you
@xjezik01 sounds like #140 which was recently fixed. Please try the very latest version from git again.
Works like a charm now. Thank you very much for this awesome tool. Linux 1 : Windows 0 once again :)
Trying to read data from Garmin Swim results in "AntFSDownloadException: ('Download request failed: ', 2)".