timche / gmail-desktop

:postbox: Nifty Gmail desktop app for macOS, Linux & Windows
MIT License
850 stars 90 forks source link

App will no longer start after upgrade to Ubuntu 24.04 #408

Open jaybeaton opened 4 months ago

jaybeaton commented 4 months ago

OS Linux Ubuntu 24.04 LTS

Gmail Desktop Version gmail-desktop-3.0.0-alpha.37-linux.deb

Describe the bug App won't start.

Steps to reproduce the behavior

Appplication worked fine in Ubuntu 23.10. I upgraded to 24.04, and the app not longer starts.

At first, when I tried to start via ULauncher, it pop-ed up an "Application crashed" window, but it just does nothing now.

Attempting to start via the command line:

$ gmail-desktop 
LaunchProcess: failed to execvp:
/opt/Gmail
Trace/breakpoint trap (core dumped)
lukeckt2 commented 3 months ago

Same issue with Ubuntu 24.04. It worked well on 22.04 LTS

b-remi commented 2 months ago

Hi, same issue for me. I have found the problem if you want.

The bug is caused by space character in the application 'productName'.

I have tried to compile the project on my local computer. The'start'script is running fine, but when you want to generate the deb package for linux install, the error 'failed to execvp' appear on Gmail Desktop launch.

If you change the 'productName' in package.json (like "Gmail-Desktop"), all is fine. The space present in productName seems to be not supported.

I don't know if there is another way for change the application productName but if you make this fix, you should rename the folder in .config/Gmail Desktop/ as .config/Gmail-Desktop/ for keep your personal application data.