-
Notifications
You must be signed in to change notification settings - Fork 20
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
notesCloudObject is null #25
Comments
Hi @lhagan, sorry you are facing this issue! I have just released a potential fix! Could you try v1.0.4 and let me know if it works for you? In case you are interested in more detailed information: The (potential) fix checks to make sure the particular notes object that the application is attempting to parse is not null before attempting to determine what type it is. My suspicion is that the particular notes object that the application is attempting to parse is deleted but still lingering around as an attachment in the note data itself. My general impression is that deleted note objects and references to deleted note objects can still linger around in the Notes.app database for quite some time, and Of course I could be wrong and the problem could be something else entirely! I am curious to see if v1.0.4 works for you. Long-term, I would like to be able to have better tests for deleted notes cases, but right now my test case is "manually run against my Notes.app database that contains deleted notes and see if it works", which I know is not great. Perhaps I can seed some test sqlite databases with data representing different scenarios and use them to write some automated tests. But anyway, I digress. :) Thank you for taking the time to make an issue and I hope to hear back from you! |
Wow -- thanks for the quick solution! v1.0.4 fixed this issue. |
Awesome! Glad to hear it! |
I'm getting the following error when I run the jar:
apple-notes-liberator
appears to have found the correct database since it copiednotes.sqlite
into theliberated-notes
folder. I manually queried that database using the following command:The extracted data includes the text of one of my notes, so I don't think the problem is with the source data.
My configuration:
Here's some additional information from the log:
Any ideas of what might be tripping it up?
The text was updated successfully, but these errors were encountered: