Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 81282

Summary: equery emits a traceback on invalid pkgspec's
Product: Portage Development Reporter: Elfyn McBratney (beu) (RETIRED) <beu>
Component: ToolsAssignee: Portage Tools Team <tools-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: s,e,e[0],

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