Hey Padraig.
I found one more traceback:
Traceback (most recent call last):
File "/usr/bin/packagemanager", line 3171, in
__update_package_info
self.__set_dependencies_text(local_info, dep_info)
File "/usr/bin/packagemanager", line 2980, in
__set_dependencies_text
if states and states[i].state ==
api.PackageInfo.INSTALLED:
IndexError: list index out of range
This one I came across when examining certain packages I have in
a local
repo. I've not figured out exactly what triggers it. For instance,
having switched views to my local repo, selecting SUNWcairo does not
trigger the error, but for some reason selecting SUNWcairomm does.
$ pkg list -av SUNWcairo
FMRI
STATE UFIX
pkg://mynga/[email protected],5.11-0.122:20090916T051212Z
known ----
pkg://opensolaris.org/[email protected],5.11-0.122:20090828T200631Z
installed u---
$ pkg list -av SUNWcairomm
FMRI
STATE UFIX
pkg://mynga/[email protected],5.11-0.122:20090916T055116Z
known ----
pkg://opensolaris.org/[email protected],5.11-0.122:20090828T200634Z
installed u---
<shrugs>
--joanie
On Thu, 2009-09-17 at 23:16 -0400, Joanmarie Diggs wrote:
Hey Padraig.
First, I must say that the new layout is awesome. Makes it much
easier
to understand what's present and absent.
I did find an occurrence where things seem to fail, however. When I
select a locale for OpenOffice (e.g. openoffice-hu), I get the
following
traceback:
Traceback (most recent call last):
File "/usr/bin/packagemanager", line 3171, in
__update_package_info
self.__set_dependencies_text(local_info, dep_info)
File "/usr/bin/packagemanager", line 2950, in
__set_dependencies_text
if dep_info != None or len(dep_info.get(0)) >= 0:
AttributeError: 'NoneType' object has no attribute 'get'
--joanie
On Thu, 2009-09-17 at 10:39 +0100, Padraig O'Briain wrote:
The webrev, http://cr.opensolaris.org/~padraig/ips-5321-v4/, fixes
5321 package manager dependencies tab could show installation
status
This webrev changes the layout of the dependencies panel to
separate the package name and version and list whether it is
installed or not installed.
Padraig
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss