notpushkin / Mailspring-Libre

(archived) Mailspring Libre build – aiming at removing Mailspring's dependecy on a central server
GNU General Public License v3.0
335 stars 14 forks source link

[Linux] 1.7.2-libre build starts as an empty window #8

Closed notpushkin closed 4 years ago

notpushkin commented 4 years ago

Originally posted by @antonical in https://github.com/notpushkin/Mailspring-Libre/issues/7#issuecomment-582848074:

We run Ubuntu 18.04 DT builds so that works.

Screenshot from 2020-02-06 10-56-04 .deb installed fine via software. Does not run correctly I get a number of chrome inspector windows that pop up and a blank config screen that I have to kill to remove it.

Screenshot from 2020-02-06 10-52-10

notpushkin commented 4 years ago

@antonical Thanks, on it! Could you also post the Console inspector tab contents, please?

notpushkin commented 4 years ago

@antonical I've tried setting up a clean build (removed config/cache etc) and still can't reproduce it, although I'm on Ubuntu 19.10, so maybe it's that

antonical commented 4 years ago

Apologies for the delay. This is an upto date 18.04 DT with the HWE Kernel enabled. It runs the normal mailspring install fine and installs via snap or .deb

Not sure what else to tell you. The .deb installs fine via Software and launches from the menu but then does not initialise correctly.

We only use LTS flavours of Ubuntu.

Cheers

tanwirahmad commented 4 years ago

I have experienced the same issue on Ubuntu 18.04. Error description from the console:

Error: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /usr/share/mailspring/resources/app.asar.unpacked/node_modules/better-sqlite3/build/Release/better_sqlite3.node)
    at process.module.(/usr/share/mailsprin…/anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:722)
    at Object.module.(/usr/share/mailsprin…/anonymous function) [as .node] (ELECTRON_ASAR.js:169:18)
    at Module.load (internal/modules/cjs/loader.js:602)
    at tryModuleLoad (internal/modules/cjs/loader.js:541)
    at Function.Module._load (internal/modules/cjs/loader.js:533)
    at Module.require (internal/modules/cjs/loader.js:640)
    at require (internal/modules/cjs/helpers.js:20)
    at bindings (/usr/share/mailsprin…ngs/bindings.js:112)
    at Object.<anonymous> (/usr/share/mailsprin…3/lib/database.js:5)
    at Object.<anonymous> (/usr/share/mailsprin…/lib/database.js:50)
    at Module._compile (internal/modules/cjs/loader.js:693)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:704)
    at Module.load (internal/modules/cjs/loader.js:602)
    at tryModuleLoad (internal/modules/cjs/loader.js:541)
    at Function.Module._load (internal/modules/cjs/loader.js:533)
    at Module.require (internal/modules/cjs/loader.js:640)
    at require (internal/modules/cjs/helpers.js:20)
    at Object.<anonymous> (/usr/share/mailsprin…-sqlite3/index.js:2)
    at Object.<anonymous> (/usr/share/mailsprin…sqlite3/index.js:36)
    at Module._compile (internal/modules/cjs/loader.js:693)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:704)
    at Module.load (internal/modules/cjs/loader.js:602)
    at tryModuleLoad (internal/modules/cjs/loader.js:541)
    at Function.Module._load (internal/modules/cjs/loader.js:533)
    at Module.require (internal/modules/cjs/loader.js:640)
    at require (internal/modules/cjs/helpers.js:20)
    at Object.<anonymous> (database-store.ts:6)
    at Object.<anonymous> (database-store.ts:530)
    at Module._compile (internal/modules/cjs/loader.js:693)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:704)
    at Module.load (internal/modules/cjs/loader.js:602)
    at tryModuleLoad (internal/modules/cjs/loader.js:541)
    at Function.Module._load (internal/modules/cjs/loader.js:533)
    at Module.require (internal/modules/cjs/loader.js:640)
    at require (internal/modules/cjs/helpers.js:20)
    at Object.<anonymous> (query-subscription.ts:1)
    at Object.<anonymous> (query-subscription.ts:322)
    at Module._compile (internal/modules/cjs/loader.js:693)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:704)
    at Module.load (internal/modules/cjs/loader.js:602)
    at tryModuleLoad (internal/modules/cjs/loader.js:541)
    at Function.Module._load (internal/modules/cjs/loader.js:533)
    at Module.require (internal/modules/cjs/loader.js:640)
    at require (internal/modules/cjs/helpers.js:20)
    at Object.<anonymous> (query-subscription-pool.ts:2)
    at Object.<anonymous> (query-subscription-pool.ts:118)
    at Module._compile (internal/modules/cjs/loader.js:693)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:704)
    at Module.load (internal/modules/cjs/loader.js:602)
    at tryModuleLoad (internal/modules/cjs/loader.js:541)
    at Function.Module._load (internal/modules/cjs/loader.js:533)
    at Module.require (internal/modules/cjs/loader.js:640)
    at require (internal/modules/cjs/helpers.js:20)
    at Object.<anonymous> (mailspring-observables.ts:4)
    at Object.<anonymous> (mailspring-observables.ts:170)
    at Module._compile (internal/modules/cjs/loader.js:693)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:704)
    at Module.load (internal/modules/cjs/loader.js:602)
    at tryModuleLoad (internal/modules/cjs/loader.js:541)
    at Function.Module._load (internal/modules/cjs/loader.js:533)
    at Module.require (internal/modules/cjs/loader.js:640)
    at require (internal/modules/cjs/helpers.js:20)
    at new AppEnvConstructor (app-env.ts:116)
    at Object.<anonymous> (secondary-window-bootstrap.ts:27)
    at Object.<anonymous> (secondary-window-bootstrap.ts:35)
    at Module._compile (internal/modules/cjs/loader.js:693)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:704)
    at Module.load (internal/modules/cjs/loader.js:602)
    at tryModuleLoad (internal/modules/cjs/loader.js:541)
    at Function.Module._load (internal/modules/cjs/loader.js:533)
    at Module.require (internal/modules/cjs/loader.js:640)
    at require (internal/modules/cjs/helpers.js:20)
    at setupWindow (index.js:47)
    at window.onload (index.js:75)
notpushkin commented 4 years ago

Thanks @tanwirahmad! I guess the glibc version available in 18.04 is just way too old. I also guess that we'll have to recompile it on 18.04 (or any other older distro) to get it working :(

notpushkin commented 4 years ago

@antonical @tanwirahmad Rebuilt on 18.04 (via Travis), could you folks try it out? https://files.catbox.moe/v32umx.deb

Amain commented 4 years ago

1.7.2-libre1 RPM build, from releases, now works for me, no more GLIBC errors. Thanks!