Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81282 - equery emits a traceback on invalid pkgspec's
Summary: equery emits a traceback on invalid pkgspec's
Status: RESOLVED FIXED
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: InVCS
Depends on:
Blocks:
 
Reported: 2005-02-08 12:19 UTC by Elfyn McBratney (beu) (RETIRED)
Modified: 2006-01-17 19:32 UTC (History)
0 users

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


Attachments
s,e,e[0], (equery.patch,449 bytes, patch)
2005-02-08 12:19 UTC, Elfyn McBratney (beu) (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-02-08 12:19:06 UTC
Albeit invalid, "equery u media-libs/libao-0.8.5" emits the following traceback:

  [ Searching for packages matching media-libs/libao-0.8.5... ]
  !!! Internal portage error, terminating
  Traceback (most recent call last):
    File "/usr/bin/equery", line 1565, in ?
      print_error(e)
    File "/usr/lib/gentoolkit/pym/gentoolkit/pprinter.py", line 14, in print_error
      sys.stderr.write(output.red("!!! ") + s + "\n")
  TypeError: cannot concatenate 'str' and 'instance' objects

Patch to follow. :-)

Reproducible: Always
Steps to Reproduce:
(with app-portage/gentoolkit-0.2.0):
1. emerge u cat/package-version
Comment 1 Elfyn McBratney (beu) (RETIRED) gentoo-dev 2005-02-08 12:19:47 UTC
Created attachment 50774 [details, diff]
s,e,e[0],
Comment 2 Paul Varner (RETIRED) gentoo-dev 2005-09-15 15:07:41 UTC
Fixed in gentoolkit-0.2.1_pre*
Comment 3 Paul Varner (RETIRED) gentoo-dev 2006-01-17 19:32:52 UTC
Fix is in gentoolkit-0.2.1