Settings dialog crashes with Japanese fonts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
The Mnemosyne Project |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
I'm on Arch Linux and have the Google Noto fonts as default system fonts. In the preferences window on the tab 'Card appearance' when I click on 'Preview' or 'OK' the dialog crashes with the following error message:
###---
An unexpected error has occurred.
Please forward the following info to the developers:
Traceback (innermost last):
File "/usr/lib/
render_
File "/usr/lib/
self.
File "/usr/lib/
family,
ValueError: too many values to unpack (expected 10)
###---
Since I use these fonts as system default they are the default option in Mnemosyne as well. Took me a while to figure out that the fonts were the culprit...
summary: |
- Settings dialog crashes with Google Noto fonts + Settings dialog crashes with Japanese fonts |
Changed in mnemosyne-proj: | |
status: | New → Fix Committed |
Changed in mnemosyne-proj: | |
status: | Fix Committed → Fix Released |
Could you put a print(font_string) statement in html_css.py at line 71 and let me know the output? If you don't feel comfortable tinkering in the source, I can also send you a link to a debug version.