-
Notifications
You must be signed in to change notification settings - Fork 5
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
There is no current event loop in thread 'Thread-1' #77
Comments
Could you provide instructions to generate a minimal, reproducible example? |
@Gallaecio let me provide an elementary example:
It's a basic way to use Zyte API? When I go to the view It looks like it's related to |
In any case, I will try to reproduce this when I get a chance. |
I have tried reproducing your issue with this code base, but it seems to work. Could you create a PR against that repo with the necessary changes to reproduce your issue? |
@autn does this happen when you do |
Oh, right, I used |
@lopuhin I used |
@Gallaecio looks like the issue happened on Python 3.8 and Django 2.2.19 |
@Gallaecio, I re-read the README and found that Python 3.9+ is required. However, I can install it on my old project, which uses Python 3.8, without the error/warning. Should we update the Python dependence to the library? |
You are right, we should probably add |
@Gallaecio thanks for your support 💯 I will update my project! |
Hi, I'm using Zyte API for my Django project, but when I use Zyte, I get
There is no current event loop in thread 'xxx'
error.My code:
The text was updated successfully, but these errors were encountered: