McQ Posted December 27, 2017 Report Share Posted December 27, 2017 When I run revdep-rebuild it fails with this output: # revdep-rebuild –v * This is the new python coded version * Please report any bugs found using it. * The original revdep-rebuild script is installed as revdep-rebuild.sh * Please file bugs at: https://bugs.gentoo.org/ * Collecting system binaries and libraries * Checking dynamic linking consistency * Assign files to packages Traceback (most recent call last): File "/usr/lib/python-exec/python2.7/revdep-rebuild", line 40, in <module> success = rebuild.main(rebuild.parse_options()) File "/usr/lib64/python2.7/site-packages/gentoolkit/revdep_rebuild/rebuild.py", line 171, in main success = rebuild(logger, assigned, settings) File "/usr/lib64/python2.7/site-packages/gentoolkit/revdep_rebuild/rebuild.py", line 90, in rebuild ' --oneshot --complete-graph=y ' + UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 1: ordinal not in range(128) I verified the locale is set to en_US.utf8 # eselect locale list Available targets for the LANG variable:  C  POSIX  en_US  en_US.iso88591  en_US.utf8 * [ ] (free form) # locale LANG=en_US.utf8 LC_CTYPE="en_US.utf8" LC_NUMERIC="en_US.utf8" LC_TIME="en_US.utf8" LC_COLLATE=POSIX LC_MONETARY="en_US.utf8" LC_MESSAGES="en_US.utf8" LC_PAPER="en_US.utf8" LC_NAME="en_US.utf8" LC_ADDRESS="en_US.utf8" LC_TELEPHONE="en_US.utf8" LC_MEASUREMENT="en_US.utf8" LC_IDENTIFICATION="en_US.utf8" LC_ALL= But for some reason I get this output from python which is showing ascii: # python Python 2.7.13 (default, Jul 26 2017, 07:27:56) [GCC 5.3.0] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> reload(sys) <module 'sys' (built-in)> >>> sys.getdefaultencoding() 'ascii' >>> Can you suggest what setting that I need to repair? Link to comment Share on other sites More sharing options...
When I run revdep-rebuild it fails with this output:
I verified the locale is set to en_US.utf8
But for some reason I get this output from python which is showing ascii:
Can you suggest what setting that I need to repair?
Link to comment
Share on other sites
4 answers to this question
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now