Comment 1 for bug 493703

Revision history for this message
Michael Nelson (michael.nelson) wrote :

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
>>> lfa_ids = []
>>> for pkg in bin_pkgs:
... lfa_ids += [file.libraryfile.id for file in pkg.files]

and then check those lfas? (or using the SQL equivalent)

I'll look for other possibilities first thing in the morning.