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

Comments

Projects
None yet
1 participant
@nicoddemus
Member

nicoddemus commented Oct 11, 2016

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 self-assigned this Oct 11, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment