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
gpsrec could not download tracks (possibly due to size) #766
Comments
Can you still view the tracks on the watch itself? Or is it totally gone now? |
The tracks can still be viewed on the watch. |
Ok, thanks. The actual app shouldn't have any effect on whether you can get tracks off or not though, since the App Loader talks directly to the watch, avoiding the apps. Do you think you could open Chrome Developer Console after trying to view tracks with the Bangle App Loader, and then paste the contents of it in this issue? |
It is the Android Chrome browser, I'll see later or tomorrow if there is a development console I can find. |
I notice you just mentioned in issue #761 that you've never actually been able to download the track? I assumed that you had previously downloaded it and now can't - but are you saying you recorded a detailed track at 1 sample/sec and then you can't download it? How long did you record for? It might give me an idea of file size. And which Bangle.js firmware version are you using? It should say in the about screen. |
With 0.19 I could download tracks, also some with 1 secs measurement, only after the update yesterday, I couldn't. Your idea is good, though: I haven't tried to download the very long one before, so it maybe unrelated to the update, but related to the size of one track. The long track is 5947 records long.I can view it on the watch (plotting the map takes a few seconds ;) ) |
I think that might be coincidence. We have had issues in the past with it timing out when it takes too long to receive data on tracks though, although I thought I had fixed that. I've just made a change that might improve matters for you. Maybe try the development version of the app loader at https://espruino.github.io/BangleApps/#gpsrec and see if that helps? Connecting with the Web IDE and issuing |
I think I am on the latest one (at least I've updated everything), but I'll check.
I will, but it may take a few days until I'll have the opportunity.
You mean like on the development console of the browser? |
No, that'd be in the left-hand side of the Web IDE at https://www.espruino.com/ide
|
Firmware checked (boy that small font is hard to read): still at 2v08, so I look into flashing this next. Got a bluetooth dongle finally working on GNU/Linux with chromium, to have a development console. Tried again: Now I got offerend to download tracks with gpsrec. Thus no error message in console. Have to try this again with the other android device where downloading was failing before. (After that last try I had deleted two banglejsrun tracks.) |
Today it also works for the android device where it was failing before. What could have changed:
|
Great! I mentioned in #766 (comment) - I made a tweak to the code, so likely that is what fixed it for you |
Note that I've used the regular version at https://banglejs.com/apps/. If the code made it there from the development version meanwhile, then it could have been used. Thanks in any case. ;) |
There are a few tracks on the watch, which I can view and could download.
Yesterday I did an update from 0.19 to 0.21 (it was the only update) and pressed button 3 for reload.
Now downloading tracks from the web interface did not work anymore, there were none found.
Expectation: Tracks should be downloadable after and upgrade.
The text was updated successfully, but these errors were encountered: