super-productivity: App doesn't start after installation (snap)
Environment
- Version: 5.0.7 - 5.0.8;
- Operating System and version: Ubuntu 18.04;
- Desktop Environment: Gnome.
Current Behavior
New fresh system Ubuntu 18.04. I just reinstalled whole my system on new SSD disk. Before I used that app in Ubuntu 18.04 as well and had no problems.
Just installed app from edge channel 5.0.8 version and it didn’t start. Okay, run sudo snap remove --purge superproductivity and installed stable version as sudo snap install superproductivity, but result was the same… I uninstalled it again and installed from ‘Ubuntu software’ app - nothing changed.
Am I missing some dependencies?
Please, help! I need tracking! 😃
Steps to Reproduce
- Fresh Ubuntu 18.04.
sudo snap install superproductivitysuperproductivityfrom command line…- App doesn’t start and there is no hanging in command line, a new line appears immediately. So it looks like app starts and exits, or crashes 😃
Console Output
There are no console output or any logs files in dirs: ~/.config/superProductivity/log.log ~/snap/superproductivity/current/.config/superProductivity/log.log
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 23 (10 by maintainers)
Commits related to this issue
- chore: update electron & electron-builder #326 — committed to johannesjo/super-productivity by johannesjo 4 years ago
Hi, I wanted to try out the app and possibly (?) hit the same issue. I did get the app running eventually but I’m not sure what was the root cause, but maybe some of it will be of help… So here’s what I did.
superproductivitygotEXITING due to failed single instance lockrm -rf ~/snap/superproductivity/current/.config/superProductivity/for me.Hopefully this is of some help, and sorry once again about the sub-par reproduction steps.
Seems that it still happening. I am facing a same issue. Got it running by just removing config dir. (actually im not sure did i ever install it in this machine before or not, maybe
isExistsOldPath trueis set incorrectly some case, but not sure). After closing it did not start again. And attrempting to start it directly from/snap/superproductivity/current/superproductivitystarts the app but all my work is lost.however
ls -la /home/mkungla/snap/superproductivity/current/.config/superProductivitygives me broken symlinkswhen remove these broken symlinks then app starts from gnome but, seems to be broken when i close it and reopen it then everything is again lost.
starting from gnome desktop failed
started from cli
/snap/superproductivity/current/superproductivitycombined system logs
removed config dir and app started after that normally
rm -rf /home/mkungla/snap/superproductivity/current/.config/superProductivityFinally when i just snap uninstall and install again then it seems to work correcty (so far)
where left btn exits and right goes app home screen
Followed the same steps. It works on Ubuntu 22.04 LTS. Thanks 😃.
The error at 6.
@jessexoc thank you. I did some googleling and my first conclusion was that this is some kind of permission error (as lseek seems to be responsible for accessing files ), when the app writes to the file system, but this shouldn’t happen until it has launched as far as I know at least.
There also was an electron builder bug with the snap some time ago for systems using wayland, but it’s supposed to be fixed for some time…
I’ll give updating electron and electron-builder a shot. There was a (seemingly unrelated) snap bug recently. Hopefully that does something for us…
I haven’t managed to fix this problem with snap. I am not familiar with snap very much and I’ve already spent enough time on it, so I uninstalled app and installed it again from .deb package downloaded from release page. And now it works fine. So the issue can be closed, if it is just my system problem. And thanks for quick help with this problem! And big thanks for this great app!