when i run Update binary package index /usr/portage/packages/All i get this error: Traceback (most recent call last): File "/usr/lib/gentoolkit/bin/genpkgindex", line 128, in ? for x in iuse.split(' '): AttributeError: 'NoneType' object has no attribute 'split' i've test gentoolkit-0.2.2 and the 0.2.3-pre2
in line 128 , 129 i've did a cast to iuse,use to strings like this: 128 for x in str(iuse).split(' '): 129 for y in str(use).split(' '): instead of: 128 for x in iuse.split(' '): 129 for y in use.split(' '): as i think that split function should be done on strings only and python didn't see them as strings. after i did this the script runs fine but it doesn't generate metadata.idx file as expected :( .
The fix is InSVN http://sources.gentoo.org/viewcvs.py/*checkout*/gentoolkit/trunk/src/genpkgindex/genpkgindex
This was released in gentoolkit-0.2.3_pre3