bug(android): Error occurred when attempting to load dictionary
- Dominant language
- Pascal
- Stars
- 534
- Forks
- 143
- Avg merge
- 2d 10h
- Merged PRs (30d)
- 113
Description
Sentry Issue: [KEYMAN-WEB-RB](https://keyman.sentry.io/issues/6580990108/?referrer=github_integration)
```
Error: Error occurred when attempting to load dictionary
NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at 'file:///data/user/0/com.tavultesoft.kmapro/app_data/models/nrc.en.mtnt/nrc.en.mtnt.model.js' failed to load.
...
at NetworkError: Failed to execute 'importScripts' on 'WorkerGlobalScope': The script at ' (/data/user/0/com.tavultesoft.kmapro/app_data/models/nrc.en.mtnt/nrc.en.mtnt.model.js'%20failed%20to%20load.)
at Oe.loadModelFile (blob:null/f22bff06-0001-4389-a46c-e121b4c25e34:3:47725)
at Object.handleMessage (blob:null/f22bff06-0001-4389-a46c-e121b4c25e34:3:48344)
at Oe.onMessage (blob:null/f22bff06-0001-4389-a46c-e121b4c25e34:3:46923)
at reduceConsoleArgs (/data/user/0/com.tavultesoft.kmapro/app_data/keyman-sentry.js:178:22)
...
(2 additional frame(s) were not displayed)
```
There's not much that points to a clear cause here, but I did notice something interesting: the keyboards noted in these error reports are old _and_ consistent.
- `sil_euro_latin` v2.0.4 (2023-01-30)
- `mon_anonta` v1.0.3 (2022-06-28)
... and it looks like it's just these two - and just these versions? We also have matching 17.0-stable reports that use these specific keyboards and versions.
Interestingly, the same keyboards show up for something that seems similar in our iOS Keyman app - #12213. There's another keyboard for the `mnw` language there (past just `mon_anonta`) too.
Contributor guide
Assessment
This issue has not been assessed yet.