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 11-19-2017, 06:36 PM   #286
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Is this possibly something in the headers of the files or other declarations? epub2 vs epub3 is an easy example, but I wouldn't expect that to be it. But, there are other declarations such as namespaces that might. I know I've had some strange behaviour with some wrong declarations (valid elsewhere but not in an epub). I usually expect the calibre conversion to clean them up, but, if they do get through, there might be something wrong.

Another thought is the interface language. I don't know if it should affect the rendering, but, it could be used somewhere to make a choice when language isn't set elsewhere.
davidfor is offline   Reply With Quote
Old 11-19-2017, 07:58 PM   #287
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
The only thing that looks even possibly relevant is the KePub has both xml:lang="fr" and lang="fr" set on the top-level <html> element; the ePub only sets xml:lang="fr". But my understanding is this is supposed to be allowed since "lang" is a built-in property of the <html> element and "xml:lang" is added by the inclusion of xmlns="http://www.w3.org/1999/xhtml", and either should be sufficient to override the interface language. And in the KePub content.opf also sets the language, but again as I understand it the per-file language that's set should override that.

Though, in the Unicode world that applies (or should apply!) because the XML encoding and Content-Type element are set to UTF-8, the interface language should only matter for the app to choose what translation to use for displayed app strings. 0x65 and 0x202F are the same Unicode character no matter what language you're using. Assuming your font supports it. Though it's weird it apparently falls back to a different font in some cases and not in others. And there's no font family specified, except for one specific class that isn't applicable here sets the font family to "WINGDINGS".
jgoguen is offline   Reply With Quote
Old 01-01-2018, 07:16 PM   #288
genoasalami
Connoisseur
genoasalami began at the beginning.
 
Posts: 52
Karma: 20
Join Date: Apr 2017
Device: KK3G, PW, Voyage, Oasis, Aura One, Forma
Is there any way to get this plugin to stop aggressively compressing images?
genoasalami is offline   Reply With Quote
Old 01-01-2018, 07:19 PM   #289
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: 73,661
Karma: 127838198
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by genoasalami View Post
Is there any way to get this plugin to stop aggressively compressing images?
It's not the plugin that's at fault. It's your settings in Calibre. You need to go into Calibre's preferences and set your output profiles to tablet. Tablet doesn't change the images. All the others might.
JSWolf is offline   Reply With Quote
Old 01-01-2018, 07:31 PM   #290
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
What JSWolf said, this plugin doesn’t touch images. Calibre has output profiles which attempts to optimize outputs for the device, if you don’t want that try the tablet profile as suggested and if that doesn’t work ask about it in the main calibre forum.
jgoguen is offline   Reply With Quote
Old 01-01-2018, 07:41 PM   #291
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: 73,661
Karma: 127838198
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jgoguen View Post
What JSWolf said, this plugin doesn’t touch images. Calibre has output profiles which attempts to optimize outputs for the device, if you don’t want that try the tablet profile as suggested and if that doesn’t work ask about it in the main calibre forum.
If he doesn't want to try the Tablet profile, then there's nothing that can be done.
JSWolf is offline   Reply With Quote
Old 01-01-2018, 07:41 PM   #292
genoasalami
Connoisseur
genoasalami began at the beginning.
 
Posts: 52
Karma: 20
Join Date: Apr 2017
Device: KK3G, PW, Voyage, Oasis, Aura One, Forma
Quote:
Originally Posted by JSWolf View Post
It's not the plugin that's at fault. It's your settings in Calibre. You need to go into Calibre's preferences and set your output profiles to tablet. Tablet doesn't change the images. All the others might.

Quote:
Originally Posted by jgoguen View Post
What JSWolf said, this plugin doesn’t touch images. Calibre has output profiles which attempts to optimize outputs for the device, if you don’t want that try the tablet profile as suggested and if that doesn’t work ask about it in the main calibre forum.
OK. I had been selecting Kobo Reader as the output profile which seemed to make intuitive sense. I will make the change to tablet and report back.

