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 12-02-2020, 07:16 AM   #1
Gandulf
Addict
Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.
 
Gandulf's Avatar
 
Posts: 207
Karma: 4491791
Join Date: Jul 2020
Location: South Africa
Device: Kindle PW4
EPubtidyTool help

Installed the test plugin and managed to install the things that gave errors, but EPubtidyTool says cannot import PIL library.

Using Ubuntu 20.04.1 LTS. I have installed the pil library in terminal.

Can anyone help please.

1 irritating thing about the plugin is the windows it opens always open on my 2nd screen and that is a TV that is usally switched off.
Gandulf is offline   Reply With Quote
Old 12-02-2020, 07:48 AM   #2
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: 7,644
Karma: 5433388
Join Date: Nov 2009
Device: many
Yes the PIL module is a requirement for Sigil. It is shipped with the Python3 version that is embedded in Sigil on Windows and Mac. Some Linux distributions for some strange reason decided that Plugin support was somehow "optional" and made those packages "optional" in the install. Not really sure why. Plugin support has been around for over 5 years and is not going away and there are many many very useful plugins.

As for the windows it opens, not sure about that. It really depends on how the tk gui or pyqt5 gui used by the plugin determeines which is the main display and which is not. It can also be related to your Desktop/WM thinking space is available on the second monitor and deciding to use it. I have found that is I have more than one monitor on almost any system connected on the boot of the machine, then it is a very good idea to have them turned on at all times for this very reason.
KevinH is offline   Reply With Quote
Advert
Old 12-02-2020, 07:54 AM   #3
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,584
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
Quote:
Originally Posted by Gandulf View Post
Installed the test plugin and managed to install the things that gave errors, but EPubtidyTool says cannot import PIL library.
I tested it on my Arch Linux machine and it works fine. AFAIK, PIL has some image library dependencies.

To find out what depencies are missing, open a terminal and enter the following:

Code:
python3
from PIL import Image, ImageTk
You should get some kind of error message.

Most likely you'll have to install libjpeg.

Also note that you'll need to install Pillow not PIL
(Pillow is a fork of PIL that kept the PIL import name for backwards compatibility.)

On my machine the following packages are installed:
Pillow 7.2.0
libjpeg-turbo 2.0.5-3

Last edited by Doitsu; 12-02-2020 at 08:12 AM.
Doitsu is offline   Reply With Quote
Old 12-02-2020, 01:43 PM   #4
Gandulf
Addict
Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.Gandulf ought to be getting tired of karma fortunes by now.
 
Gandulf's Avatar
 
Posts: 207
Karma: 4491791
Join Date: Jul 2020
Location: South Africa
Device: Kindle PW4
Seems one must uninstall pil and then install pillow, thanks.
Gandulf is offline   Reply With Quote
Reply


Forum Jump


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


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