testing/signal-desktop: database error
Bug Description
I cannot copy the error message; selecting and copying has been disabled for some reason (I think this is an upstream issue):
After closing the dialog, this other one is shows:
Sorry for providing screenshots with no text again; selecting is also disabled here. The "copy" button also does nothing. I think I need to report all these quirks upstream too.
I don't think that this is easily reproducible; it's clearly linked to my data.
I looked through the logs and one says:
{"level":50,"time":"2023-10-18T14:14:32.171Z","msg":"MainSQL: Database startup error: Error: The module '/tmp/.org.chromium.Chromium.BAOgCO'\nwas compiled against a different Node.js version using\nNODE_MODULE_VERSION 116. This version of Node.js requires\nNODE_MODULE_VERSION 118. Please try re-compiling or re-installing\nthe module (for instance, using `npm rebuild` or `npm install`).\n at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:2131)\n at Object.<anonymous> (node:internal/modules/cjs/loader:1356:18)\n at Object.func [as .node] (node:electron/js2c/asar_bundle:2:2358)\n at Module.load (node:internal/modules/cjs/loader:1126:32)\n at node:internal/modules/cjs/loader:967:12\n at Function._load (node:electron/js2c/asar_bundle:2:13327)\n at Module.require (node:internal/modules/cjs/loader:1150:19)\n at require (node:internal/modules/cjs/helpers:121:18)\n at bindings ([REDACTED]/node_modules/bindings/bindings.js:112:48)\n at new Database ([REDACTED]/node_modules/@signalapp/better-sqlite3/lib/database.js:48:64)"}
This sounds like a bug in the build process, so I think it's an aport issue.