-
Notifications
You must be signed in to change notification settings - Fork 46
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
Quamash loop and asyncio.open_connection error! #89
Comments
I checked more the source code and... |
So you have 2 event loops (one quamash and one rethinkdb)? That's going to cause issues if you try to share futures between 2 different loops. |
Can you share a minimal executable code snippet to reproduce the behavior? |
Hello. RethinkDB can run over ant asyncio loop, given a 'loop' by keyword it select and runs the connection over that 'loop'. DragonCharts File to create RethinkDB instance: Needs: TaskTools https://gitlab.com/pineiden/tasktools NetworkTools https://gitlab.com/pineiden/networktools RethinkDB pip install rethinkdb Some RethinkDB implementation tests ChartsModule |
Hello Guys!
I'm David and i'm working now with your module and pyqt. Also y have a loop to obtain data from a database 'Rethinkdb' that uses asyncio also, so in the quamash loop i have to put this loop on the Rethinkdb class and open the connection.
The problem itself is in the asyncio module, when throw a lot of functions pass the quamash loop to the 'create_connection'.
This is the error:
So, it's look like the quamash loop has some incompatibilities with some Future on the 'ensure_future' methods.
I hope that could has some solution and be useful to develop your module.
If you need some more, i'm here to help
Best regards!
The text was updated successfully, but these errors were encountered: