Summary: | sys-apps/portage-2.2.14_rc1 - 'emerge -v' crashes with UnicodeDecodeError exception | ||
---|---|---|---|
Product: | Portage Development | Reporter: | simon <s7mon> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED WORKSFORME | ||
Severity: | minor | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
simon
2014-10-03 17:11:08 UTC
That pretty much looks like it's caused by mixing UTF-8 and ISO-8859-15 locale settings. Python3 assumes unicode and 'a4' is ISO-8859 for 'ยค'. I don't think there's any software that works *better* in a mixed-encoding locale that it would in a pure UTF-8 environment, but I could be wrong. Unless there's a very good reason to stick with the mixed-encoding locale I'd suggest replacing all instances of de_DE@euro in /etc/env.d/02locales with de_DE.UTF-8 (or de_DE.utf8, if that's how it's named in your /etc/locale.gen) and trying again in a new session. Changing as suggested worked and resolved the issue. Thanks for the hint. Now i just have to check why LC_NUMERIC can't be updated (env-update && source /etc/profile) but that's off topic - marking as resolved. bash: warning: setlocale: LC_NUMERIC: cannot change locale (de_DE.utf8) Thanks again. |