vladimiry / ElectronMail

Unofficial ProtonMail Desktop App
GNU General Public License v3.0
1.5k stars 97 forks source link

Cannot launch electronmail #352

Closed Souravgoswami closed 3 years ago

Souravgoswami commented 3 years ago

I am using Arch Linux, and I got electronmail 4.9.2.

With the newest Electron9 v9.3.5, I can't seem to launch it. Although it worked with the old version v9.3.3.

I am getting this error:

Unhandled Promise Rejection
Error: ERR_FAILED (-2) loading 'file:///opt/ElectronMail/resources/app/app/web/browser-window/index.html'
    at rejectAndCleanup (electron/js2c/browser_init.js:205:1493)
    at Object.stopLoadingListener (electron/js2c/browser_init.js:205:1868)

I also tried downgrading electron9 to 9.3.3 now, but it's still not working...

vladimiry commented 3 years ago

Each app release comes with the specific @electron version and that's the only @electron version the app should be used with. You don't need to deal with @electron versions since the app comes with it built-in. The v4.9.2 by the way comes with @electron 11.0.0-beta.20 so I don't clearly get what you are trying to achieve by specifying version 9.

Souravgoswami commented 3 years ago

Oops that wasn't the problem either. Turns out I added a huge stack limit in my /etc/security/limits.conf:

sourav soft stack 2000000

And I did that on purpose, and forgot to remove that, and I was unable to launch chromium, edge, falkon, etc. as well. I later figured that out...