Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 200116 Details for
Bug 280259
sys-apps/portage-2.2_rc35 UnicodeDecodeError with --buildpkg or quickpkg
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix the UnicodeDecodeError
unicode_packages.patch (text/plain), 641 bytes, created by
Zac Medico
on 2009-08-04 06:52:21 UTC
(
hide
)
Description:
Fix the UnicodeDecodeError
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2009-08-04 06:52:21 UTC
Size:
641 bytes
patch
obsolete
>Index: pym/portage/dbapi/bintree.py >=================================================================== >--- pym/portage/dbapi/bintree.py (revision 13888) >+++ pym/portage/dbapi/bintree.py (revision 13889) >@@ -21,6 +21,7 @@ > > from portage import dep_expand, listdir, _check_distfile, _movefile > >+import codecs > import os, errno, stat > import re > from itertools import chain, izip >@@ -847,7 +848,8 @@ > created_symlink = True > pkgindex = self._new_pkgindex() > try: >- f = open(self._pkgindex_file) >+ f = codecs.open(self._pkgindex_file, >+ encoding='utf_8', errors='replace') > except EnvironmentError: > pass > else:
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 280259
:
200116
|
200120