Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 71736 - Python error with etcat -u on package xorg-x11
Summary: Python error with etcat -u on package xorg-x11
Status: RESOLVED WONTFIX
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
: 75121 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-11-19 02:09 UTC by Diederik van der Boor
Modified: 2004-12-24 06:17 UTC (History)
2 users (show)

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 Diederik van der Boor 2004-11-19 02:09:54 UTC
This is what I get with "etcat -u":

root@pts/2 root # etcat -u =x11-base/xorg-x11-6.8.0-r1
[ Colour Code : set unset ]
[ Legend   : (U) Col 1 - Current USE flags        ]
[          : (I) Col 2 - Installed With USE flags ]
Traceback (most recent call last):
  File "/usr/bin/etcat", line 677, in ?
    main()
  File "/usr/bin/etcat", line 673, in main
    function(query, matches)
  File "/usr/bin/etcat", line 364, in uses
    used = p.get_use_vars().split()
AttributeError: Package instance has no attribute 'get_use_vars'

I'm using gentoolkit-0.2.0_pre10-r1

Reproducible: Always
Steps to Reproduce:
Comment 1 Marius Mauch (RETIRED) gentoo-dev 2004-12-08 03:46:55 UTC
etcat is deprecated, use equery instead (and upgrade to gentoolkit-0.2.0_rc1).
Comment 2 Peter `MathFox' Roozemaal 2004-12-16 06:51:34 UTC
Don't forget to update the Gentoo Handbook... I still see references to etcat in section 2.2.c
Comment 3 Diederik van der Boor 2004-12-16 10:59:44 UTC
> etcat is deprecated, use equery instead
> (and upgrade to gentoolkit-0.2.0_rc1).

Thanks. I have gentoolkit-0.2 (final) installed.

I did notice that 'etcat -u' produces this python error with every package I tried. Can't this feature just be disabled or being fixed?

On a side note, there are 2 problems for me if I want to dump etcat:
- Bug #71737, `equery uses` doesn't query for packages that are not installed.
- I'd love to have a nice version overview 'etcat -v' provides. :-)
Comment 4 Marius Mauch (RETIRED) gentoo-dev 2004-12-24 06:17:02 UTC
*** Bug 75121 has been marked as a duplicate of this bug. ***