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

Follow symbolic links #350

Open
justvanrossum opened this issue Jun 20, 2023 · 1 comment
Open

Follow symbolic links #350

justvanrossum opened this issue Jun 20, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@justvanrossum
Copy link
Owner

Dropping a symlink to a .designspace file currently doesn't work, as FontGoggles will look for the sources in the folder of the symlink. It should probably resolve the symlinks before reading.

@justvanrossum
Copy link
Owner Author

Traceback (most recent call last):
  File "/Users/just/code/git/fontgoggles/Lib/fontgoggles/mac/mainWindow.py", line 508, in _loadFont
    await fontItemInfo.load(outputWriter=fontItem.writeCompileOutput)
  File "/Users/just/code/git/fontgoggles/Lib/fontgoggles/project.py", line 139, in load
    await self._fontLoader.loadFont(self.fontKey, outputWriter)
  File "/Users/just/code/git/fontgoggles/Lib/fontgoggles/project.py", line 172, in loadFont
    await font.load(outputWriter)
  File "/Users/just/code/git/fontgoggles/Lib/fontgoggles/font/dsFont.py", line 74, in load
    reader = UFOReader(source.path, validate=False)
  File "/Users/just/code/git/fontgoggles/venv39/lib/python3.9/site-packages/fontTools/ufoLib/__init__.py", line 213, in __init__
    structure = _sniffFileStructure(path)
  File "/Users/just/code/git/fontgoggles/venv39/lib/python3.9/site-packages/fontTools/ufoLib/__init__.py", line 1751, in _sniffFileStructure
    raise UFOLibError("No such file or directory: '%s'" % ufo_path)
fontTools.ufoLib.errors.UFOLibError: No such file or directory: '/Users/just/JobJob/ATypI 2023/Fontra ATypI Demos/GrtskZetta-Thin.ufo'

@justvanrossum justvanrossum added the bug Something isn't working label Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant