LocationError raised in build page and distribution arch series binary package page
Bug #493703 reported by
Diogo Matsubara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Michael Nelson |
Bug Description
As seen on OOPS-1434B2355 a LocationError was raised when navigating to a specific architecture build page.
Steps to reproduce:
1. Open https:/
2. Click the i386 architecture link
3. OOPS-1437EB839
Related branches
lp://qastaging/~michael.nelson/launchpad/493703-location-error
- Abel Deuring (community): Approve (code)
-
Diff: 55 lines (+33/-2)2 files modifiedlib/lp/soyuz/browser/build.py (+4/-2)
lib/lp/soyuz/browser/tests/build-views.txt (+29/-0)
lp://qastaging/~michael.nelson/launchpad/493703-bpr-error
- Abel Deuring (community): Approve (code)
-
Diff: 83 lines (+50/-5)2 files modifiedlib/lp/soyuz/stories/soyuz/xx-distroarchseries-binpackages.txt (+40/-1)
lib/lp/soyuz/templates/distroarchseriesbinarypackagerelease-index.pt (+10/-4)
Changed in soyuz: | |
milestone: | none → 3.1.12 |
Changed in soyuz: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Erm, I know there is as constraint on LFA so that it shouldn't be possible, but at first glance those oopses suggest that build id=198178 has a binary package with a LibraryFileAlias where lfa.content is None?
Is it possible to check all the files associated with:
>>> bin_pkgs = Build.get( 198178) .binarypackages le.id for file in pkg.files]
>>> lfa_ids = []
>>> for pkg in bin_pkgs:
... lfa_ids += [file.libraryfi
and then check those lfas? (or using the SQL equivalent)
I'll look for other possibilities first thing in the morning.