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

Bug 307037

Summary: porthole-0.6.1 Summary view not showing most of the info
Product: Gentoo Linux Reporter: Brian Dolbec (RETIRED) <dolsen>
Component: Current packagesAssignee: 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: fixes the KeyError due to an installed ebuild being removed from the tree.
updated ebuild, including the patch

Description Brian Dolbec (RETIRED) gentoo-dev 2010-02-27 05:12:25 UTC
There is a small bug in the information gathering to display the package details.
I did not account for deprecated packages still being installed causing a KeyError from portage information retrieval causing a traceback, stopping the summary view display from building.  It did not affect package emerging, updating, etc..

The attached patch fixes that so that it will continue to display all the information correctly as usual.

Reproducible: Always

Steps to Reproduce:
1.select a package that has deprecated version installed.
2.
3.
Comment 1 Brian Dolbec (RETIRED) gentoo-dev 2010-02-27 05:14:55 UTC
Created attachment 221391 [details, diff]
fixes the KeyError due to an installed ebuild being removed from the tree.
Comment 2 Brian Dolbec (RETIRED) gentoo-dev 2010-02-27 05:15:49 UTC
Created attachment 221393 [details]
updated ebuild, including the patch