# emerge Traceback (most recent call last): File "/usr/bin/emerge", line 2, in ? import os,sys,portage,xpak,string,re,commands,time,threading,grp File "/usr/lib/python2.2/site-packages/portage.py", line 3701, in ? thirdpartymirrors=grabdict(settings["PORTDIR"]+"/profiles/thirdpartymirrors") File "/usr/lib/python2.2/site-packages/portage.py", line 395, in grabdict myfile.close() IOError: [Errno 9] Bad file descriptor this happens at every call of emerge, ebuild etc... I thought that python was broken, so i built python on a second machine and installed it: problem still persists. Any sugesstions how to get a working portage again?