-
Notifications
You must be signed in to change notification settings - Fork 120
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
ERROR: Task was destroyed but it is pending! #188
Comments
Encountering the same issue here.
Logs seem to point here (using A nice starting point would be understanding if this is a |
This seems to be related to jfhbrook/pyee#120. Keeping a reference to the tasks prevents this in my tests. |
Please share a minimal, reproducible example. |
This was an occasional issue, the code that caused the problem was removed by me at the time, and i will try to reproduce the problem recently |
Using the example from #233 I'm seeing much less of these messages after upgrading pyee from 9.0.4 to 11.0.0. |
@elacuesta Any luck on a solution? I have a long-running scraper with this issue as well. It's not consistent and happens intermittently. Sometimes errors in 10 minutes, sometimes after 4 hours. I just took your advice and upgraded my Pyee version to 11.0, I will try again. |
I don't have plans to work on this, from what I see it's an upstream issue. |
I'm getting a ton of these errors all of a sudden. I was running scrapy + playwright without issue for several months. Was this issue raised with Pyee? For reference, my environment is using: Example logs:
|
@ThinksFast I was never able to solve the issue here. I ended up migrating to scrapy-splash. |
Thanks for the follow up! I found out earlier today I was getting this issue due to an exception in my Scrapy pipeline file. The pipeline function to save the data was throwing an exception due to Unique Constraints set up on the table columns. But this exception wasn't getting logged for some reason, it was silent. Anyway, after fixing that, the errors went away for me. |
I sometimes get this error when i use scrapy-pilaywright
(Edit) Reproducible example at #233
The text was updated successfully, but these errors were encountered: