Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Sigil > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 04-28-2025, 05:18 AM   #181
recook
Enthusiast
recook began at the beginning.
 
recook's Avatar
 
Posts: 40
Karma: 10
Join Date: Aug 2018
Device: kobo Nia
+1
Especially when an Ebook producer went overboard and split into hundreds of files...
recook is offline   Reply With Quote
Old 04-28-2025, 06:15 AM   #182
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,445
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by recook View Post
python3-pyqt5 v 5.15.10+dfsg-1build6 is installed, check.

Still, the PluginRunner in Sigil says on starting TagMechanic:
Code:
Status: failed

Traceback (most recent call last):
...
ModuleNotFoundError: No module named 'PySide6'
Error: No module named 'PySide6'
Not quite "check" on that bit. You seem to have missed the part where pytqt5 was only supported before Sigil 2.0

Quote:
*** Linux users will have to make sure that the PyQt5 graphical python module (or PySide6 module starting with Sigil 2.0)
Quote:
Originally Posted by recook View Post
python3-pyqt6 v 6.6.1-2build4 installed, check.
libqt6core6t64:amd64 v 6.4.2+dfsg-21.1build5 installed with lots of libqt6... dependencies, check.

Is that 6.4.2 < 6.5.2 perhaps the cause?
No. That's not the cause. The cause is that the TagMechanic plugin requires PySide6 starting with Sigil 2.0+. Not PyQt5, and not PyQt6. PySide6.

If you don't wish to override your distro's desire to control if/how you install extra modules into your system python, I'm afraid creating a virtual Python environment for Sigil plugins is just about your only recourse at the moment.

https://github.com/Sigil-Ebook/Sigil...Environment.md

I'm not sure why distros are choosing not to provide pyside6 packages to complement the Qt6 packages they provide. It's not as if PySide6 and PyQt6 cannot coincide.

The move to use PySide6 in Sigil plugins was done a long time ago in Sigil. Long before distros decided to start scaring their users into not using pip to install extra modules into their system pythons. Unfortunately, that move made it necessary for average users to grasp the concept of creating/maintaining multiple virtual Python environments for this sort of thing.

Last edited by DiapDealer; 04-28-2025 at 03:27 PM.
DiapDealer is offline   Reply With Quote
Old 05-23-2025, 11:58 AM   #183
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,445
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
If you're still having trouble with this, the newly released Sigil AppImage might be the perfect workaround to your problem. It should work fine on 24.04 and it comes with its own Python environment that's ready to go (so long as you make sure to check the "Use Bundled Python" box in Sigil's plugin preferences).
DiapDealer is offline   Reply With Quote
Old 05-24-2025, 11:08 AM   #184
recook
Enthusiast
recook began at the beginning.
 
recook's Avatar
 
Posts: 40
Karma: 10
Join Date: Aug 2018
Device: kobo Nia
Hi,
My trouble is relative, for i have stopped trying for now, hoping for a dist-upgrade to Ubuntu 24-10 in LinuxMint, which would put PySide6 in reach.
I've seen the Sigil Appimage download, weighing in at 213 MB.
While i applaud the alternative to Snap and Flatpack, i'll pass for now.
But many thanks for the tip.
recook is offline   Reply With Quote
Old 05-24-2025, 12:00 PM   #185
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,544
Karma: 5703586
Join Date: Nov 2009
Device: many
FWIW, on MacOS the installed footprint of the Sigil.app is 514,158,161 bytes (519.8 MB on disk on Intel x86_64) and 501,588,228 bytes (507.3 MB on disk on Applie Silicon arm64).

Since an AppImage is on a squashed filesystem that needs no installation, its on disk application footprint is only 213MB.

So to each their own, but a fully installed 213 MB disk footprint is actually quite good for an Application that includes its own Qt, its own Python plus tk, lxml, PySide6, etc, and of course the Sigil app itself (including all translations and dictionaries). I would bet installed on Windows it is closer to the MacOS size than the AppImage size.

Update:

In case anyone is interested here is a rough break down of the main components (in K Bytes)

Code:
Sigil.app (in K)
----------------
   495416  Sigil.app

    40704     Sigil itself

   454712     Frameworks

   328144        Qt Frameworks
    87560           Primary Qt frameworks
   240584           QtWebEngineCore

   131612        Python.framework
    17332           python3.13/lib-dynload
    44980           PySide6
So fully decompressed and installed one Qt component (Qt WebEngine) is bigger than the entire Sigil AppImage footprint.

Last edited by KevinH; 05-24-2025 at 01:18 PM.
KevinH is offline   Reply With Quote
Old 05-24-2025, 03:06 PM   #186
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,445
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
The latest Sigil installation on Windows is pushing 400Mb.
DiapDealer is offline   Reply With Quote
Old 05-24-2025, 03:21 PM   #187
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,445
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
Quote:
Originally Posted by recook View Post
Hi,
My trouble is relative, for i have stopped trying for now, hoping for a dist-upgrade to Ubuntu 24-10 in LinuxMint, which would put PySide6 in reach.
Do you mean PySide6 is packaged in Ubuntu 24.10 repos? That would be fantastic. I don't know why distros (other than Arch) have been so hesitant to package PySide6. I assume they'll break it up into a myriad of tiny pieces like they do Qt6 itself, but even if they do, it's still progress. I sort of gave up after 24.04 came and went with no PySide6.
DiapDealer is offline   Reply With Quote
Old 05-25-2025, 04:55 AM   #188
recook
Enthusiast
recook began at the beginning.
 
recook's Avatar
 
Posts: 40
Karma: 10
Join Date: Aug 2018
Device: kobo Nia
PySitde6 inbuntu 24.10 / Sigil install size

Hi,

replying to several posts:
Quote:
Originally Posted by DiapDealer View Post
Do you mean PySide6 is packaged in Ubuntu 24.10 repos? That would be fantastic. I don't know why distros (other than Arch) have been so hesitant to package PySide6. I assume they'll break it up into a myriad of tiny pieces like they do Qt6 itself, but even if they do, it's still progress. I sort of gave up after 24.04 came and went with no PySide6.
Indeed they include it, and indeed they split it up, see here.

Quote:
Originally Posted by KevinH View Post
FWIW, on MacOS the installed footprint of the Sigil.app is 514,158,161 bytes (519.8 MB on disk on Intel x86_64) and 501,588,228 bytes (507.3 MB on disk on Applie Silicon arm64).

Since an AppImage is on a squashed filesystem that needs no installation, its on disk application footprint is only 213MB.
Actually, i don't know the size of my self-compiled Sigil installation, since i guess it's put in several places after `make install`.

Your point about the squash-compressed Image is thus very well made, thank you.
recook is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 514 03-23-2025 10:26 AM
[FileType Plugin] YVES Bible Plugin ClashTheBunny Plugins 27 01-16-2023 01:25 AM
Plugin not customizable: Plugin: HTML Output does not need customization flyingfoxlee Conversion 2 02-24-2012 02:24 AM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 12:27 PM
New Plugin Type Idea: Library Plugin cgranade Plugins 3 09-15-2010 12:11 PM


All times are GMT -4. The time now is 06:01 AM.


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