-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
43 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
777f142
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi,
could you please help me? I tried still I am not able to convert .Still showing error.https://colab.research.google.com/drive/1xEcRQPYAh3sRbs5DnjgJyW_5uWe2R-SD?usp=sharing
777f142
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @sasmitaleela!
Sure, I can see in your colab notebook that you are trying to parse the
export_cda.xml
file, but your data is in theexport.xml
file. Try using that file instead, and let me know if that resolves your issue!I've updated the README to make this a little more clear.
777f142
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
777f142
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
777f142
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for giving that a try!
It looks like the error is
This means that there is some duplicate attribute on this line in your file. For example, it might look something like this:
<Record type="HKSomeRecordType" sourceName="My Apple Watch" sourceVersion="7.0.3" unit="ms" value="39.8081" value="39.8081">
where thevalue
attribute is duplicated.You can open your
export.xml
file in a text editor like Sublime Text or VSCode which allows you to jump to a specific line. Then you can find the duplication and remove it.777f142
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
777f142
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sasmitaleela
Sorry to hear you're still having issues!
I'm happy to schedule some time to help out. Github will sensor our email addresses, so we'll have to connect elsewhere. Perhaps try adding me on LinkedIn, and we can try to troubleshoot from there: https://www.linkedin.com/in/jason-meno/
777f142
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sasmitaleela
If you haven't tried it already, you could also look into https://www.ericwolter.com/projects/apple-health-export/ and see if this tool works for you?