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

Plus! GUI returns KeyError: 'glyphs' when attempting to load a theme #357

Open
BlackberrieCake137 opened this issue Dec 6, 2024 · 2 comments

Comments

@BlackberrieCake137
Copy link

Hi! Themes aren't working for some reason.

I get the error


[MakePreview] Fonts... [MakePreview] Generating Preview Image
[MakePreview] Metrics... OK
Traceback (most recent call last):
  File "/home/admin/Scrivania/.Chicago95/Plus/./PlusGUI.py", line 872, in open_file
    self.preview_image = MakePreview(self.theme)
                         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/admin/Scrivania/.Chicago95/Plus/./PlusGUI.py", line 110, in __init__
    self.set_fonts()
  File "/home/admin/Scrivania/.Chicago95/Plus/./PlusGUI.py", line 171, in set_fonts
    self.lfMessageFont = self.get_font(self.msgfont)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/admin/Scrivania/.Chicago95/Plus/./PlusGUI.py", line 384, in get_font
    return self.get_font("Noto-Sans-Regular")
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/admin/Scrivania/.Chicago95/Plus/./PlusGUI.py", line 365, in get_font
    return installed_fonts[fontname]['glyphs']
           ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: 'glyphs'```
@PacoPacorius
Copy link

PacoPacorius commented Dec 12, 2024

I am also having this problem on arch linux.

edit: the cli version of this tool seems to be working much better for some reason.

@BlackberrieCake137
Copy link
Author

I am also having this problem on arch linux.

edit: the cli version of this tool seems to be working much better for some reason.

ill try the CLI version shortly

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