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

Crash report #4

Open
schriftgestalt opened this issue Jul 30, 2022 · 1 comment
Open

Crash report #4

schriftgestalt opened this issue Jul 30, 2022 · 1 comment

Comments

@schriftgestalt
Copy link
Collaborator

I got this from a user:


File "plugin.py", line 12, in <module>
    imp.load_source("HT_LetterSpacer_script",

  File "imp.py", line 171, in load_source
    module = _load(spec)

  File "<frozen importlib._bootstrap>", line 711, in _load

  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked

  File "<frozen importlib._bootstrap_external>", line 786, in exec_module

  File "<frozen importlib._bootstrap_external>", line 922, in get_code

  File "imp.py", line 157, in get_data
    return super().get_data(path)

  File "<frozen importlib._bootstrap_external>", line 979, in get_data

FileNotFoundError: [Errno 2] No such file or directory: '~/Library/Application Support/Glyphs 3/Repositories/HT Letterspacer/HT_LetterSpacer_script.py'

App:3.1-3133 Plugin:1.1-1
@eweracs
Copy link
Owner

eweracs commented Jul 30, 2022

This means the user is using the old version, which relied on the original HT Letterspacer scripts. Please ask him to update to the current version here on the repo (should be the same in the plugin manager...?)

As you can see in the plugin.py on this repo, line 12 does not contain any imp.load_source(), it has been replaced by HTLSLibrary from HTLSManager.

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