The only reason I noticed it, though, is because images appeared more heavily compressed in KePUB than MOBI or AZW (for my Kindle readers). Hopefully the tablet setting will fix it.
genoasalami is offline   Reply With Quote
Old 01-01-2018, 07:45 PM   #293
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: 73,661
Karma: 127838198
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Tablet will fix this. It will tell Calibre not to reduce images to 800x600. The Tablet setting leaves the images alone without any resizing or recompressing.
JSWolf is offline   Reply With Quote
Old 01-01-2018, 11:14 PM   #294
jgoguen
Generally Awesome Person
jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.jgoguen ought to be getting tired of karma fortunes by now.
 
Posts: 1,061
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
Quote:
Originally Posted by genoasalami View Post
OK. I had been selecting Kobo Reader as the output profile which seemed to make intuitive sense.
Perhaps there should be some note somewhere about what each profile will do. It makes sense, but you do need to know what each profile does when you’re getting weird results. That’s not my department though



Quote:
Originally Posted by genoasalami View Post
The only reason I noticed it, though, is because images appeared more heavily compressed in KePUB than MOBI or AZW (for my Kindle readers). Hopefully the tablet setting will fix it.
Depending on which Kindle and Kobo devices you have, they may have different resolutions. The images may even be the same size but look worse at a higher pixel density, if that’s a difference between the devices. On top of that, Kindle, Kobo ePub, and Kobo KePub are three different rendering engines that may process and optimize images differently. And, more generally than your question, if you don’t compare images that are actually the same size on all three, you may find that you’re thinking images look way worse just because you’re running into this, where a book has a high-resolution image on one but a compressed image on another.
jgoguen is offline   Reply With Quote
Old 01-02-2018, 12:58 AM   #295
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by jgoguen View Post
Perhaps there should be some note somewhere about what each profile will do. It makes sense, but you do need to know what each profile does when you’re getting weird results. That’s not my department though
It pretty much says it on the conversion dialog. And it includes the screen size, so the option is for the original Kobo eReader and the WiFi only. Otherwise, it is in the help.
davidfor is offline   Reply With Quote
Old 09-06-2018, 08:54 PM   #296
genoasalami
Connoisseur
genoasalami began at the beginning.
 
Posts: 52
Karma: 20
Join Date: Apr 2017
Device: KK3G, PW, Voyage, Oasis, Aura One, Forma
This appears to be broken in the latest version of Calibre?

Code:
calibre 3.30 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.16299-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.16299')
Python 2.7.12+
Windows: ('10', '10.0.16299', 'SP0', u'Multiprocessor Free')
Interface language: None
Traceback (most recent call last):
  File "site-packages\calibre\gui2\preferences\plugins.py", line 317, in add_plugin
  File "site-packages\calibre\customize\ui.py", line 471, in add_plugin
  File "site-packages\calibre\customize\ui.py", line 60, in load_plugin
  File "site-packages\calibre\customize\zipplugin.py", line 199, in load
  File "site-packages\calibre\customize\zipplugin.py", line 183, in load_module
  File "calibre_plugins.kepubout.__init__", line 7, in <module>
ImportError: cannot import name KEPubOutput
genoasalami is offline   Reply With Quote
Old 09-06-2018, 11:31 PM   #297
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by genoasalami View Post
This appears to be broken in the latest version of Calibre?

Code:
calibre 3.30 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.16299-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.16299')
Python 2.7.12+
Windows: ('10', '10.0.16299', 'SP0', u'Multiprocessor Free')
Interface language: None
Traceback (most recent call last):
  File "site-packages\calibre\gui2\preferences\plugins.py", line 317, in add_plugin
  File "site-packages\calibre\customize\ui.py", line 471, in add_plugin
  File "site-packages\calibre\customize\ui.py", line 60, in load_plugin
  File "site-packages\calibre\customize\zipplugin.py", line 199, in load
  File "site-packages\calibre\customize\zipplugin.py", line 183, in load_module
  File "calibre_plugins.kepubout.__init__", line 7, in <module>
ImportError: cannot import name KEPubOutput
It is working here with calibre 3.30. Also, what exactly were you doing when you saw this error?
davidfor is offline   Reply With Quote
Old 09-07-2018, 08:19 PM   #298
genoasalami
Connoisseur
genoasalami began at the beginning.
 
