View previous topic :: View next topic |
Author |
Message |
AchilleTalon Guru
Joined: 11 Apr 2004 Posts: 368 Location: Montreal, Quebec, Canada
|
Posted: Tue Jul 12, 2011 9:55 pm Post subject: Portage and/or python seems broken |
|
|
While trying to emerge anything I am getting the following messages. Anyone can help?
Code: | bohr ~ # emerge portage
Calculating dependencies... done!
Traceback (most recent call last):
File "/usr/bin/emerge", line 43, in <module>
retval = emerge_main()
File "/usr/lib64/portage/pym/_emerge/main.py", line 1732, in emerge_main
myopts, myaction, myfiles, spinner)
File "/usr/lib64/portage/pym/_emerge/actions.py", line 294, in action_build
settings, trees, myopts, myparams, myaction, myfiles, spinner)
File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 5788, in backtrack_depgraph
myaction, myfiles, spinner)
File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 5807, in _backtrack_depgraph
success, favorites = mydepgraph.select_files(myfiles)
File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 1921, in select_files
return self._resolve(myfavorites)
File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 2037, in _resolve
self.altlist()
File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 4083, in altlist
self._resolve_conflicts()
File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 4165, in _resolve_conflicts
if not self._validate_blockers():
File "/usr/lib64/portage/pym/_emerge/depgraph.py", line 3862, in _validate_blockers
show_invalid_depstring_notice(pkg, depstr, atoms)
File "/usr/lib64/portage/pym/_emerge/show_invalid_depstring_notice.py", line 34, in show_invalid_depstring_notice
writemsg_level(msg1 + msg2, level=logging.ERROR, noiselevel=-1)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 74: ordinal not in range(128)
|
_________________ Achille Talon Hop! |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Wed Jul 13, 2011 6:06 am Post subject: |
|
|
What version of portage and python are you using?
you can probably get past it by temporarily switching to a different python version like 3.1 or 3.2 _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
Back to top |
|
|
Aquous l33t
Joined: 08 Jan 2011 Posts: 700
|
Posted: Wed Jul 13, 2011 7:09 am Post subject: |
|
|
Quote: | show_invalid_depstring_notice
...
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 74: ordinal not in range(128) |
Looks like it's about to show an error message that an ebuild has a wrong DEPEND="...", but all of a sudden it's finding a non-text-byte. My first guess would be a bad sync, try rerunning emerge --sync. |
|
Back to top |
|
|
AchilleTalon Guru
Joined: 11 Apr 2004 Posts: 368 Location: Montreal, Quebec, Canada
|
Posted: Thu Jul 14, 2011 8:59 pm Post subject: |
|
|
Aquous wrote: | Quote: | show_invalid_depstring_notice
...
UnicodeDecodeError: 'ascii' codec can't decode byte 0xef in position 74: ordinal not in range(128) |
Looks like it's about to show an error message that an ebuild has a wrong DEPEND="...", but all of a sudden it's finding a non-text-byte. My first guess would be a bad sync, try rerunning emerge --sync. |
I did that many times already and it doesn't change anything. The error is still there. The original problem manifest after a failed sync which was interrupted abruptly by a power loss. So, I guess something went wrong with the files. I did many emerge --sync since that time and they all worked, unfortunately this doesn't fix the problem. Anything else I can try? _________________ Achille Talon Hop! |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|