AttributeError: 'NoneType' object has no attribute 'items' when running plainbox tests
Bug #1258477 reported by
Daniel Manrique
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.
AttributeError: 'NoneType' object has no attribute 'items'
Error in atexit.
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.
Related branches
lp://staging/~sylvain-pineau/checkbox/fix-1258477
- Zygmunt Krynicki (community): Approve
-
Diff: 17 lines (+2/-1)1 file modifiedplainbox/plainbox/impl/commands/test_run.py (+2/-1)
description: | updated |
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 |
Changed in checkbox: | |
milestone: | none → plainbox-0.4b2 |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
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 ------- ------- ------- ------- ------- ------- ------- ------- ------- _run_exitfuncs: _run_exitfuncs: ------- ------- ------- ------- ------- ------- ------- ------- ------- _run_exitfuncs: _run_exitfuncs: /bugs.launchpad .net/bugs/ 1258477 /bugs.launchpad .net/checkbox/ +bug/1258477/ +subscriptions
<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.
> AttributeError: 'NoneType' object has no attribute 'items'
> Error in atexit.
> 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.
> AttributeError: 'NoneType' object has no attribute 'items'
> Error in atexit.
> 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:/
>
> Title:
> AttributeError: 'NoneType' object has no attribute 'items' when
> running plainbox tests
>
> To manage notifications about this bug go to:
> https:/