-
Notifications
You must be signed in to change notification settings - Fork 165
-
Notifications
You must be signed in to change notification settings - Fork 165
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
Weird issues when using logbook 0.9.1 + cassandra-driver 2.5.1 #142
Comments
For reference: https://datastax-oss.atlassian.net/browse/PYTHON-355 |
@winks I'm not sure what can be done here, assuming this is indeed a race for who initialises gevent, we can't actually know what other libraries are loaded in addition to Logbook in all possible use cases... |
@vmalloc Yeah, that sounds reasonable. But for people who just use logbook and not dig into it, this dependency is probably as unknown as it was to me. I guess it won't hurt to add a paragraph to the docs with a caveat that something could happen, e.g. with the cassandra-driver that also uses gevent? |
Ok. Care to PR such a suggestion? |
Hey, It is quite an edge case, I have to agree on that. I wouldn't have added more than
Please feel free to use this, adapt this, or not do anything at all. I'd be happy even if it helps one poor soul who searches this bugtracker or finds it in the docs :) And if I understood it correctly, it might even be fixed in cassandra-driver 2.6.0. |
Wow, @winks great forensic work there... did it get fixed in cassandra-driver 2.6.0? Works for you now? |
@winks, chime in if it ever get solved in newer versions, thanks for the issue anyhow! Closing. |
Hi,
I just spent a lot of time trying to track down why my cassandra connection would drop on connect.
I fixed it by reordering the imports.
In this reproduce case it's only RotatingFileHandler, but I think it also breaks with Logger and StreamHandler.
The text was updated successfully, but these errors were encountered: