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

Non-utf8 characters in user name makes plugin crash on startup #26

Open
joepal1976 opened this issue Apr 29, 2020 · 0 comments
Open

Non-utf8 characters in user name makes plugin crash on startup #26

joepal1976 opened this issue Apr 29, 2020 · 0 comments

Comments

@joepal1976
Copy link
Contributor

Current use case: "Tài liệu". From user:

Could not load 8_asset_downloader
Traceback (most recent call last):
  File "./core\mhmain.py", line 580, in loadPlugin
    module.load(self)
  File "C:\Program Files\makehuman-community\makehuman\plugins\8_asset_downloader\__init__.py", line 38, in load
    downloadView = category.addTask(AssetDownloadTaskView(category))
  File "C:\Program Files\makehuman-community\makehuman\plugins\8_asset_downloader\assetdownload.py", line 69, in __init__
    self.log = mhapi.utility.getLogChannel("assetdownload")
  File "C:\Program Files\makehuman-community\makehuman\plugins\1_mhapi\_utility.py", line 119, in getLogChannel
    self.logChannels[name] = LogChannel(name,defaultLevel,mirrorToMHLog)
  File "C:\Program Files\makehuman-community\makehuman\plugins\1_mhapi\logchannel.py", line 42, in __init__
    f.write("--- " + self.fileName + " ---\n\n")
  File "D:\obj\windows-release\37amd64_Release\msi_python\zip_amd64\cp1252.py", line 19, in encode
UnicodeEncodeError: 'charmap' codec can't encode character '\u0300' in position 30: character maps to <undefined>

This is probably an error in MHAPI. Keeping this issue for reference.

See makehumancommunity/community-plugins-mhapi#7

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