Posts: 52
Karma: 20
Join Date: Apr 2017
Device: KK3G, PW, Voyage, Oasis, Aura One, Forma
Quote:
Originally Posted by davidfor View Post
It is working here with calibre 3.30. Also, what exactly were you doing when you saw this error?
Attempting to install the plugin. Updated to 3.31 and error persists:

Code:
calibre, version 3.31.0
ERROR: Install plugin failed: A problem occurred while installing this plugin. This plugin will now be uninstalled. Please post the error message in details below into the forum thread for this plugin and restart calibre.

Traceback (most recent call last):
  File "site-packages\calibre\gui2\dialogs\plugin_updater.py", line 726, in _install_clicked
  File "site-packages\calibre\customize\ui.py", line 471, in add_plugin
  File "site-packages\calibre\customize\ui.py", line 60, in load_plugin
  File "site-packages\calibre\customize\zipplugin.py", line 199, in load
  File "site-packages\calibre\customize\zipplugin.py", line 183, in load_module
  File "calibre_plugins.kepubout.__init__", line 7, in <module>
ImportError: cannot import name KEPubOutput
genoasalami is offline   Reply With Quote
Old 09-07-2018, 08:53 PM   #299
davidfor
Grand Sorcerer
davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.davidfor ought to be getting tired of karma fortunes by now.
 
Posts: 24,908
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
Quote:
Originally Posted by genoasalami View Post
Attempting to install the plugin. Updated to 3.31 and error persists:

Code:
calibre, version 3.31.0
ERROR: Install plugin failed: A problem occurred while installing this plugin. This plugin will now be uninstalled. Please post the error message in details below into the forum thread for this plugin and restart calibre.

Traceback (most recent call last):
  File "site-packages\calibre\gui2\dialogs\plugin_updater.py", line 726, in _install_clicked
  File "site-packages\calibre\customize\ui.py", line 471, in add_plugin
  File "site-packages\calibre\customize\ui.py", line 60, in load_plugin
  File "site-packages\calibre\customize\zipplugin.py", line 199, in load
  File "site-packages\calibre\customize\zipplugin.py", line 183, in load_module
  File "calibre_plugins.kepubout.__init__", line 7, in <module>
ImportError: cannot import name KEPubOutput
Just tried installing it here with no errors. How are you doing the install? Using "Get new plugins" or "Load plugin from file"? If the latter, try downloading the file again.
davidfor is offline   Reply With Quote
Old 12-11-2018, 04:54 PM   #300
von Klamke
Junior Member
von Klamke began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Nov 2016
Device: Kobo Aura ONE
Quote:
calibre, version 3.35.0
BŁĄD: Instalacja wtyczki nie powiodła się: Wystąpił problem podczas instalacji wtyczki. Wtyczka zostanie odinstalowana. Proszę umieścić poniższe informacje o błędzie w odpowiednim, dotyczącym tej wtyczki wątku na forum i uruchom ponownie calibre.

Traceback (most recent call last):
File "site-packages\calibre\gui2\dialogs\plugin_updater.py", line 726, in _install_clicked
File "site-packages\calibre\customize\ui.py", line 472, in add_plugin
File "site-packages\calibre\customize\ui.py", line 61, in load_plugin
File "site-packages\calibre\customize\zipplugin.py", line 200, in load
File "site-packages\calibre\customize\zipplugin.py", line 184, in load_module
File "calibre_plugins.kepubout.__init__", line 7, in <module>
ImportError: cannot import name KEPubOutput
Same here. No matter if I install the plugin manually or by "get new plugin"
von Klamke 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
catalogue builder output columns are not in the same order in the output KWhytte Library Management 5 12-04-2012 02:03 AM
Plugin not customizable: Plugin: HTML Output does not need customization flyingfoxlee Conversion 2 02-24-2012 02:24 AM
Plugin which uses net as input and output medve Development 0 12-04-2011 03:20 PM
Creat new Output plugin (LaTeX and/or txt2tags) Lebewesen Development 3 11-22-2011 11:10 AM
AZW Conversion Output Plugin tylau0 Plugins 59 08-14-2011 10:36 PM


All times are GMT -4. The time now is 08:50 AM.


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