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

[Fixed in NSZ 4.6.1] MPLUS1p-Medium.ttf not found in NSZ 4.6.0 #164

Closed
RinMaru opened this issue Dec 18, 2023 · 3 comments
Closed

[Fixed in NSZ 4.6.1] MPLUS1p-Medium.ttf not found in NSZ 4.6.0 #164

RinMaru opened this issue Dec 18, 2023 · 3 comments
Assignees
Labels
bug Something isn't working deployment

Comments

@RinMaru
Copy link

RinMaru commented Dec 18, 2023

Microsoft Windows [Version 10.0.22635.2915]
(c) Microsoft Corporation. All rights reserved.

Z:\Yuzu\user\games\nsz_v4.6.0>nsz.exe
[INFO ] [deps ] Successfully imported "kivy_deps.angle" 0.3.3
[INFO ] [deps ] Successfully imported "kivy_deps.glew" 0.3.1
[INFO ] [deps ] Successfully imported "kivy_deps.sdl2" 0.6.0
[INFO ] [Kivy ] v2.2.1
[INFO ] [Kivy ] Installed at "Z:\Yuzu\user\games\nsz_v4.6.0\lib\site-packages\kivy_init_.py"
[INFO ] [Python ] v3.10.5 (tags/v3.10.5:f377153, Jun 6 2022, 16:14:13) [MSC v.1929 64 bit (AMD64)]
[INFO ] [Python ] Interpreter at "Z:\Yuzu\user\games\nsz_v4.6.0\python.exe"
[INFO ] [Image ] Providers: img_tex, img_dds, img_sdl2 (img_pil, img_ffpyplayer ignored)
[INFO ] [Text ] Provider: sdl2
nut exception: File Z:\Yuzu\user\games\NSCB_101bx64\nsz_v4.1.0\Lib\site-packages\nsz\gui\fonts\MPLUS1p-Medium.ttf not found
Traceback (most recent call last):
File "Z:\Yuzu\user\games\nsz_v4.6.0\lib\runpy.py", line 196, in run_module_as_main
return run_code(code, main_globals, None,
File "Z:\Yuzu\user\games\nsz_v4.6.0\lib\runpy.py", line 86, in run_code
exec(code, run_globals)
File "Z:\Yuzu\user\games\nsz_v4.6.0\nsz.exe_main
.py", line 7, in
File "Z:\Yuzu\user\games\nsz_v4.6.0\lib\site-packages\nsz_init
.py", line 93, in main
from nsz.gui.NSZ_GUI import GUI
File "Z:\Yuzu\user\games\nsz_v4.6.0\lib\site-packages\nsz\gui\NSZ_GUI.py", line 3, in
from kivy.core.text import LabelBase, DEFAULT_FONT
File "Z:\Yuzu\user\games\nsz_v4.6.0\lib\site-packages\kivy\core\text_init.py", line 1077, in
Label.register(DEFAULT_FONT, *default_font_paths)
File "Z:\Yuzu\user\games\nsz_v4.6.0\lib\site-packages\kivy\core\text_init
.py", line 365, in register
raise IOError('File {0} not found'.format(font_type))
OSError: File Z:\Yuzu\user\games\NSCB_101bx64\nsz_v4.1.0\Lib\site-packages\nsz\gui\fonts\MPLUS1p-Medium.ttf not found

Z:\Yuzu\user\games\nsz_v4.6.0>

Im getting this error and the program refuses to start

@nicoboss
Copy link
Owner

nicoboss commented Dec 18, 2023

Thanks a lot for reporting this. You are affected by #154. #154 got fixed in NSZ 4.6. This unfortunately had the side-effect that NSZ 4.6 doesn't start for everyone who got affected by this issue in previous versions. A new NSZ version will be deployed later today which will automatically detect and fix this issue.

Please delete the following file to get NSZ 4.6.0 GUI working:
Windows: C:\Users\<UserName>\.kivy\config.ini
Linus: /home/<UserName>/.kivy/config.ini
macOS: /Users/<UserName>/.kivy/config.ini

@nicoboss nicoboss changed the title 4.6.0 error 4.6.0 GUI error: MPLUS1p-Medium.ttf not found Dec 18, 2023
@nicoboss nicoboss added bug Something isn't working deployment labels Dec 18, 2023
@nicoboss nicoboss self-assigned this Dec 18, 2023
nicoboss added a commit that referenced this issue Dec 18, 2023
…efault_font property is got messed up due #154 president in older version which causes the NSZ 4.6 GUI to not boot for affected users as reported in #164.
@nicoboss
Copy link
Owner

nicoboss commented Dec 18, 2023

A fix for this issue got implemented in the latest NSZ 4.6.1 release! NSZ 4.6.1 automatically repairs the Kivy configuration. It does so by resetting the default_font property if corrupted.

@nicoboss nicoboss changed the title 4.6.0 GUI error: MPLUS1p-Medium.ttf not found [Fixed in NSZ 4.6.1] MPLUS1p-Medium.ttf not found in NSZ 4.6.0 Dec 18, 2023
@RinMaru
Copy link
Author

RinMaru commented Dec 19, 2023

thank you this is fixed ^^

@RinMaru RinMaru closed this as completed Dec 19, 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 deployment
Projects
None yet
Development

No branches or pull requests

2 participants