Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil

Notices

Reply
 
Thread Tools Search this Thread
Old 10-28-2022, 09:16 AM   #1
jcsalomon
Zealot
jcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheesejcsalomon can extract oil from cheese
 
jcsalomon's Avatar
 
Posts: 100
Karma: 1204
Join Date: Jun 2012
Device: Bookari (née Mantano Reader) on Android; Kindle Fire HD
Question Sigil Flatpak and Java

Has anyone using Sigil on Linux via Flatpak gotten epubcheck to work? Right now it seems to fail because Java is not visible to the sandboxed Sigil installation.
jcsalomon is offline   Reply With Quote
Old 10-28-2022, 09:45 AM   #2
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by jcsalomon View Post
Has anyone using Sigil on Linux via Flatpak gotten epubcheck to work? Right now it seems to fail because Java is not visible to the sandboxed Sigil installation.
Since Sigil doesn't need Java, you'll probably have to modify the Sigil Flatpak manifest using the instructions on this website.
Doitsu is offline   Reply With Quote
Advert
Old 10-28-2022, 03:36 PM   #3
DiapDealer
Grand Sorcerer
DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.DiapDealer ought to be getting tired of karma fortunes by now.
 
DiapDealer's Avatar
 
Posts: 28,040
Karma: 199464182
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
How does Sigil Flatpak run plugins (assuming you're talking about the epubcheck plugin)? Does it use its own sandboxed python or the system python?
DiapDealer is online now   Reply With Quote
Old 10-29-2022, 09:50 PM   #4
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
In use Sigil on Linux in Flatpak but I use epubcheck in the terminal and that works great. Just install epubcheck via your package manager.
bookman156 is offline   Reply With Quote
Old 10-30-2022, 11:42 AM   #5
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
Kinda defeats the who purpose of plugins though.
KevinH is offline   Reply With Quote
Advert
Old 10-30-2022, 01:09 PM   #6
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
Yes and no. I managed to get the BibiReader and EpubJSReader plugins working fine in a Linux Flatpak, but not the ReadiumReader. I can't say as I miss epubcheck as it works really well in the terminal.

Actually I see Sigil 1.9.10 is now available in my depository without need of using a Flatpak. It wasn't before.

Last edited by bookman156; 10-30-2022 at 01:22 PM.
bookman156 is offline   Reply With Quote
Old 10-30-2022, 01:22 PM   #7
Doitsu
Grand Sorcerer
Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.Doitsu ought to be getting tired of karma fortunes by now.
 
Doitsu's Avatar
 
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by bookman156 View Post
[...]until Sigil is available for Linux without needing to use a Flatpak.
Building Sigil from source is relatively easy thanks to DiapDealer's fool-proof instructions.
Doitsu is offline   Reply With Quote
Old 10-30-2022, 01:47 PM   #8
bookman156
Addict
bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.bookman156 ought to be getting tired of karma fortunes by now.
 
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
Quote:
Building Sigil from source is relatively easy thanks to DiapDealer's fool-proof instructions.
Thankfully someone else seems to have recently done it for my distro. Far too complex otherwise.
bookman156 is offline   Reply With Quote
Old 10-30-2022, 04:54 PM   #9
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 76,415
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by Doitsu View Post
Building Sigil from source is relatively easy thanks to DiapDealer's fool-proof instructions.
I suggest building from source and getting rid of Flatpak. That would solve your plugins problem.
JSWolf is offline   Reply With Quote
Old 12-26-2022, 05:13 PM   #10
philja
Groupie
philja began at the beginning.
 
Posts: 177
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6
I repost on this thread in case anyone else has flatpak problems -

At the end of November, 2022, before getting too involved in making my own build - although I did look at DiapDealer's remarkably clear instructions - I made a visit to the Sigil flatpak's github site.

I posted an 'issue' about the matter of difficulty for the plugin to get in touch with java. I also mentioned ODTimport which also needs java.

Overnight, this issue has been taken into account with an update pushed. The Readme has also been updated to state :

Quote:
For plugins that need java runtime

flatpak install flathub org.freedesktop.Sdk.Extension.openjdk17//22.08
I used that line of code to install openjdk17 and installed the updated flatpak version of Sigil 1.9.20. I tested this satisfactorily with my epub file and EpubCheck.
philja is offline   Reply With Quote
Old 01-04-2024, 10:26 PM   #11
retiredbiker
Evangelist
retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.
 
retiredbiker's Avatar
 
Posts: 420
Karma: 2737916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, Kobo Forma
Just to add a later note: I'm going to try Sigil because the Calibre Editor is increasingly slow/messy on Linux and full of useless tidbits. And window positioning no longer works.

Running Sigil 2.0.1 on Pop!_OS 22.04

Found Sigil in the Pop!_Shop. What it loads is a flatpak, though they don't tell you that going in...but it is the latest version and seems to work fine.

So I downloaded the epubcheck plugin and got the python thing working without much problem (do the "auto" and restart Sigil).

Then it couldn't find the epubcheck.jar file. Had to download the epubcheck zip file as a stand-alone and copy the files into the preferences location. That worked.

But then it couldn't find the java executable, so I tried the command:
Code:
flatpak install flathub org.freedesktop.Sdk.Extension.openjdk17//22.08
as above - thank you philja! Good old flatpak downloaded some 800 megabytes to put java into itself! Holy cow.

But it worked, the epubcheck now works inside Sigil. (It also works fine from the command line after having to download it separately, so I may just dump the plugin.)

But what a great waste of space! One day if I feel very bored, I'll try the build instructions and get rid of all the flatpak crap...but that looks like a real big job.
retiredbiker is offline   Reply With Quote
Old 01-05-2024, 01:19 PM   #12
philja
Groupie
philja began at the beginning.
 
Posts: 177
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6
Quote:
Originally Posted by retiredbiker View Post
... But what a great waste of space! One day if I feel very bored, I'll try the build instructions and get rid of all the flatpak crap...but that looks like a real big job.
It's not so big and bad as you might fear. I had a problem getting another Sigil plugin to work in flatpak - (the one which does svg images) and the flatpak forum didn't come up with an answer in four or five weeks so I bit the bullet.

For details of my traumas building for the first time on Ubuntu as well as all the help I received leading to a successful build, see the recent thread:

https://www.mobileread.com/forums/sh...d.php?t=357115

Since then, I have rebuilt a couple of times to take advantage of some improvements Kevin implemented before release. The first-time build is the greatest mind obstacle.
philja is offline   Reply With Quote
Old 01-05-2024, 10:37 PM   #13
retiredbiker
Evangelist
retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.retiredbiker ought to be getting tired of karma fortunes by now.
 
retiredbiker's Avatar
 
Posts: 420
Karma: 2737916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, Kobo Forma
Quote:
Originally Posted by philja View Post
It's not so big and bad as you might fear.
Thank you! With your encouragement, I'm giving it a try...and have landed in a whole different set of problems. Qt6 stuff really is a mess. We'll see...
retiredbiker is offline   Reply With Quote
Reply

Tags
epubcheck, flatpak, java, linux, sigil


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Mint 20: Binary or Flatpak? enuddleyarbl Calibre 11 03-07-2021 09:04 PM
Flatpak and Kindle zoliky Devices 0 11-27-2020 12:20 PM
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 KevinH Sigil 106 10-04-2015 11:41 AM
Sigil on Nook vs Sigil on Kobo vs Sigil on iBook rosshalde Sigil 12 11-13-2014 10:34 AM
[Apple]Java Embedding Plugin 0.9.2: Force java to run in browsers other than Safari Zire Lounge 4 05-24-2005 10:12 PM


All times are GMT -4. The time now is 07:07 PM.


MobileRead.com is a privately owned, operated and funded community.