-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Closed
Description
There are currently many issues that appear to stem from 2 problems in how caching works at present.
- We assume that workers are created synchronously, and violating this assumption creates invalid cache files
- We assume that all cache files are valid
The former appears to be the most common cause of invalid caching data (as this is non-obvious to users). However, cache may be invalid for other reasons. For example, until the last version cache was often invalid because langData responses were cached (see #585). Therefore, it is possible that not all bugs listed below were directly caused by creating workers asynchronously, but hopefully solving the async issue will solve most of it.
Related issues:
- Worker loading language traineddata progress 0 #414
- Stuck on "loading language traineddata" #439
- Tesseract couldn't load any languages #462
- Error: Error: UNKNOWN: unknown error, open '\eng.traineddata' CRASH #536
- Cannot use cachePath with Scheduler #576
- Querying from multiple processes #579
- Node.js: Loading corrupted language trained data does not throw an error #602
Metadata
Metadata
Assignees
Labels
No labels