You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and below the error when I try to run the script on it
dpacific@DPACIFIC-M-V63K ~ % cd expect/Hitrava-master
dpacific@DPACIFIC-M-V63K Hitrava-master % python3 Hitrava.py -j input/motion\ path\ detail\ data1724429219003.json
2024-09-12 17:15:49,018 - INFO - main - Hitrava version 5.1.2 (build 2308.2601) started with arguments ['-j', 'input/motion path detail data1724429219003.json']
2024-09-12 17:15:49,018 - INFO - main - Running on Python version 3.9.12
2024-09-12 17:15:49,020 - INFO - parse - Found one or more activities in JSON at index 0 to parse from 2023-08-01 (YYY-MM-DD)
2024-09-12 17:15:49,020 - ERROR - parse - Error parsing JSON file <input/motion path detail data1724429219003.json>
'attribute'
Traceback (most recent call last):
File "/Users/dpacific/expect/Hitrava-master/Hitrava.py", line 1285, in parse
hi_activity = self._parse_activity(activity_dict)
File "/Users/dpacific/expect/Hitrava-master/Hitrava.py", line 1304, in _parse_activity
hitrack_data = activity_dict['attribute']
KeyError: 'attribute'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/dpacific/expect/Hitrava-master/Hitrava.py", line 2170, in <module>
main()
File "/Users/dpacific/expect/Hitrava-master/Hitrava.py", line 2156, in main
hi_activity_list = hi_json.parse(args.from_date)
File "/Users/dpacific/expect/Hitrava-master/Hitrava.py", line 1300, in parse
raise Exception('Error parsing JSON file <%s>', self.json_file.name)
Exception: ('Error parsing JSON file <%s>', 'input/motion path detail data1724429219003.json')
The text was updated successfully, but these errors were encountered:
There is nothing much that can be done about it as the detailed track data is simply gone. Unless Huawei is willing to put it back in some form or other, I think you would have to rely on other solutions. In any case, I found it strange that the data disappeared, because for sure they have it since it is displayed in the app. Maybe someone made a mistake on their part and removed the data export? You could always try to contact them and mention your GDPR right to access the data / right to data portability if you are in Europe.
this is the content of the zip file
Here the motion detail directory
I'm attaching one file for reference
motion path detail data1724429219003.json
and below the error when I try to run the script on it
The text was updated successfully, but these errors were encountered: