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
On Sun, Jul 26, 2020, 15:37 Christoph Vanthuyne ***@***.***> wrote:
No problem. If you download the latest version of this repository, you
won't get that error (Huawei changed the data format recently).
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#17 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AB54T42QJYYKYOW3RLGDTGDR5QPR5ANCNFSM4PH5PEHA>
.
The py-file has been working fine until now, I got the error below:
2020-07-26 13:39:19,630 - ERROR - parse - Error parsing JSON file
'recordDay'
Traceback (most recent call last):
File "Huawei-TCX-converter.py", line 995, in parse
activity_date = dts.strptime(str(activity_dict['recordDay']), "%Y%m%d")
KeyError: 'recordDay'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "Huawei-TCX-converter.py", line 1560, in
main()
File "Huawei-TCX-converter.py", line 1545, in main
hi_activity_list = hi_json.parse(args.from_date,args.timezone)
File "Huawei-TCX-converter.py", line 1074, in parse
raise Exception('Error parsing JSON file <%s>', self.json_file.name)
Exception: ('Error parsing JSON file <%s>', 'motion path detail data.json')
Not sure what the error is with the RecordDay, could someone help me with this?
So far everything has been working fine, so I am not sure if this is a problem with Huawei's data or the code... Any help appreciated!
The text was updated successfully, but these errors were encountered: