Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 325591 - --deselect causes TypeError
Summary: --deselect causes TypeError
Status: VERIFIED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All All
: High normal
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS, REGRESSION
Depends on:
Blocks:
 
Reported: 2010-06-25 20:44 UTC by Arfrever Frehtes Taifersar Arahesis (RETIRED)
Modified: 2010-06-28 00:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2010-06-25 20:44:08 UTC
# emerge --deselect openoffice
Traceback (most recent call last):
  File "/usr/bin/emerge", line 43, in <module>
    retval = emerge_main()
  File "/usr/lib64/portage/pym/_emerge/main.py", line 1545, in emerge_main
    myopts, myaction, myfiles, spinner)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 2385, in action_uninstall
    rval = action_deselect(settings, trees, opts, valid_atoms)
  File "/usr/lib64/portage/pym/_emerge/actions.py", line 1189, in action_deselect
    if arg_atom.intersects(atom) and \
  File "/usr/lib64/portage/pym/portage/dep/__init__.py", line 658, in intersects
    (Atom, type(other)))
TypeError: expected <class 'portage.dep.Atom'>, got <class 'str'>
Comment 1 Zac Medico gentoo-dev 2010-06-28 00:18:29 UTC
It should be fixed by this commit:

http://git.overlays.gentoo.org/gitweb/?p=proj/portage.git;a=commit;h=10c7d5d1a1329f846baad3659486c276dafddbba

This bug doesn't exist in any released version afaik, so marking as fixed.