Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 311799

Summary: app-portage/gentoolkit-0.3.0_rc9: "equery l -d -f sources" gicves an error
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 237964    

Description Toralf Förster gentoo-dev 2010-03-28 16:59:17 UTC
Hopefully this command isn't PEBKAC :

tfoerste@n22 ~ $ equery l -d -f sources
 * Searching for sources ...
Traceback (most recent call last):
  File "/usr/bin/equery-2.6", line 35, in <module>
    equery.main()
  File "/usr/lib/python2.6/site-packages/gentoolkit/equery/__init__.py", line 343, in main
    loaded_module.main(module_args)
  File "/usr/lib/python2.6/site-packages/gentoolkit/equery/list_.py", line 170, in main
    matches = get_duplicates(matches)
  File "/usr/lib/python2.6/site-packages/gentoolkit/equery/list_.py", line 86, in get_duplicates
    if pkg.cpv.cp in dups:
AttributeError: 'unicode' object has no attribute 'cp'



Reproducible: Always



Expected Results:  
duplicates of installed kernel sources
Comment 1 Christian Ruppert (idl0r) gentoo-dev 2010-04-06 09:49:16 UTC
This bug has been fixed in app-portage/gentoolkit-0.3.0_rc10, thanks for reporting this issue.