Flatpak issue with Python script
When I try to open .mobi files on Bookworm I get the following error
"Invalid content found. Ensure there is a valid eBook file here:.."
I have installed Bookworm using flatpak. What could be the problem?
Can you please run Bookworm in debug mode and post the output captured ? In terminal run the following command:
com.github.babluboy.bookworm —debug > ~/booworm.debug.txt
When Bookworm opens, attempt the opening of the .mobi file and then after you get the error in opening the ebook, close bookworm and attach the bookworm.debug.txt file here (it should be created in your home directory)
Also if possible attach the ebook having the issue here as well
Looks like flatpak is not finding python...will have to research this. Do you have problems with epub books?
Error message:/usr/bin/env: ‘python2’
No I don't, .epub files work just fine.
ok thanks...that confirms its a problem with flatpak not finding the python executable. I guess I have to exclusively pack python into flatpak
https://github.com/flathub/com.github.babluboy.bookworm/issues/8