![]() |
#16 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 665
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
I get "Cannot import PIL library" and it just keeps doing whatever it is doing, have to cancel to make it quit.
I assume it's because the "Use Bundled Python" is not checked? However, that box is not possible to check. It's grayed out. (I searched the forum but didn't find anything about this, but then I usually don't have great luck with searches here.) All other plugins I have work fine as far as I know. Running linux. Using /usr/bin/python3.4 |
![]() |
![]() |
![]() |
#17 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Search for python3-pil in your package manager. If it isn't listed, enter the following command in a terminal window: Code:
sudo pip3 install Pillow Last edited by Doitsu; 02-17-2017 at 06:23 AM. |
|
![]() |
![]() |
Advert | |
|
![]() |
#18 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 665
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
Thanks for the suggestion Doitsu.
I do have the python3-pil installed. Maybe the fact that I'm not using the bundled version causes the plugin to not find it? Edit: I believe the problem is around my Python installation. I seem to have both 2.7 and 3.4 installed and even though Pillow is installed it would seem it's only available to the 2.7 installation. If I remember correctly it's 2.7 that came along my distribution and I had to install 3.4 manually to get Sigil to compile. Since everything has been working fine I haven't thought about this (don't know Python). Guess I will have to sort this out now. Thanks again. ![]() Last edited by patrik; 02-17-2017 at 06:36 AM. |
![]() |
![]() |
![]() |
#19 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
Search for libjpeg in your package manager and install all packages that start with libjpeg or libjpeg8. For example: Code:
libjpeg-dev:amd64 libjpeg-progs libjpeg-turbo-progs libjpeg-turbo8:amd64 libjpeg-turbo8:i386 libjpeg-turbo8-dev:amd64 libjpeg8:amd64 libjpeg8:i386 libjpeg8-dev:amd64 |
|
![]() |
![]() |
![]() |
#20 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 665
Karma: 4568205
Join Date: Jan 2010
Location: Sweden
Device: Kobo Forma
|
Ah, you're brilliant! Installing python3-pil.imagetk did the trick.
Plugin works fine now. Thanks! ![]() |
![]() |
![]() |
Advert | |
|
![]() |
#21 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,804
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Glad you got it working. For future reference, there IS no bundled version of Python distributed with Sigil on Linux (like there is with the Windows and Mac versions). That's why the checkbox is purposely disabled/greyed out. The Sigil build instructions list the extra Python3 modules a user should install to have a fully functioning Sigil plugin framework (identical to the Win/OSX versions of Sigil).
Quote:
|
|
![]() |
![]() |
![]() |
#22 |
Zealot
![]() Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
|
Well first thank you for this great plugin, but...
I have latest Sigil, with internal Python Package enabled. All my other plugin work, excepting most of the time this one. No error message, its starts as expected, showing up the images available, and then it just does nothing... When i interrupt the procedure i get the message " Error parsing XML: Start tag expected" Any idea what going wrong? Thanks for helping. |
![]() |
![]() |
![]() |
#23 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,990
Karma: 5449552
Join Date: Nov 2009
Device: many
|
Are you on a Mac? If so there is a plugin window hidden by Sigil. Look for a rocket ship icon in the Finder panel and click on it to bring the plugin window to the front.
|
![]() |
![]() |
![]() |
#24 |
Zealot
![]() Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
|
I am on windows 7.
Sorry for not having mentioned that before. |
![]() |
![]() |
![]() |
#25 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 202
Karma: 62362
Join Date: Jul 2015
Device: Sony
|
BUg fix
@Thomas_AR: Please download the latest version (0.1.3.0) that has been uploaded to the first post in this thread. This includes a bug fix and some new features.
|
![]() |
![]() |
![]() |
#26 |
Zealot
![]() Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
|
|
![]() |
![]() |
![]() |
#27 |
Zealot
![]() Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
|
May i make two suggestions:
1. Check once a day for a new plugin. When adding a lot of Images ..it takes a while because of the update checking. 2. When the image is inserted , clicking on Close, only the image selection windows closes, but not the Plugin-Runner GUI. perhaps both can close? |
![]() |
![]() |
![]() |
#28 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 202
Karma: 62362
Join Date: Jul 2015
Device: Sony
|
I will address the suggestions made by Thomas_AR when I update the plugin - this may not be for a while...
|
![]() |
![]() |
![]() |
#29 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 202
Karma: 62362
Join Date: Jul 2015
Device: Sony
|
I have updated the plugin in the first thread in this post to version InsertImageSVG_v0.1.4.0 to address the comments raised by Thomas_AR:
The plugin now runs automatically and will check for updates; if an update is not available then the plugin will not check for updates again until 24 hours has elapsed. If an update is found you will be presented with a dialog that has two buttons: 1. Go to webpage: This will take you to the mobile read webpage from where the update can be downloaded 2. Remind me later: Pressing this button will close the dialog and you will be reminded of the update after 1 hour has elapsed. This version of the plugin will close automatically. |
![]() |
![]() |
![]() |
#30 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 202
Karma: 62362
Join Date: Jul 2015
Device: Sony
|
I have uploaded an updated user guide in the first post of this thread.
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wrap in SVG plugin? | gezginrocker | Plugins | 18 | 07-05-2015 12:20 AM |
svg image on top of a background png image | roger64 | ePub | 25 | 04-24-2015 11:00 AM |
Display of a png image linked to a svg image | roger64 | Editor | 6 | 03-13-2015 06:21 AM |
Image wrap test | Jellby | ePub | 15 | 05-04-2011 02:30 PM |
Combining blockquote with image wrap | WRB | Sigil | 1 | 02-12-2011 07:46 PM |