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

Settings not loaded properly #223

Open
alfredorusso-github opened this issue Mar 31, 2023 · 0 comments
Open

Settings not loaded properly #223

alfredorusso-github opened this issue Mar 31, 2023 · 0 comments

Comments

@alfredorusso-github
Copy link

There is a bug that prevents changing the settings in MakeHuman. The bug is related to an error that occurs when MakeHuman is started, which prevents the settings from being correctly loaded. As a result, the default settings are created and utilized every time, and some plugins cannot be activated.

This issue needs to be addressed in order to enable changing the settings and activating all plugins.

The error is caused by the parseINI method in the /makehuman/lib/inifile.py file. In this method, json.loads(s, encoding='utf-8') is used. However, since Python 3.9, the encoding keyword argument is deprecated and it is no longer necessary to specify the encoding type. The method itself calls detect_encoding(), which is able to recognize the input encoding.

The solution for the bug that worked for me is the following:
inifile.zip

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

1 participant