Error after upgrading to Apify Python SDK v4.0.0
# crawlee-python
s
Hi, I'm seeing an error after upgrading to Apify Python SDK v4.0.0 and Crawlee v1.9.0. The actor completes successfully, but an error is logged during shutdown after Actor.exit(). To make sure it wasn't related to my code, I also tested the official Crawlee Parsel template (https://apify.com/templates/python-crawlee-parsel), and the same error appears there as well. I also tested the same template with Apify Python SDK v3.4.1 and Crawlee v1.9.0, and the error does not occur there. Here's the run URL where the issue can be seen: https://console.apify.com/view/runs/nuSNKe7T8QcaxDfhs
m
Thanks for the information. Yes, this is an SDK error that occurs when closing an asyncio event loop.
v
Hi, thanks for the report, this should resolve it https://github.com/apify/apify-sdk-python/pull/1077 expect it in the next patch release (v4.0.1)
s
Thank you for the update.
v
Hi, it should be resolved now; see Crawlee v1.9.1 and Apify v4.0.1. Let me know if anything. Thanks.
s
Yes, it's resolved. Thank you.
a
message has been deleted