Hi again to my Gentoo friends, I have noticed that every time I do an "emerge --search glib" I get this output at the end. It is supposed to find 4 (and indeed it claims that 4 have been found), but then I get the error at the end instead of the 4th one. What gives? Is this a known bug? Is it a bug? Thanks again, Seemant [ Results for search key : glib ] [ Applications found : 4 ] * dev-libs/glib Latest version Available: 1.2.10-r2 Latest version Installed: 1.2.10-r2 Description: The GLib library of C routines * gnome-extra/glibwww Latest version Available: 0.2-r2 Latest version Installed: [ Not Installed ] Description: The Gnome WWW Libraries * sys-libs/glibc Latest version Available: 2.2.4-r9 Latest version Installed: 2.2.4-r9 Description: GNU libc6 (also called glibc2) C library Traceback (most recent call last): File "/usr/sbin/emerge", line 641, in ? searchinstance.output() File "/usr/sbin/emerge", line 61, in output full_package = strip(self.treecache.dep_bestmatch(match)) File "/usr/lib/spython2.0/string.py", line 80, in strip return s.strip() AttributeError: 'None' object has no attribute 'strip'
edit /usr/sbin/emerge, and after the line: for match in self.packagematches: add an indented line: print match Then rerun so we can track down the prob further.
Hi Dr. Robbins, Between the time I last got this bug and now, I did an emerge --world update, and nothing more. All of a sudden, the output is fine. It finds three and exits cleanly. Strange. I am sorry that I can not reproduce this error... I feel like I have wasted your time with it. Seemant localhost # emerge --search glib [ Results for search key : glib ] [ Applications found : 3 ] * sys-libs/glibc Latest version Available: 2.2.4-r9 Latest version Installed: 2.2.4-r9 Description: GNU libc6 (also called glibc2) C library * dev-libs/glib Latest version Available: 1.2.10-r2 Latest version Installed: 1.2.10-r2 Description: The GLib library of C routines * gnome-extra/glibwww Latest version Available: 0.2-r2 Latest version Installed: [ Not Installed ] Description: The Gnome WWW Libraries localhost #
maybe a flaky ebuild caused it. Marking as FIXED :)