AttributeError: 'NoneType' object has no attribute 'items' when running plainbox tests

Bug #1258477 reported by Daniel Manrique
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Fix Released
Low
Sylvain Pineau

Bug Description

how to reproduce:

bzr branch lp:checkbox
cd checkbox/plainbox
./setup.py test

Expected result:

----------------------------------------------------------------------
Ran 1372 tests in 3.338s

OK (expected failures=1)

Actual result:

Error in atexit._run_exitfuncs:
AttributeError: 'NoneType' object has no attribute 'items'
Error in atexit._run_exitfuncs:
AttributeError: 'NoneType' object has no attribute 'items'

This started happening in checkbox rev 2498 (git commit 390d2a10).

Despite the test run suceeding and all tests passing, this error message is a bit confusing and it seems to be causing some trouble for Brendan.

Tags: plainbox

Related branches

Daniel Manrique (roadmr)
description: updated
Revision history for this message
Zygmunt Krynicki (zyga) wrote : Re: [Bug 1258477] [NEW] AttributeError: 'NoneType' object has no attribute 'items' when running plainbox tests

This is some sort of finalization, I'd bet it's related to logging.py.
It's not a priority but thanks for reporting it.

ZK

On Fri, Dec 6, 2013 at 12:08 PM, Daniel Manrique
<email address hidden> wrote:
> Public bug reported:
>
> how to reproduce:
>
> bzr branch lp:checkbox
> cd checkbox/plainbox
> ./setup.py test
>
> Expected result:
>
> ----------------------------------------------------------------------
> Ran 1372 tests in 3.338s
>
> OK (expected failures=1)
>
> Actual result:
>
> Error in atexit._run_exitfuncs:
> AttributeError: 'NoneType' object has no attribute 'items'
> Error in atexit._run_exitfuncs:
> AttributeError: 'NoneType' object has no attribute 'items'
>
> This started happening in checkbox rev 2498 (git commit 390d2a10).
>
> Despite the test run suceeding and all tests passing, this error message
> is a bit confusing and it seems to be causing some trouble for Brendan.
>
> ** Affects: checkbox
> Importance: Undecided
> Status: New
>
>
> ** Tags: plainbox
>
> ** Description changed:
>
> how to reproduce:
>
> bzr branch lp:checkbox
> cd checkbox/plainbox
> ./setup.py test
>
> Expected result:
>
> ----------------------------------------------------------------------
> Ran 1372 tests in 3.338s
>
> OK (expected failures=1)
>
> -
> Actual result:
>
> Error in atexit._run_exitfuncs:
> AttributeError: 'NoneType' object has no attribute 'items'
> Error in atexit._run_exitfuncs:
> AttributeError: 'NoneType' object has no attribute 'items'
>
> - This started happening in checkbox rev 2298 (git commit 390d2a10).
> + This started happening in checkbox rev 2498 (git commit 390d2a10).
>
> Despite the test run suceeding and all tests passing, this error message
> is a bit confusing and it seems to be causing some trouble for Brendan.
>
> --
> You received this bug notification because you are a member of Checkbox
> Bug Wranglers, which is subscribed to checkbox.
> https://bugs.launchpad.net/bugs/1258477
>
> Title:
> AttributeError: 'NoneType' object has no attribute 'items' when
> running plainbox tests
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/checkbox/+bug/1258477/+subscriptions

Changed in checkbox:
status: New → In Progress
importance: Undecided → Low
assignee: nobody → Sylvain Pineau (sylvain-pineau)
Changed in checkbox:
status: In Progress → Fix Committed
milestone: none → 2013-dec-20
milestone: 2013-dec-20 → none
Zygmunt Krynicki (zyga)
Changed in checkbox:
milestone: none → plainbox-0.4b2
Zygmunt Krynicki (zyga)
Changed in checkbox:
status: Fix Committed → 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.