Could not find file at storage/key_value_stores/default/SDK_SESSION_POOL_STATE.json
Hi there! π
I'm crawling some pages from different countries using proxy configurations.
Function running crawling:
After the first run finished(and a promise is resolved), I call this function again with another params, but get the following error:
Could not find file at /usr/src/app/storage/key_value_stores/default/SDK_SESSION_POOL_STATE.json
Could someone help what is wrong?
I suppose that a session after the first run was cleared and the file from the error message was deleted, but it seems like it expects to have this file.12 Replies
flat-fuchsiaβ’2y ago
Hey there! Important question is - are you calling this function subsequently (i.e. let one crawler run and then call another one), or you are doing it simultenously/concurrently?
continuing-cyanOPβ’2y ago
subsequently
I found a solution how to fix my issue:
Anyway thank you for response!
flat-fuchsiaβ’2y ago
That's still a bit weird, but if you figured it out, let's probably not go further into details. One question though - which crawlee version you're on?
continuing-cyanOPβ’2y ago
3.3.2
ambitious-aquaβ’2y ago
@snowbandit7
conscious-sapphireβ’2y ago
@Andrey Bykov seeing the same error.
i did some digging, and it looks like the key value store remains in StorageManager.cache.default even after it's purged on disk
flat-fuchsiaβ’2y ago
@snowbandit7 could you confirm you're using latest Crawlee?
conscious-sapphireβ’2y ago
3.3.2
i see thereβs a newer release from 5 days ago, can try that
flat-fuchsiaβ’2y ago
Yes, please give it a try. If it still has the problem - please let me know!
conscious-sapphireβ’2y ago
yeah still seeing the same issue with 3.3.3
flat-fuchsiaβ’2y ago
@vladdy could you have a look?
absent-sapphireβ’2y ago
Oh jeez..could you get a minimum repro sample for this please and I'll take a look π