ERROR:Svammel:Unhandled situation while auto closing bugs from log file.

Bug #791642 reported by Ricardo Salveti on 2011-06-02
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Svammel (UNMAINTAINED)
Undecided
Mattias Backman

Bug Description

INFO:Svammel:Checking for successful builds for package pilot-qof version >= 0.2.3-1
ERROR:Svammel:Unhandled situation while auto closing bugs from log file.
Traceback (most recent call last):
  File "file-failures.py", line 161, in <module>
    archives, fail_platform)
  File "/home/rsalveti/projects/linaro/svammel/data_parsing.py", line 208, in exists_successful_later_build
    if fail_build_record.archive.name == archive.name:
AttributeError: 'NoneType' object has no attribute 'archive'

When running svammel the second time with a proper logfile against the primary archive.

Bug 770729 fixed the base case when looking for successful builds, but then if fail_build_record is None it'll raise an exception when looking for fail_build_record.archive.

On Thu, Jun 2, 2011 at 3:48 AM, Ricardo Salveti <email address hidden> wrote:
> Public bug reported:
>
> INFO:Svammel:Checking for successful builds for package pilot-qof version >= 0.2.3-1
> ERROR:Svammel:Unhandled situation while auto closing bugs from log file.
> Traceback (most recent call last):
>  File "file-failures.py", line 161, in <module>
>    archives, fail_platform)
>  File "/home/rsalveti/projects/linaro/svammel/data_parsing.py", line 208, in exists_successful_later_build
>    if fail_build_record.archive.name == archive.name:
> AttributeError: 'NoneType' object has no attribute 'archive'
>
> When running svammel the second time with a proper logfile against the
> primary archive.
>
> Bug 770729 fixed the base case when looking for successful builds, but
> then if fail_build_record is None it'll raise an exception when looking
> for fail_build_record.archive.

Thanks for finding this. We should not look up archive name when there
is no build record to match successful builds against.

Could you try lp:~mabac/svammel/two-small-fixes and verify that it
works for you in that situation?

Thanks,

Mattias

Mattias Backman (mabac) on 2011-06-08
Changed in svammel:
assignee: nobody → Mattias Backman (mabac)
milestone: none → 0.1.2
status: New → Fix Committed
Mattias Backman (mabac) on 2011-08-18
Changed in svammel:
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