Closed MunirG05 closed 6 months ago
Hey, I will take a look at it this week, you can check the async branch in the meantime. Though I haven't updated it in a while, you can still take a look. I will update you once it's fixed.
Hey @MunirG05 I just tested the code snipped you shared above and it seems to be working fine for me. I didn't get any errors. Any of the followings might a reason its throwing an error:
If you are still unable to resolve it, just let me know. You can also share a screen recording on discord.
Let me know how it goes.
Hey @MunirG05 I just encountered the same error a while ago. It was not an issue with the Parallelism, but with the error handling. I checked the traceback in the logs and figured out I made an error in check_for_errors function in utils.py module.
This information might be useful in your case : It was showing me the error because it was unable to find the tweet as the tweet was deleted. While I was checking your code, I noticed that you're reading accounts/tweets from the .txt files and there maybe a chance that there is an unavailable account/tweet in the list. Hope it makes sense.
I have fixed it already and will be committing changes shortly.
I tried everything from asyncio, multiprocessing, threading. This library only works when its run the way in the docs. The following snippet shows my attempt:
I keep getting: Unable to fetch data error. Traceback: