vladimiry / ElectronMail

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

Blank screen then nothing on Ubuntu 20.04 #444

Open emx opened 2 years ago

emx commented 2 years ago

I am on Ubuntu 20.04.2 LTS

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 20.04.2 LTS
Release:    20.04
Codename:   focal

I just downloaded the latest version and attempted to install it:

$ sudo dpkg -i electron-mail-4.12.9-linux-amd64.deb 
[sudo] password for user: 
Selecting previously unselected package electron-mail.
(Reading database ... 200291 files and directories currently installed.)
Preparing to unpack electron-mail-4.12.9-linux-amd64.deb ...
Unpacking electron-mail (4.12.9) ...
Setting up electron-mail (4.12.9) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...

When I start it, a blank window opens and then nothing happens. The window stays blank.

vladimiry commented 2 years ago

There is not enough information to say something specific. Can you provide the log.log file located in the settings folder? You can either attach the log file here or send it privately to the email specified in https://github.com/vladimiry/ElectronMail/blob/master/package.json (author field).

The possible workaround is using another package type, preferably container-based, like https://flathub.org/apps/details/com.github.vladimiry.ElectronMail.

emx commented 2 years ago

I will do that right away. I was trying to change Display Manager (tried lightdm and gdm3) and Window Managers (tried XFCE4 and Gnome), but it didn't help.

emx commented 2 years ago

I cannot find a file called log.log in the settings folder:

user@host:~/.config/electron-mail$ ll
total 44
drwx------  8 user user 4096 sept. 27 16:02  ./
drwxr-xr-x 20 user user 4096 sept. 27 16:02  ../
drwx------  3 user user 4096 sept. 27 16:02  blob_storage/
drwx------  4 user user 4096 sept. 27 15:15 'Code Cache'/
-rw-rw-r--  1 user user 3644 sept. 27 16:02  config.json
drwx------  2 user user 4096 sept. 27 15:15 'Crash Reports'/
drwx------  2 user user 4096 sept. 27 15:15  Dictionaries/
drwx------  3 user user 4096 sept. 27 15:15 'Local Storage'/
drwx------  2 user user 4096 sept. 27 15:15  logs/
-rw-------  1 user user   59 sept. 27 15:16 'Network Persistent State'
-rw-------  1 user user   57 sept. 27 15:16  Preferences
lrwxrwxrwx  1 user user   20 sept. 27 16:02  SingletonCookie -> 17596021414552855634
lrwxrwxrwx  1 user user   11 sept. 27 16:02  SingletonLock -> host-6309
lrwxrwxrwx  1 user user   37 sept. 27 16:02  SS -> /tmp/.org.chromium.Chromium.8iWHce/SS=
user@host:~/.config/electron-mail$ ll logs
total 8
drwx------ 2 user user 4096 sept. 27 15:15 ./
drwx------ 8 user user 4096 sept. 27 16:02 ../
vladimiry commented 2 years ago

The reason for crashes is often linked to the native dependencies being incompatible with the system.

I cannot find a file called log.log in the settings folder:

Makes sense if the app severely crashes.

emx commented 2 years ago

I've installed the snap package and it seems to work.

vladimiry commented 2 years ago

I've installed the snap package and it seems to work.

It's not yet updated to v4.12.9 so I didn't list it. But if you don't face a captcha wall then it's ok to use it. I normally prefer "flatpak" though but I understand that Snap stuff is normally preferred option on Ubuntu systems.

emx commented 2 years ago

I'm trying again with the .deb package, following your recommendations:

Here is the output of the glibc version:

$ lsof -p $$ | grep libc | awk ' { print $NF" --version"; } ' | sh
GNU C Library (Ubuntu GLIBC 2.31-0ubuntu9.2) stable release version 2.31.
Copyright (C) 2020 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.
Compiled by GNU CC version 9.3.0.
libc ABIs: UNIQUE IFUNC ABSOLUTE
For bug reporting instructions, please see:
<https://bugs.launchpad.net/ubuntu/+source/glibc/+bugs>.
emx commented 2 years ago

I'll probably try to build it from source. For some reason, I have a feeling this problem is linked to the electron package.