jdrescher2006 / Laufhelden

Sport tracker for Sailfish OS
GNU General Public License v3.0
16 stars 17 forks source link

Upload to Strava.com fails #80

Closed Karry closed 6 years ago

Karry commented 6 years ago

Log ends with these messages:

[D] unknown:0 - O2ReplyServer: Starting
[D] unknown:0 - Reading File: "/home/nemo/Laufhelden/biking-Fri Apr 20 18:36:13 2018-12.1km.gpx"
[D] unknown:0 - O0BaseAuth::linked: Yes
[D] uploadGPX:187 - Sending to strava...
[D] :146 - Ready state changed: 2   400 Bad Request
[D] :146 - Ready state changed: 3  {"message":"Bad Request","errors":[{"resource":"Upload","field":"data","code":"empty"}]} 400 Bad Request
[D] :146 - Ready state changed: 3  {"message":"Bad Request","errors":[{"resource":"Upload","field":"data","code":"empty"}]} 400 Bad Request
[D] :146 - Ready state changed: 4  {"message":"Bad Request","errors":[{"resource":"Upload","field":"data","code":"empty"}]} 400 Bad Request
[D] :163 - 400 {"message":"Bad Request","errors":[{"resource":"Upload","field":"data","code":"empty"}]}
[D] :164 - Some kind of error happened
[D] :166 - undefined
[W] unknown:250 - file:///usr/share/harbour-laufhelden/qml/pages/StravaUploadPage.qml:250: Error: Cannot assign [undefined] to QString

recorded gpx track: track.gpx.gz

jdrescher2006 commented 6 years ago

Hi @Karry, thanks for your report. This is a known bug. It will be fixed in the next release. Check out this file for infos on next release.

Karry commented 6 years ago

Great! I build Laufhelden from source and it works perfectly. Thank you.