CTHRU / Hitrava

Convert your Huawei Health sport activities and import them in Strava.
Other
352 stars 34 forks source link

ERROR - __init__ - Parameter for JSON filename is missing #14

Closed LarsDepuydt closed 4 years ago

LarsDepuydt commented 4 years ago

I dit everything as prescribed, but still got this error (and a couple more because of this one).

Do you have any idea how this could be fixed?

Thanks in advance

Aantekening 2020-06-23 201001

CTHRU commented 4 years ago

Not sure, but seems related to an issue with extracting the JSON file containing the activity data in the HiZip file.

Could you take a look at the closed issue #9 and check whether your HiZip.zip file contains a valid JSON file?

If this looks OK, you could help me by (temporarily) posting your HiZip.zip file in a comment (if you're OK with that), so I can debug.

If you notice something else, just let me know. We'll get this working.

CTHRU commented 4 years ago

I didn't hear back from you in the last 5 days. I assume and I hope you found what was causing the issue. I will close the issue for now. If the problem wouldn't be solved in the meantime, just reopen this issue.

CTHRU commented 4 years ago

@LarsDepuydt This is probably a duplicate of #23. Probable cause could be your ZIP file being named 'HiZip.zip.zip' (if your Windows Explorer is set to not display known file extensions.