bookworm icon indicating copy to clipboard operation
bookworm copied to clipboard

Flatpak issue with Python script

Open Aanai opened this issue 7 years ago • 6 comments

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?

Aanai avatar Dec 10 '18 21:12 Aanai

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

babluboy avatar Dec 11 '18 00:12 babluboy

Attaching .mobi files isn't supported but here's the debug output.

booworm.debug.txt

Aanai avatar Dec 11 '18 11:12 Aanai

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’

babluboy avatar Dec 11 '18 17:12 babluboy

No I don't, .epub files work just fine.

Aanai avatar Dec 11 '18 18:12 Aanai

ok thanks...that confirms its a problem with flatpak not finding the python executable. I guess I have to exclusively pack python into flatpak

babluboy avatar Dec 11 '18 18:12 babluboy

https://github.com/flathub/com.github.babluboy.bookworm/issues/8

babluboy avatar Dec 23 '18 16:12 babluboy