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

Error on macOS Sonoma #1950

Closed
cheginit opened this issue Oct 23, 2023 · 4 comments · Fixed by #1956
Closed

Error on macOS Sonoma #1950

cheginit opened this issue Oct 23, 2023 · 4 comments · Fixed by #1956

Comments

@cheginit
Copy link

I installed mackup on macOS Sonoma using pip. When I run the mackup backup command, I get the following error:

Backing up Library/Group Containers/com.apple.PreviewLegacySignaturesConversion/Library/Preferences ...
Traceback (most recent call last):
  File "/opt/homebrew/bin/mackup", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/homebrew/lib/python3.11/site-packages/mackup/main.py", line 93, in main
    app.backup()
  File "/opt/homebrew/lib/python3.11/site-packages/mackup/application.py", line 115, in backup
    utils.copy(home_filepath, mackup_filepath)
  File "/opt/homebrew/lib/python3.11/site-packages/mackup/utils.py", line 105, in copy
    shutil.copytree(src, dst)
  File "/opt/homebrew/Cellar/[email protected]/3.11.6/Frameworks/Python.framework/Versions/3.11/lib/python3.11/shutil.py", line 559, in copytree
    with os.scandir(src) as itr:
         ^^^^^^^^^^^^^^^
PermissionError: [Errno 1] Operation not permitted: '/Users/user/Library/Group Containers/com.apple.PreviewLegacySignaturesConversion/Library/Preferences'

It appears that the folder /Users/user/Library/Group Containers/com.apple.PreviewLegacySignaturesConversion does not exist.

@GentleHoneyLover
Copy link

Same here. Was setting up a new Mac and could't do mackup restore :((

@frederikkempe
Copy link

Having the same issue setting up a new Macbook. First thing that came to mind was that it was something related to which Python version was running on my machine. Tried different versions though and nothing seems to work.

@sethherr
Copy link
Contributor

Seems to be a duplicate of #1948

@lra
Copy link
Owner

lra commented Nov 5, 2023

Seems to be a duplicate of #1948

No it's a problem with the Preview app. It will be removed in the next version, thanks.

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

Successfully merging a pull request may close this issue.

5 participants