Summary: | >=sys-apps/portage-2.1.6.8: UnicodeDecodeError when emerging some packages or emerge -u world | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Bartosz Brachaczek <b.brachaczek> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | esigra |
Priority: | High | Keywords: | InVCS, REGRESSION |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 210077, 261959 |
Description
Bartosz Brachaczek
2009-03-19 22:20:53 UTC
It seems that you have a unicode character inside /etc/portage/package.use settings for mplayer. Please post the output of this command: grep media-video/mplayer /etc/portage/package.use (In reply to comment #1) > It seems that you have a unicode character inside /etc/portage/package.use > settings for mplayer. Yes, indeed, I have. Now I see it's causing the problem. > Please post the output of this command: > grep media-video/mplayer /etc/portage/package.use > # grep media-video/mplayer /etc/portage/package.use media-video/mplayer -fbcon media-video/mplayer -gtk #jakaś skórka, nie używam jej media-video/mplayer -oss #domyślnie było włączone (?) So now the only proper way of adding comments is to place them above the package atom? Right, only lines that begin with # are recognized as comments. Ok, thanks. My bad, sorry for fuss. Well, it's still a valid bug. We should fix it to simply ignore unicode encode/decode errors in cases like this where they don't really matter. I suspect that you have the sqlite cache module enabled in /etc/portage/modules, since that might trigger the UnicodeDecodeError that you reported. Am I right? (In reply to comment #5) > Well, it's still a valid bug. We should fix it to simply ignore unicode > encode/decode errors in cases like this where they don't really matter. Ah, ok. Misunderstood. > I suspect that you have the sqlite cache module enabled in > /etc/portage/modules, since that might trigger the UnicodeDecodeError that you > reported. Am I right? Right. (In reply to comment #6) > > I suspect that you have the sqlite cache module enabled in > > /etc/portage/modules, since that might trigger the UnicodeDecodeError that you > > reported. Am I right? > > Right. > Thanks for the confirmation. In svn r13141 I've reverted the changes in the sqlite module which triggered the UnicodeDecodeError. This is fixed in 2.1.6.10. |