Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325511 - Portage crashing with python unicode error
Summary: Portage crashing with python unicode error
Status: RESOLVED DUPLICATE of bug 325505
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-25 14:05 UTC by Vadim A. Misbakh-Soloviov (mva) (RETIRED)
Modified: 2010-06-25 14:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vadim A. Misbakh-Soloviov (mva) (RETIRED) gentoo-dev 2010-06-25 14:05:12 UTC
Every time, I using e-file or euse, sometimes, when I use gentoolkit's equery, and sometimes, when I use binhosts i get error like this:

Traceback (most recent call last):
  File "/usr/bin/emerge", line 42, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1528, in emerge_main
    return action_info(settings, trees, myopts, valid_atoms)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 1295, in action_info
    print('%s="%s"' % (x, settings[x]))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 9-10: ordinal not in range(128)

I think, that it'll be better to fix portage to use unicode, except of ascii.
By the way, it is NO any non-ascii characters in queries and in tose scripts.
//with best regards, mva.
Comment 1 Vadim A. Misbakh-Soloviov (mva) (RETIRED) gentoo-dev 2010-06-25 14:06:15 UTC
sorry, dup :(

*** This bug has been marked as a duplicate of bug 325505 ***