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

Bug 305953

Summary: gentoolkit-0.3.0_rc9: equery list -d '*' traceback
Product: Portage Development Reporter: Paul Varner (RETIRED) <fuzzyray>
Component: ToolsAssignee: 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 Paul Varner (RETIRED) gentoo-dev 2010-02-19 21:28:57 UTC
# equery list -d '*'
 * Searching for * ...
Traceback (most recent call last):
  File "/usr/bin/equery-2.6", line 35, in <module>
    equery.main()
  File "/usr/lib64/python2.6/site-packages/gentoolkit/equery/__init__.py", line 342, in main
    loaded_module.main(module_args)
  File "/usr/lib64/python2.6/site-packages/gentoolkit/equery/list_.py", line 170, in main
    matches = get_duplicates(matches)
  File "/usr/lib64/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'
beldin ~ # equery --version
equery (genscripts-r222) - Gentoo package query tool
Comment 1 Douglas Anderson 2010-02-20 03:48:27 UTC
$ svn ci -m "Fix traceback from flip-flopping on cpv.CPV usage. Affects equery.list_.py and equery.belongs.py. Bug #305953."
Sending        gentoolkit/pym/gentoolkit/equery/belongs.py
Sending        gentoolkit/pym/gentoolkit/equery/list_.py
Transmitting file data ..
Committed revision 223.
Comment 2 Christian Ruppert (idl0r) gentoo-dev 2010-04-06 10:03:06 UTC
This bug has been fixed in app-portage/gentoolkit-0.3.0_rc10, thanks for reporting this issue.