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

Description

Environment

None

Pull Requests

None

Activity

Jaume Marhuenda 
January 9, 2018 at 4:57 PM

Assigning to Jim for final testing although a test has already been added.

Corentin Chary 
December 12, 2017 at 8:57 AM

:+1:

Jaume Marhuenda 
December 11, 2017 at 3:50 PM

Thank you , that report was very useful. It's happening in cpython and pypy with this script:

This means it's a bug in the driver. I think I'll fix it like you suggest and use self.create_timer() instead of AsyncoreConnection.create_timer()

Corentin Chary 
December 7, 2017 at 8:49 AM

Ok I know the reason, I do something like that:

Which means that

Honestly I'm not sure if it's a bug in pypy or not. But calling simply self.create_timer() instead of AsyncoreConnection.create_timer() fixes the issue.

Jaume Marhuenda 
December 6, 2017 at 6:34 PM

Thank you .

I've been able to reproduce with biggraphite, I haven't been able to come up with a script reproducing this though. Looks like this is happening only in pypy.

Fixed

Details

Assignee

Reporter

Fix versions

Reproduced in

Pull Request

Priority

Created November 20, 2017 at 3:20 PM
Updated January 30, 2018 at 8:35 PM
Resolved January 17, 2018 at 6:14 PM