Problem with usedeps in combination with slots

Bug #557715 reported by René 'Necoro' Neumann on 2010-04-08
This bug affects 1 person
Affects Status Importance Assigned to Milestone
René 'Necoro' Neumann
René 'Necoro' Neumann

Bug Description

Exception in thread "Update-Thread":
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/portato/gui/", line 40, in run
  File "/usr/lib/python2.6/", line 477, in run
    self.__target(*self.__args, **self.__kwargs)
  File "/usr/lib/python2.6/site-packages/portato/gui/windows/", line 1460, in __update
    updating = system.update_world(newuse = self.cfg.get_boolean("newuse"), deep = self.cfg.get_boolean("deep"))
  File "/usr/lib/python2.6/site-packages/portato/backend/portage/", line 366, in update_world
    check(p, True)
  File "/usr/lib/python2.6/site-packages/portato/backend/portage/", line 362, in check
    check(pkg, state[1], appended) # XXX: should be 'or'ed with prev_appended?
  File "/usr/lib/python2.6/site-packages/portato/backend/portage/", line 356, in check
    bm = self.get_new_packages([i])
  File "/usr/lib/python2.6/site-packages/portato/backend/portage/", line 271, in get_new_packages
    append(crit, self.find_best_match(crit), inst)
  File "/usr/lib/python2.6/site-packages/portato/backend/portage/", line 191, in find_best_match
    t = self.find_packages(search_key, pkgSet = pkgSet, masked = masked, with_version = True, only_cpv = True)
  File "/usr/lib/python2.6/site-packages/portato/backend/portage/", line 211, in find_packages
    return self.geneticize_list(self._get_set(pkgSet).find(key, masked, with_version, only_cpv), only_cpv or not with_version)
  File "/usr/lib/python2.6/site-packages/portato/backend/portage/", line 34, in find
    t = self.get_pkgs(key, is_regexp, masked, with_version, only_cpv)
  File "/usr/lib/python2.6/site-packages/portato/backend/portage/", line 126, in get_pkgs
    t = system.settings.porttree.dbapi.match(key)
  File "/usr/lib/portage/pym/portage/dbapi/", line 1013, in match
    return self.xmatch("match-visible", mydep)
  File "/usr/lib/portage/pym/portage/dbapi/", line 910, in xmatch
    mydep = dep_expand(origdep, mydb=self, settings=self.mysettings)
  File "/usr/lib/portage/pym/portage/", line 7188, in dep_expand
    return portage.dep.Atom(prefix + expanded + postfix)
  File "/usr/lib/portage/pym/portage/", line 499, in __call__
    instance = super(_AtomCache, cls).__call__(s)
  File "/usr/lib/portage/pym/portage/", line 530, in __init__
    raise InvalidAtom(s)
InvalidAtom: >=dev-lang/python-2.3[threads]:3.1

Portato version: 0.13
System: Gentoo
Python version: 2.6.2 (r262:71600, Jun 2 2009, 11:25:36)
[GCC 4.3.2]
Used backend: Portage
pygtk: 2.14.1 (using GTK+: 2.14.7)
pygobject: 2.18.0 (using GLib: 2.18.4)

Changed in portato:
milestone: 0.14 → none
tags: added: imported
René 'Necoro' Neumann (necoro) wrote :

Won't come in 0.14, but probably in 0.15

tags: added: queue
René 'Necoro' Neumann (necoro) wrote :

Target a workaround at least for 0.14.1

René 'Necoro' Neumann (necoro) wrote :

Workaround (hopefully) as of 6a25d98dfbed84d0294fbf

Changed in portato:
importance: High → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers