Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-25-2018, 05:47 PM   #331
famfam
Enthusiast
famfam began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Oct 2013
Device: Kobo Touch
Oxt dictionaries for Hyphenate this!

I could install the above polish dictionary in calibre hyphenation plugin. But when I tried to hyphenate a book I got a lookuperror: unknown encoding.

Look at this failur.log:
calibre 3.30 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.17134-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.17134')
Python 2.7.12+
Windows: ('10', '10.0.17134', 'SP0', u'Multiprocessor Free')
Interface language: de
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 9, 0) && DeDRM (6, 6, 0) && Package KFX (from KFX Input) (1, 9, 0) && Kindle Collections (1, 7, 21) && Count Pages (1, 8, 2) && Annotations (1, 8, 0) && EpubSplit (2, 5, 0) && Generate Cover (1, 5, 21) && DOC Input (1, 0, 1) && KFX metadata reader (from KFX Input) (1, 9, 0) && KFX Input (1, 9, 0) && Hyphenate This! (0, 0, 8) && Resize Cover (1, 0, 2) && BOL_DE (0, 7, 5) && EpubMerge (2, 4, 0)
Traceback (most recent call last):
File "calibre_plugins.hyphenatethis.hyphenatethisaction ", line 118, in hyphenate
File "calibre_plugins.hyphenatethis.hyphenatethisaction ", line 92, in _select_books
File "calibre_plugins.hyphenatethis.hyphenator.hyphenat or", line 165, in __init__
File "calibre_plugins.hyphenatethis.hyphenator.hyphenat or", line 89, in __init__
LookupError: unknown encoding:

Any idea whats going wrong here?

Last edited by BetterRed; 10-25-2018 at 06:06 PM. Reason: merged thread into relevant plugin thread
famfam is offline   Reply With Quote
Old 10-26-2018, 03:26 PM   #332
JSWolf
Resident Curmudgeon
JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.JSWolf ought to be getting tired of karma fortunes by now.
 
JSWolf's Avatar
 
Posts: 52,430
Karma: 47532469
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, Sony PRS-650, Sony PRS-T1, nook STR, iPad 4, iPhone 5
Quote:
Originally Posted by famfam View Post
I could install the above polish dictionary in calibre hyphenation plugin. But when I tried to hyphenate a book I got a lookuperror: unknown encoding.

Look at this failur.log:
calibre 3.30 [64bit] embedded-python: True is64bit: True
Windows-10-10.0.17134-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.17134')
Python 2.7.12+
Windows: ('10', '10.0.17134', 'SP0', u'Multiprocessor Free')
Interface language: de
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 9, 0) && DeDRM (6, 6, 0) && Package KFX (from KFX Input) (1, 9, 0) && Kindle Collections (1, 7, 21) && Count Pages (1, 8, 2) && Annotations (1, 8, 0) && EpubSplit (2, 5, 0) && Generate Cover (1, 5, 21) && DOC Input (1, 0, 1) && KFX metadata reader (from KFX Input) (1, 9, 0) && KFX Input (1, 9, 0) && Hyphenate This! (0, 0, 8) && Resize Cover (1, 0, 2) && BOL_DE (0, 7, 5) && EpubMerge (2, 4, 0)
Traceback (most recent call last):
File "calibre_plugins.hyphenatethis.hyphenatethisaction ", line 118, in hyphenate
File "calibre_plugins.hyphenatethis.hyphenatethisaction ", line 92, in _select_books
File "calibre_plugins.hyphenatethis.hyphenator.hyphenat or", line 165, in __init__
File "calibre_plugins.hyphenatethis.hyphenator.hyphenat or", line 89, in __init__
LookupError: unknown encoding:

Any idea whats going wrong here?
It looks like there is no encoding specified in the eBook. Have a look in the Calibre editor to make sure the encoding i correctly specified.
JSWolf is offline   Reply With Quote
Advert
Old 10-27-2018, 04:05 PM   #333
famfam
Enthusiast
famfam began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Oct 2013
Device: Kobo Touch
@jswolf
In the calibre editor the specified language is utf-8 in all the polish epubs I have. I don't know whats wrong or wright here. Anybody experienced that allready here?
an example:
<?xml version='1.0' encoding='utf-8'?>
<html xmlns="http://www.w3.org/1999/xhtml">

I think, the first line has to be changed to the working code, hasnt it? But which code is correct? No idea about that.
And the second line has to specify the language of the book pl. Is that correct?

If you need any further information to solve it, please let me know. Thanks.

Sorry, I am a bit confused. Never have thougt about things like that.

Perhaps anybody solved the problem with hyphenating polish epub, azw already. There must be somebody, who did that.

Last edited by famfam; 10-27-2018 at 04:10 PM.
famfam is offline   Reply With Quote
Old 10-27-2018, 07:29 PM   #334
BeckyEbook
Zealot
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 141
Karma: 481790
Join Date: Jan 2017
Location: Poland
Device: Kindle (Key3, PW2, PW3), Nook (ST, GLP), Kobo Touch, Tolino Vision 2
Error:
Code:
File "calibre_plugins.hyphenatethis.hyphenator.hyphenat or", line 89, in __init__
LookupError: unknown encoding:
...is related to encoding DIC file.

Use this file (UTF-8) and should be OK:
http://www.ushuaia.pl/hyphen/langfiles/hyph_pl_PL.zip
BeckyEbook is offline   Reply With Quote
Old 10-28-2018, 10:15 AM   #335
famfam
Enthusiast
famfam began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Oct 2013
Device: Kobo Touch
@beckyEbook
Yes. That works perfectly. Problem solved. Thank you so much for the rescue.
famfam is offline   Reply With Quote
Advert
Old 10-28-2018, 03:32 PM   #336
famfam
Enthusiast
famfam began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Oct 2013
Device: Kobo Touch
italian dictionary hyphenate this

@Asterios

Quote:
Originally Posted by Asterios View Post
Hi, thank you a lot for this plugin! But I have a problem, even if I followed all the steps of the guide, and I've also installed the italian dictionary linked here, the plugin doesen't work.

Edit. Now work perfectly! Thank you again and sorry for the post
I could not find the above italian dictionary. Could not find the link here. The dictionary I found, does not work

How did you get the plugin working perfectly with your italian dictionary?
famfam is offline   Reply With Quote
Old 10-28-2018, 03:43 PM   #337
BeckyEbook
Zealot
BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.BeckyEbook ought to be getting tired of karma fortunes by now.
 
BeckyEbook's Avatar
 
Posts: 141
Karma: 481790
Join Date: Jan 2017
Location: Poland
Device: Kindle (Key3, PW2, PW3), Nook (ST, GLP), Kobo Touch, Tolino Vision 2
Quote:
Originally Posted by famfam View Post
How did you get the plugin working perfectly with your italian dictionary?
Get this.
Attached Files
File Type: zip hyph_it.dic.zip (1.0 KB, 25 views)
BeckyEbook is offline   Reply With Quote
Old 10-29-2018, 05:19 AM   #338
famfam
Enthusiast
famfam began at the beginning.
 
Posts: 28
Karma: 10
Join Date: Oct 2013
Device: Kobo Touch
@BeckyEbook
Yes, that dictionary works perpectly. Dziękuję bardzo. Mille grazie. Uratowałeś mnie już.
famfam is offline   Reply With Quote
Old 11-22-2018, 08:24 PM   #339
allanahk
Junior Member
allanahk began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2018
Device: Kindle paperwhite
Hi, I love this plugin but I can't seem to run more than one hyphenation job at the same time. Is this intended? I have nearly 1000 books but it's taking forever to do one at a time and I have 7 cores idling while 1 does all the work..
allanahk is offline   Reply With Quote
Old 01-02-2019, 03:47 PM   #340
Leonatus
Guru
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 603
Karma: 6945464
Join Date: Mar 2013
Location: Berlin, Germany
Device: Kobo Touch
When I recently try to hyphenate german epubs, I always get this message:
Code:
calibre, version 3.36.0
FEHLER: Nicht abgefangener Fehler: <b>LookupError</b>:unknown encoding: 230092

calibre 3.36  embedded-python: True is64bit: False
Windows-10-10.0.17134-SP0 Windows ('32bit', 'WindowsPE')
('Windows', '10', '10.0.17134')
Python 2.7.12+
Windows: ('10', '10.0.17134', 'SP0', u'Multiprocessor Free')
Interface language: de
Successfully initialized third party plugins: EpubCheck (0, 1, 5) && Count Pages (1, 8, 2) && KoboTouchExtended (3, 0, 2) && Kobo Utilities (2, 6, 0) && KePub Output (3, 0, 0) && Modify ePub (1, 3, 13) && Diaps Editing Toolbag (0, 3, 5) && Hyphenate This! (0, 0, 8) && Resize Cover (1, 0, 2) && Annotations (1, 8, 0)
Traceback (most recent call last):
  File "calibre_plugins.hyphenatethis.hyphenatethisaction", line 118, in hyphenate
  File "calibre_plugins.hyphenatethis.hyphenatethisaction", line 92, in _select_books
  File "calibre_plugins.hyphenatethis.hyphenator.hyphenator", line 165, in __init__
  File "calibre_plugins.hyphenatethis.hyphenator.hyphenator", line 89, in __init__
LookupError: unknown encoding: 230092
I use to read as well french and english books, but the error occurs only at the german ones, despite of having used the plugin frequently without problems.
I have another computer (both are Win 10, 32 bit, recent version of Calibre) with (partially) the same books, but there everything works fine.

Edit: I just removed hyphenation from some older books, and tried to hyphenate them again, but the same error message (this time: LookupError: unknown encoding: 133379) occurs.

Last edited by Leonatus; 01-02-2019 at 03:54 PM.
Leonatus is offline   Reply With Quote
Old 01-02-2019, 04:09 PM   #341
Leonatus
Guru
Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.Leonatus ought to be getting tired of karma fortunes by now.
 
Leonatus's Avatar
 
Posts: 603
Karma: 6945464
Join Date: Mar 2013
Location: Berlin, Germany
Device: Kobo Touch
Problem solved: I replaced the german dictionary by a newer one. Now the plugin works again; however, it takes a little more time that the plugin opens than before. Nevertheless:
Leonatus is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[GUI Plugin] SmartEject JimmXinu Plugins 36 01-05-2019 10:55 PM
[GUI Plugin] Open With kiwidude Plugins 332 08-31-2018 09:54 AM
[GUI Plugin] KindleUnpack - The Plugin DiapDealer Plugins 412 04-24-2018 07:07 PM
[GUI Plugin] Wordpress frescogamba Plugins 11 04-06-2015 10:09 PM
[GUI Plugin] Plugin Updater **Deprecated** kiwidude Plugins 159 06-19-2011 01:27 PM


All times are GMT -4. The time now is 10:12 PM.


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