-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
[BUG] Cant use HITrava for the last 3 days #11
Comments
Have the same error, if needed, can provide my zip file for debugging |
You stumbled upon an activity sport type that is currently unknown to Hitrava. You also discovered a small bug that the program doesn't accept unknown sport types when they appear in the header data of the activity. I will correct that. As for the first part, I would like to investigate if this (unknown) sport type could be supported. You could help me with that by providing me additional information about your activity of May 5th, 2020.
In both cases, please let me know what the sport type is of the activity as it appears in Huawei Health. Thank you. |
@GeitV, I'm online now, if you could share your ZIP file or the .json file of the failing activity (see comment above), that would be great. |
I sent to you one printscreen of all my ativivities from Huawei Health and
the zip file.
A sexta, 15 de mai de 2020, 10:43, Christoph Vanthuyne <
notifications@github.com> escreveu:
… You stumbled upon an activity sport type that is currently unknown to
Hitrava. You also discovered a small bug that the program doesn't accept
unknown sport types when they appear in the header data of the activity. I
will correct that.
As for the first part, I would like to investigate if this (unknown) sport
type could be supported. You could help me with that by providing me
additional information about your activity of May 5th, 2020.
- Option 1 (easiest for me, but you need to feel alright with
temporarily sharing that specific activity data with me, I use it only
temporarily to debug/add the feature to support it): Please add the file
below to a comment in this ticket (you can just drag and drop it into your
new comment screen). I will inform you when i have a local copy, you can
then remove it again from your comment.
*{your Hitrava installation folder}*\output\Hitrack_20200505_101253.json
- Option 2: Open the file above in a text editor (e.g. notepad). You
should see something like:
[{"motionPathData": [{"sportType": ?,
I would require the number that appears where the question mark (?) is in
the line above.
In both cases, please let me know what the sport type is of the activity
as it appears in Huawei Health.
Thank you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#11 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APSWVCXUVKHXCN5GY6PHSUDRRUFCPANCNFSM4NA63WVQ>
.
|
I'm also getting the same error. |
One the activities from 05 of May was CrossFit. All the rest was exterior
runinng
A sexta, 15 de mai de 2020, 10:43, Christoph Vanthuyne <
notifications@github.com> escreveu:
… You stumbled upon an activity sport type that is currently unknown to
Hitrava. You also discovered a small bug that the program doesn't accept
unknown sport types when they appear in the header data of the activity. I
will correct that.
As for the first part, I would like to investigate if this (unknown) sport
type could be supported. You could help me with that by providing me
additional information about your activity of May 5th, 2020.
- Option 1 (easiest for me, but you need to feel alright with
temporarily sharing that specific activity data with me, I use it only
temporarily to debug/add the feature to support it): Please add the file
below to a comment in this ticket (you can just drag and drop it into your
new comment screen). I will inform you when i have a local copy, you can
then remove it again from your comment.
*{your Hitrava installation folder}*\output\Hitrack_20200505_101253.json
- Option 2: Open the file above in a text editor (e.g. notepad). You
should see something like:
[{"motionPathData": [{"sportType": ?,
I would require the number that appears where the question mark (?) is in
the line above.
In both cases, please let me know what the sport type is of the activity
as it appears in Huawei Health.
Thank you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#11 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/APSWVCXUVKHXCN5GY6PHSUDRRUFCPANCNFSM4NA63WVQ>
.
|
Can you confirm that you receive the files? Ty |
@stevellion Thank you so much for the coffee! Much appreciated. Ok, so I officially add sport type 117 as 'Chasing the kids' then? :-) I'll prepare the code to accept 117 and wait for an example file to see if additional changes would be necessary. |
"sportType": 103 |
@kosovarpt I'm sorry, I didn't receive the files (or must have missed them in one of your comments). I think you tried to reply via mail, unfortunately, that doesn't add the attachments on GitHub (I assume). Could you try again by going to the GitHub issue page and add a new comment there. You can drag the file to the comment window. |
I've never done indoor cycling so this must've been some kind of accidental activity start from my end. But here you go [Once in awhile back, zip file lived here] |
@GeitV - got the file, you can remove it from your post if you want. |
But now, I after thinking I will delete that activity "Croosfit" because I dont want that in my Strava too. :P |
@kosovarpt - OK, thank you, I got the file, you can remove it from your post if you want. Will see if anything is possible with the crossfit activity. |
I do also do quite a bit of Indoor Cycling (well, will, when the lockdown is over) - Trying to figure out what the JSON code is for you. |
Just found all the codes in my big 1 JSON file (ID'd versus the calories burned on my phone) |
please remove when downloaded for debugging. |
@stevellion - thanks for the copy, I have a temp copy for the debugging. You can remove the link from your comment above. I will delete my temp copy after testing. |
Ok, an update on the situation. Your files helped me reproduce the error. I propose to close this ticket with the release of the next version. I will create a separate ticket to analyze / implement support for the above mentioned activity types. |
I've always used HiTrava with standard command "Run_Hitrava.cmd". For the last 3 days I cant use anymore.
I send a screenshot of the error!
The text was updated successfully, but these errors were encountered: