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

Font Reinstallation doesn't work for some reason #145

Closed
alichtman opened this issue Oct 27, 2018 · 0 comments
Closed

Font Reinstallation doesn't work for some reason #145

alichtman opened this issue Oct 27, 2018 · 0 comments
Labels
bug Something isn't working reinstallation
Milestone

Comments

@alichtman
Copy link
Owner

alichtman commented Oct 27, 2018

FileNotFoundError thrown on the destination of copyfile, but like obviously it doesn't exist because we're creating it?

It's weird because backup is set up in a similar way and it works.

Traceback (most recent call last):
  File "cli.py", line 179, in <module>
    cli()
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "cli.py", line 158, in cli
    reinstall_fonts_sb(fonts_path)
  File "/Users/alichtman/Desktop/Development/projects/shallow-backup/shallow_backup/reinstall.py", line 36, in reinstall_fonts_sb
    copyfile(font, os.path.join("~/Library/Fonts", font.split("/")[-1]))
  File "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/shutil.py", line 121, in copyfile
    with open(dst, 'wb') as fdst:
FileNotFoundError: [Errno 2] No such file or directory: '~/Library/Fonts/test.txt'
@alichtman alichtman added bug Something isn't working reinstallation labels Oct 27, 2018
@alichtman alichtman added this to the v1.4 milestone Oct 27, 2018
alichtman added a commit that referenced this issue Oct 28, 2018
alichtman added a commit that referenced this issue Oct 28, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working reinstallation
Projects
None yet
Development

No branches or pull requests

1 participant