Skip to content
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

Restoring notes – can't run mac_apt_artifact_only.py #105

Closed
Mmanojay opened this issue Aug 27, 2023 · 2 comments
Closed

Restoring notes – can't run mac_apt_artifact_only.py #105

Mmanojay opened this issue Aug 27, 2023 · 2 comments

Comments

@Mmanojay
Copy link

Hi,
I lost all my notes suddenly (after I logged in to Notes app with my Gmail account). Spent quite a lot of time trying to understand where might be the problem. It had lead me here, discovering there is some sqlite database which is probably broken, and some tool for parsing its artifacts.
This is what I know and then it is a bit a world of wonder for me as I have very poor experience in coding. I tried to run python script in Terminal python ~/Downloads/mac_apt-master/mac_apt_artifact_only.py NOTES -o ~/Desktop/notes/NotesV7.storedata (NotesV7.storedata from Catalina backed up on desktop) according to some other thread, but it returned:

File "~/Downloads/mac_apt-master/mac_apt_artifact_only.py", line 47
plugins_info = f "The following {len(plugins)} plugins are available:"
^
SyntaxError: invalid syntax

I hoped for a miracle will happen, but now I am stuck. Can you please guide me little bit how to repair the code or even if it works, what to do next? :)

@ydkhatri
Copy link
Owner

ydkhatri commented Aug 27, 2023

What version of python are you using? The default one on older macOS is python2 , which is not supported by mac_apt. You should get python 3.10. Please follow the steps listed here:https://github.com/ydkhatri/mac_apt/wiki/Installation-for-Python3#macos-osx

@ydkhatri
Copy link
Owner

Closing for lack of response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants