-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raven 6.3.0 "'Queue' object has no attribute 'all_tasks_done'" #14
Comments
This error the result of using the threaded Raven transport in an Eventlet environment. It is mostly harmless because it only occurs at teardown. Raven includes an Eventlet transport though, which avoids the error and has the side-effect of not blocking the Nameko worker thread. You used to be able to select the transport using the DSN (e.g. I used to think it was somewhat useful to be able to opt-in to using the eventlet transport, but now I think nameko-sentry should just hardcode the transport when it creates the client. In the mean time prepending your DSN with |
Thanks @mattbennett, I'll update my DSN's. I agree regarding hard-coding the tra nsport - it's not as if Eventlet is optional ;) |
Now I get a warning:
So I'm going to revert my change to the DSN, and just live with the warning. I do only get it when an exception is thrown (the above, I get on every start) |
The warning here is just telling you that transport selection via DSN is deprecated and will be removed in the future. It still works, for now. The other message is an exception, albeit one that happens inside an eventlet thread and doesn't bubble out. So pick your poison 😉 They're both benign but I'll cut a release soon that hardcodes the transport and does away with both of them. |
@mattbennett "I'll cut a release soon that hardcodes the transport and does away with both of them" :) |
Sorry for the delay @geoffjukes. This is fixed in #15 and released in version 1.0.0 🎉 |
I'm seeing these errors/warnings in the logs using Raven 6.3.0
Is this a bug in the current release of Raven?
The text was updated successfully, but these errors were encountered: