Closed
Description
It seems like I randomly get errors like this:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xde in position 174: invalid continuation byte
at msgpack._cmsgpack.Unpacker._unpack (_unpacker.pyx:443)
at msgpack._cmsgpack.Unpacker.__next__ (_unpacker.pyx:518)
at mpdecode (/usr/local/lib/python3.7/site-packages/scrapinghub/hubstorage/serialization.py:33)
at iter (/usr/local/lib/python3.7/site-packages/scrapinghub/client/proxy.py:115)
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
Metadata
Metadata
Assignees
Labels
No labels