AttributeError: 'NoneType' object has no attribute 'id'

Bug #820389 reported by Diogo Matsubara
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Julian Edwards

Bug Description

The distroseriesdifference_job.py script raised an AttributeError: OOPS-2040REPORTIFSEEN261

   Traceback (most recent call last):
  Module lp.services.job.runner, line 192, in runJob
    job.run()
  Module lp.soyuz.model.distroseriesdifferencejob, line 319, in run
    self.distroseries, self.sourcepackagename, self.parent_series)
  Module lp.registry.model.distroseriesdifference, line 412, in new
    derived_series, parent_series)
  Module lp.registry.model.distroseriesparent, line 100, in getByDerivedAndParentSeries
    DistroSeriesParent.parent_series_id == parent_series.id,
AttributeError: 'NoneType' object has no attribute 'id'

It looks like that app server is using the wrong config as well, since it shouldn't be logging oopses with the REPORTIFSEEN prefix (bug 787490).

Other oopses: OOPS-2042REPORTIFSEEN349, OOPS-2041REPORTIFSEEN263, OOPS-2041REPORTIFSEEN264, OOPS-2041REPORTIFSEEN274, OOPS-2041REPORTIFSEEN275, OOPS-2041REPORTIFSEEN276

tags: added: derivation
Revision history for this message
Julian Edwards (julian-edwards) wrote :

This will be easier to diagnose when my __repr__ branch lands so we can see which diff it's working on.

Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Julian Edwards (julian-edwards)
description: updated
description: updated
Revision history for this message
Julian Edwards (julian-edwards) wrote :

This is caused because cocoplum's code base is not up to date enough and doesn't have the changes that enforce parent_series.

Changed in launchpad:
status: In Progress → Invalid
tags: added: critical-analysis
Changed in launchpad:
status: Invalid → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.