-
Notifications
You must be signed in to change notification settings - Fork 60
UnicodeDecodeError while fetching items #154
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
Comments
May #151 be the answer to this? |
I am using msgpack v1.0.2 so I don't think this is the issue |
#121 also seems related. I would try uninstalling msgpack, see if that makes any difference. |
After checking my logs it seems like when the error occurs I have received such strings from the ScrapingHub API with well formatted UTF-8 appart from |
After looking even deeper in the logs it seems that those sequences are not randomly inserted. Instead it looks like the After seeing that I suspect this might not be a problem with this library but maybe more with ScrapingHub API? |
Thank you I will try that solution and close this issue if it fixes it. It might take a few days though as the error doesn't happen every day as I mentioned. |
It does seem like it fixed the issue, thank you for the help. This might be worth mentioning in the documentation somewhere though because the error doesn't make it easy to understand the problem. |
It seems like I randomly get errors like this:
This happens while iterating the items through
last_job.items.iter()
It seems to happen about 50% of the time from what I see. I scrape the same website every day and run that function and sometimes it works fine, sometimes raise that error. I am not sure if this is an issue with this library or with the ScrapingHub API though but it is very problematic.
This happens on the latest (2.3.1) version
The text was updated successfully, but these errors were encountered: