03-08-2017, 04:37 AM | #106 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
No problem. I haven't gotten the time yet to dive into it. It is strange though, since I usually first update my website and then this post.
|
10-30-2017, 03:50 PM | #107 | |
Zealot
Posts: 100
Karma: 1204
Join Date: Jun 2012
Device: Bookari (née Mantano Reader) on Android; Kindle Fire HD
|
Version 0.7.1 (because 0.7.2 is not available to download), Sigil 0.9.8, and I get this error message:
Quote:
|
|
Advert | |
|
10-31-2017, 02:25 PM | #108 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Sure.
|
11-03-2017, 02:23 PM | #109 |
Zealot
Posts: 100
Karma: 1204
Join Date: Jun 2012
Device: Bookari (née Mantano Reader) on Android; Kindle Fire HD
|
PM sent.
|
11-05-2017, 02:29 AM | #110 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I saw, I hope to get around to it on Wednesday.
|
Advert | |
|
12-18-2017, 02:16 PM | #111 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I have uploaded a new version (now really 0.7.2) that should fix the issue jcsalomon had. I have the feeling I fixed that earlier but somehow did not upload the fix.
|
12-31-2017, 02:10 PM | #112 |
Junior Member
Posts: 6
Karma: 10
Join Date: Apr 2015
Device: Kobo Glo
|
Every time I try to use your plugin (v0.7.2, Sigil 0.9.9) I get this error:
Code:
Status: failed C:\Users\dahti\AppData\Local\sigil-ebook\sigil\plugins\ePUBOptimizer\ePUBOptimizer.exe C:\Users\dahti\AppData\Local\sigil-ebook\sigil\plugins\ePUBOptimizer\dummy.epub Traceback (most recent call last): File "D:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 135, in launch self.exitcode = target_script.run(container) File "C:\Users\dahti\AppData\Local\sigil-ebook\sigil\plugins\ePUBOptimizer\plugin.py", line 102, in run print(result[0].decode('utf-8')) UnboundLocalError: local variable 'result' referenced before assignment Error: local variable 'result' referenced before assignment |
12-31-2017, 03:03 PM | #113 | |
Grand Sorcerer
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
You might be able to fix this yourself: 1. Locate the ePubOptimizer plugin folder in the Sigil plugins folder (Edit > Preferences > Open Preferences Location) 2. Open plugin.py with a text editor and change the following line from: Code:
#result = OptiWrapper(*args)
Code:
result = OptiWrapper(*args) 3. (Optional) open plugin.xml and insert the following line: Code:
<autostart>true</autostart> Code:
<name>ePUBOptimizer</name> If this doesn't fix your problem, current Calibre versions offer font subsetting and image optimization features via the Polish ePub tool. |
|
12-31-2017, 04:48 PM | #114 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Not an old version, just forgot to remove the hash tag... I added it to for testing purposes. I will update this later this week, as I do not have access to my development machine for the next few days.
|
01-01-2018, 05:09 AM | #115 |
Connoisseur
Posts: 99
Karma: 10
Join Date: Jun 2014
Location: Poland, Żory
Device: Prestigio PER3464B, Onyx Lynx, Lenovo S5000 i Tab4-8"
|
After deleting # I get this message:
Code:
Status:failed C:\Users\xxxxxx\AppData\Local\sigil-ebook\sigil\plugins\ePUBOptimizer\ePUBOptimizer.exe C:\Users\xxxxxx\AppData\Local\sigil-ebook\sigil\plugins\ePUBOptimizer\dummy.epub Traceback (most recent call last): File "C:\Program Files\Sigil\plugin_launchers\python\launcher.py", line 135, in launch self.exitcode = target_script.run(container) File "C:\Users\xxxxxx\AppData\Local\sigil-ebook\sigil\plugins\ePUBOptimizer\plugin.py", line 102, in run print(result[0].decode('utf-8')) UnicodeDecodeError: 'utf-8' codec can't decode byte 0x88 in position 25: invalid start byte Error: 'utf-8' codec can't decode byte 0x88 in position 25: invalid start byte bravosx Last edited by bravosx; 01-01-2018 at 12:52 PM. |
01-02-2018, 02:17 PM | #116 |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
I have uploaded a new version that should work... Sorry about this.
|
01-02-2018, 02:17 PM | #117 | |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
|
|
01-02-2018, 02:56 PM | #118 |
Grand Sorcerer
Posts: 5,583
Karma: 22735033
Join Date: Dec 2010
Device: Kindle PW2
|
bravosx edited his post to mask his user name, which contained Eastern European(?) characters. IIRC, some Python features require encoding/decoding file names that contain non-ASCII characters.
Since your user name most likely only contains ASCII characters you won't see the problem. |
01-02-2018, 03:59 PM | #119 | |
Wizard
Posts: 4,520
Karma: 121692313
Join Date: Oct 2009
Location: Heemskerk, NL
Device: PRS-T1, Kobo Touch, Kobo Aura
|
Quote:
|
|
01-02-2018, 04:01 PM | #120 | |
Connoisseur
Posts: 99
Karma: 10
Join Date: Jun 2014
Location: Poland, Żory
Device: Prestigio PER3464B, Onyx Lynx, Lenovo S5000 i Tab4-8"
|
@Toxaris
Quote:
Doitsu is right. The masked user name contains Polish letters: ł, Ż. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Comic optimizer script | rhon | Kobo Reader | 0 | 11-08-2012 06:04 PM |
Mokle - Mangas Optimizer for Kindle | devorez | Kindle Developer's Corner | 11 | 08-14-2012 07:15 PM |
Patent/Heavy graphics pdfs and Adobe PDF Optimizer | andrewscheinman | iRex | 4 | 12-26-2009 11:39 AM |
epub, ePub, EPUB, warum blos ePub? | flowoeB | Lounge | 5 | 11-27-2009 09:37 AM |
PRS-500 PDF file optimizer | phigdon | Sony Reader Dev Corner | 1 | 04-01-2007 11:40 PM |