02-17-2017, 06:10 AM | #16 |
Guru
Posts: 674
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 |
02-17-2017, 07:18 AM | #17 | |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
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 07:23 AM. |
|
Advert | |
|
02-17-2017, 07:29 AM | #18 |
Guru
Posts: 674
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 07:36 AM. |
02-17-2017, 07:40 AM | #19 | |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
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 |
|
02-17-2017, 07:44 AM | #20 |
Guru
Posts: 674
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 | |
|
02-17-2017, 08:31 AM | #21 | |
Grand Sorcerer
Posts: 28,044
Karma: 199464182
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:
|
|
04-26-2017, 09:31 PM | #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. |
04-26-2017, 09:59 PM | #23 |
Sigil Developer
Posts: 8,160
Karma: 5450818
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.
|
04-26-2017, 10:07 PM | #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. |
04-27-2017, 07:03 AM | #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.
|
04-27-2017, 07:33 PM | #26 |
Zealot
Posts: 131
Karma: 10
Join Date: Jan 2015
Location: Buenos Aires
Device: Android
|
|
04-27-2017, 08:15 PM | #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? |
04-30-2017, 01:19 PM | #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...
|
05-11-2017, 03:42 PM | #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. |
05-12-2017, 01:40 PM | #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.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wrap in SVG plugin? | gezginrocker | Plugins | 18 | 07-05-2015 01:20 AM |
svg image on top of a background png image | roger64 | ePub | 25 | 04-24-2015 12:00 PM |
Display of a png image linked to a svg image | roger64 | Editor | 6 | 03-13-2015 07:21 AM |
Image wrap test | Jellby | ePub | 15 | 05-04-2011 03:30 PM |
Combining blockquote with image wrap | WRB | Sigil | 1 | 02-12-2011 08:46 PM |