Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 37709 - gentoolkit-0.2.0_pre2: traceback on equery list -i <pkgspec>
Summary: gentoolkit-0.2.0_pre2: traceback on equery list -i <pkgspec>
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High major
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2004-01-09 09:08 UTC by Paul Varner (RETIRED)
Modified: 2004-01-11 22:27 UTC (History)
0 users

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


Attachments
Patch to fix traceback (gentoolkit.py.patch.1,421 bytes, patch)
2004-01-09 09:09 UTC, Paul Varner (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Varner (RETIRED) gentoo-dev 2004-01-09 09:08:05 UTC
Running equery list -i <pkgspec> gives the following traceback:

Traceback (most recent call last):
  File "/usr/bin/equery", line 906, in ?
    cmd.perform(local_opts)
  File "/usr/bin/equery", line 778, in perform
    matches = package_finder(filter_fn)
  File "/usr/lib/gentoolkit/pym/gentoolkit.py", line 241, in find_all_installed_packages
    t=vartree.cpv_all()
AttributeError: vartree instance has no attribute 'cpv_all'

I'm attaching a patch that appears to fix the problem

Reproducible: Always
Steps to Reproduce:
1. emerge gentoolkit-0.2.0_pre2
2. equery list -i fam
3.

Actual Results:  
Traceback received

Expected Results:  
list of packages installed matching fam

Portage 2.0.50_pre10 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r3, 2.4.22-gentoo-r3)
=================================================================
System uname: 2.4.22-gentoo-r3 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.10
Autoconf: sys-devel/autoconf-2.57-r1
Automake: sys-devel/automake-1.7.5-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config /var/bind
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS=""
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apm arts avi berkdb crypt cups encode esd foomaticdb gdbm gif
gtk gtk2 i8x0 imlib java jpeg kde libg++ libwww mad mbox mikmod mmx motif
mozilla mpeg ncurses nls oggvorbis opengl oss pam pda pdflib perl png ppds
python qt readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype
usb x86 xml2 xmms xv zlib"
Comment 1 Paul Varner (RETIRED) gentoo-dev 2004-01-09 09:09:13 UTC
Created attachment 23486 [details, diff]
Patch to fix traceback
Comment 2 Marius Mauch (RETIRED) gentoo-dev 2004-01-09 14:29:23 UTC
I fixed that already in cvs shortly after releasing pre2, however I want to fix a few other things before pre3.
Comment 3 Marius Mauch (RETIRED) gentoo-dev 2004-01-11 22:27:56 UTC
fixed in pre3