Skip to content
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

Models not loading (downloading) in Firefox 96 #40

Closed
gullabi opened this issue Apr 5, 2022 · 2 comments
Closed

Models not loading (downloading) in Firefox 96 #40

gullabi opened this issue Apr 5, 2022 · 2 comments

Comments

@gullabi
Copy link

gullabi commented Apr 5, 2022

When load button is pushed, browser console gives the error:

Failed to sync file system: InvalidStateError: A mutation operation was attempted on a database that did not allow mutations. b28a5120-7502-42f6-9dd0-5e7a322b0752:117:21
    error blob:https://ccoreilly.github.io/b28a5120-7502-42f6-9dd0-5e7a322b0752:117
    handleMessage blob:https://ccoreilly.github.io/b28a5120-7502-42f6-9dd0-5e7a322b0752:166

and does not download the model. Tried for English and Catalan.

OS: Ubuntu 20.04

@ccoreilly
Copy link
Owner

You are referring to the demo right? Vosk-browser uses IndexedDB for persisting the downloaded models, which is not available in "Incognito" mode or if you tell firefox to "never remember history".

Can that be the case? I can reproduce the issue if I force both modes. Can you confirm it works otherwise? You can also enable IndexedDB support in private mode in about:config

I guess we could fall back to temporary memory / not persisting the models if indexedDB is not available.

@gullabi
Copy link
Author

gullabi commented Apr 6, 2022

It is correct. I have a browser which has "never remember history".

I changed the options in about:config. To be exact I put dom.indexedDB.privateBrowsing.enabled to True, and it works. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants