FS#67214 - [signal-desktop] not working with updated Eletron

Attached to Project: Community Packages
Opened by Christian Lask (christian.lask) - Tuesday, 07 July 2020, 08:57 GMT
Last edited by kpcyrd (kpcyrd) - Tuesday, 07 July 2020, 17:51 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Levente Polyak (anthraxx)
kpcyrd (kpcyrd)
Santiago Torres (sangy)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

Description:

Signal-Desktop not working with updated Eletron.

This is the error message one receives when starting Signal-Desktop from a terminal:

Error: Cannot find module '/usr/lib/signal-desktop/app.asar/node_modules/@journeyapps/sqlcipher/lib/binding/electron-v9.1-linux-x64/node_sqlite3.node'
Require stack:
- /usr/lib/signal-desktop/app.asar/node_modules/@journeyapps/sqlcipher/lib/sqlite3.js
- /usr/lib/signal-desktop/app.asar/ts/sql/Server.js
- /usr/lib/signal-desktop/app.asar/main.js
- /usr/lib/electron/resources/default_app.asar/main.js
-
at Module._resolveFilename (internal/modules/cjs/loader.js:797:17)
at Function.o._resolveFilename (electron/js2c/browser_init.js:281:679)
at Module._load (internal/modules/cjs/loader.js:690:27)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (internal/modules/cjs/loader.js:852:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/usr/lib/signal-desktop/app.asar/node_modules/@journeyapps/sqlcipher/lib/sqlite3.js:4:15)
at Module._compile (internal/modules/cjs/loader.js:967:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1004:10)
at Module.load (internal/modules/cjs/loader.js:815:32)

Additional info:
* package version(s)

- signal-desktop 1.34.3-1
- electron 9.1.0-1

* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

1. Update packages to latest version.
2. Start Signal-Desktop
This task depends upon

Closed by  kpcyrd (kpcyrd)
Tuesday, 07 July 2020, 17:51 GMT
Reason for closing:  Fixed
Additional comments about closing:  Fixed in 1.34.3-2
Comment by Christian Lask (christian.lask) - Tuesday, 07 July 2020, 09:54 GMT
I am sorry, I forgot to enter summary. I am unable to find a way to edit the summary now. Sorry about that.
Comment by Olivia Mackintosh (livvy) - Tuesday, 07 July 2020, 12:42 GMT
I can confirm that I have the same issue. Downgrading to electron 9.0.5-1 fixes this so I suspect some change has been introduced to cause this or, it is a build/packaging issue.

I can't find an open issue on the electron or signal GitHub so I suspect it is this specific combination that is causing some issue (if it is indeed not a packaging issue).
Comment by Olivia Mackintosh (livvy) - Tuesday, 07 July 2020, 13:07 GMT Comment by Max Harmathy (kastanienaxt) - Tuesday, 07 July 2020, 14:51 GMT
Rebuilding signal-desktop fixed it for me.
Comment by akerro (akerro) - Tuesday, 07 July 2020, 16:50 GMT
This happens every time electron is updated

Loading...