olivierkes / manuskript

A open-source tool for writers
http://www.theologeek.ch/manuskript
GNU General Public License v3.0
1.7k stars 226 forks source link

Crash on Silverblue #1277

Open CapitanBuonumore opened 5 months ago

CapitanBuonumore commented 5 months ago

The program crashes when I create a new project. Fedora Linux 39.20240122.0 (Silverblue) GNOME version 45.3 Linux 6.6.12-200.fc39.x86_64

TheJackiMonster commented 5 months ago

Did you use the .rpm package or the flatpak? Which version of the application did you use?

CapitanBuonumore commented 5 months ago

Did you use the .rpm package or the flatpak? Which version of the application did you use?

Hi, it's flatpak 0.16.1, from Software app on Silverblue. No rpm package of Manuskript there.

TheJackiMonster commented 5 months ago

Can you provide a log or output from terminal when the application crashes?

CapitanBuonumore commented 5 months ago

Well... I don't know how to do this thing. If you kindly write me the instructions here I can send the log.

TheJackiMonster commented 5 months ago

The log should theoretically be stored in ~/.local/share/manuskript/manuskript/logs. Technically the flatpak should have file access to files in your home directory which means it's allowed to store logs in there. However I've tested the flatpak on my system (Archlinux) now and for whatever reason it does not do that - great.

Anyway I can't reproduce the crash right now. Creating new projects works for me. But you could also try the .rpm package from the releases page. If that crashes on creating projects as well, it might be some issue caused by your distro.

CapitanBuonumore commented 5 months ago

Thank you TheJackiMonster, but I'd rather not install the rpm package as well, to keep the system as clean as possible using only flatpaks. I'll wait for some remedial updates...

CapitanBuonumore commented 5 months ago

So, I tried to save the project to the Documents folder of my Home and the program didn't crash. The program crashes if I try to save the project to a folder on another (previously mounted) disk.

TheJackiMonster commented 5 months ago

Then I assume this is a flatpak/sandbox issue then. The flatpak has permissions for file access in your home directory but nothing else. If you want to change that, I assume you can try giving it more permissions with applications like Flatseal.

CapitanBuonumore commented 5 months ago

Thanks, I will look for information on how to do this. I hope I've been helpful to other Silverblue users.

EDIT:

Then I assume this is a flatpak/sandbox issue then. The flatpak has permissions for file access in your home directory but nothing else. If you want to change that, I assume you can try giving it more permissions with applications like Flatseal.

It works.