When I attempt to view MailSpring's log file to see why it's having trouble syncing my Bridge account (see #429, but that's not directly related), nothing happens. I'm unable to locate MailSpring's logfile.
If I run MailSpring from a terminal, here's the output when I try to view log files:
Error org.freedesktop.DBus.Error.UnknownInterface: Object does not implement the interface
Error org.freedesktop.DBus.Error.ServiceUnknown: The name com.canonical.SafeLauncher was not provided by any .service files
I googled around and I believe it may be caused by Snap packages' sandboxing, which prevents apps from accessing other apps' data (sort of like iOS or Android sandboxing, but on the desktop). Per an ask Ubuntu thread, I tried in installing snapd-xdg-open and edited my config file per the answer. Similar result:
Error org.freedesktop.DBus.Error.AccessDenied: Supplied URL scheme "" is not allowed
Error org.freedesktop.DBus.Error.ServiceUnknown: The name com.canonical.SafeLauncher was not provided by any .service files
Still no dice. Can you tell me where MailSpring keeps its log files so I can look at them by hand?
This issue may also be related to #449
Ubuntu 17.10
1.1.0-7563b09d
No
2 Gmail accounts, 1 ProtonMail Bridge account
I also did try installing the dpkg file. While the menu option to view logs worked, I unfortunately lost my configuration. Not a huge deal, but kind of a bummer.
So it's definitely only a problem with the snap package.
Hey! Was able to reproduce this - Mailspring /should/ be able to open a folder, but it seems like it's calling xdg-open with a file path (eg: empty URL scheme) and that isn't working. If you want to look manually, these files are in /home/<you>/snap/mailspring/common
@kkinder Are you running the snap version? If so, do you have snapd-xdg-open installed?
sudo apt install snapd-xdg-open
oops - the title states "snap". So please make sure you have the snapd-xdg-open package installed.
i have the same problem, i have 18.04 and it persist. i try install with snap but i can't run it.
i put "mailspring" in the terminal to run it, but doesn't work.
Hey folks鈥攊t's been a few years and I believe this has been fixed in more recent versions of Electron and/or snapcraft. Feel free to bump this or re-open a new issue if you run in to this again.
Most helpful comment
Hey! Was able to reproduce this - Mailspring /should/ be able to open a folder, but it seems like it's calling
xdg-openwith a file path (eg: empty URL scheme) and that isn't working. If you want to look manually, these files are in/home/<you>/snap/mailspring/common