says a PPA package is a source package but tells you it has no binaries

Bug #1148015 reported by Brian Murray on 2013-03-05
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Brian Murray

Bug Description

On I was trying to find crashes for indicator-stickynotes which comes from a PPA. However, it is not possible to find these using the current way the code is setup.

From errors/api/ we have:

        elif package and launchpad.is_source_package(package):
            for binary in launchpad.get_binaries_in_source_package(package):

launchpad.is_source_package() returns True for indicator-stickynotes but then launchpad.get_binaries_in_source_package() returns ''. Subsequently, no errors are returned although there really are some reported about this package.

One idea to fix this would be to always add package to packages. Although, its possible that a PPA package could produce multiple binary packages and we'd really like to know the names of those.

Related branches

Changed in daisy:
importance: Undecided → High
Brian Murray (brian-murray) wrote :

I thought this might be because indicator-stickynotes does not have a version for raring but this also happens with firefox-lp-improvements which does.

In [4]: launchpad.get_binaries_in_source_package('firefox-lp-improvements')
Out[4]: ''

Brian Murray (brian-murray) wrote :

From what I can tell it looks like each PPA has their own archive so get the binary names would be quite hard.

gdl = lp.people['gm-dev-launchpad']
In [14]: archive = gdl.getPPAByName(name='ppa')

In [15]: archive.web_link
Out[15]: u''

In [16]: archive.distribution_link
Out[16]: u''

In [18]: [b.binary_package_name for b in archive.getPublishedBinaries()]

Changed in daisy:
status: New → Fix Committed
assignee: nobody → Brian Murray (brian-murray)
description: updated
Changed in daisy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers