- Αρχειοθετήθηκε
OPFS errors in firefox-dev on Arch with sqlite.org wasm
I'm developing a PWA website that relies heavily on the sqlite.org wasm libraries and origin private file system (OPFS). On firefox-dev 116.0b8 my website at app.kumafla… (διαβάστε περισσότερα)
I'm developing a PWA website that relies heavily on the sqlite.org wasm libraries and origin private file system (OPFS). On firefox-dev 116.0b8 my website at app.kumaflash.com stopped being able to read the database it had been successfully using for months prior to that. I've also asked on the sqlite.org forum here: https://sqlite.org/forum/forumpost/3bb8b83c45 but haven't found any solutions yet.
You can see a thrown together video of the app working normally here: youtube.com/@kumaflash
and the error I receive is: OPFS syncer: xRead() async error: GetSyncHandleError: Error getting sync handle for xRead(). 6 attempts failed. kumaflash.db : NotFoundError: Entry not found
If I manually open the OPFS in the console I can see that the file is there with this helper function in my app: var p = await _app.xdcards._lsOriginPrivateFSDir("/"); //that's an L for list ListOriginPri...
Additionally I can't debug because the firefox debugger crashes whenever I try to inspect my app. The debugger crashes on firefox-dev and release versions on every computer I've tried (with this app only). The chromium debugger works but the error doesn't happen there.
Any ideas on what I should try?