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

UnicodeEncodeError when a plugin fails to load #1998

Closed
nicoddemus opened this issue Oct 11, 2016 · 0 comments
Closed

UnicodeEncodeError when a plugin fails to load #1998

nicoddemus opened this issue Oct 11, 2016 · 0 comments
Assignees
Labels
good first issue easy issue that is friendly to new contributor topic: reporting related to terminal output and user-facing messages and errors

Comments

@nicoddemus
Copy link
Member

Hi,

A coworker got this traceback when a plugin failed to import:

UnicodeEncodeError: 'ascii' codec can't encode character u'\xe3' in position 9939: ordinal not in range(128)

This happened in config.py, at this point:

        except ImportError as e:
            new_exc = ImportError('Error importing plugin "%s": %s' % (modname, e))

And it was caused because the message came from the OS in pt-BR due to a DLL not being found:

DLL load failed: Não foi possível encontrar o módulo especificado.

cc @dplucenio

@nicoddemus nicoddemus added topic: reporting related to terminal output and user-facing messages and errors good first issue easy issue that is friendly to new contributor labels Oct 11, 2016
@nicoddemus nicoddemus self-assigned this Oct 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue easy issue that is friendly to new contributor topic: reporting related to terminal output and user-facing messages and errors
Projects
None yet
Development

No branches or pull requests

1 participant