|
|
#2326 |
|
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,054
Karma: 2178845
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
I must have missed this somewhere, maybe this is the reason hyphenation has been so wonky basically forever. Can you manually install this attached version and see if it's any better? I'm leaving the old CSS properties in place for now but compliant renderers are supposed to ignore unknown properties.
|
|
|
|
|
|
#2327 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 367
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
|
After installing 5.1 I noticed that this plugin was removed.
When trying to install it I get this error. Quote:
|
|
|
|
|
|
|
#2328 | |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2020
Device: Kobo Libra H2O
|
Quote:
|
|
|
|
|
|
|
#2329 | |
|
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 367
Karma: 3102
Join Date: Dec 2010
Location: EU
Device: Kobo Aura ONE, Kobo Libra H20
|
Quote:
If you are unable to install the Extended Driver, click on Preferences -> Ignored Devices (under Sharing). There you will find the original Kobo plugin that was disabled when you installed the Extended Driver. Remove the check mark. |
|
|
|
|
|
|
#2330 | |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Oct 2020
Device: Kobo Libra H2O
|
Quote:
|
|
|
|
|
|
|
#2331 |
|
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 64,324
Karma: 104254653
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Aura H2O, PRS-650, PRS-T1, nook STR, iPad 4, iPhone SE 2020, PW3
|
With Calibre 5.1,the KoboTouchExtended driver has vanished. And that's without installing the latest beta.
|
|
|
|
|
|
#2332 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 23,231
Karma: 41975128
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
It's happening here as well. But, if I run in debug mode or from source, it is loaded with no problems. That's going to make it hard to debug
|
|
|
|
|
|
#2333 |
|
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 26,905
Karma: 41870062
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Aura2, K4NT(Fixed: New Bat.), Galaxy Tab A
|
|
|
|
|
|
|
#2334 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16,954
Karma: 82522897
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Kobo Forma, Kobo Clara HD, Lenovo M8 FHD, iPad Pro, Tolino
|
I was noticing that the KoboTouchExtended, Kepub Input, Kepub Output, Kepub Metadata Reader and Kepub Metadata Writer plugins were all removed. An attempt to reinstall gave an ImportError message similar to the one from the KoboTouchExtended driver. This seems to be an issue with the import line in _init_.py.
Code:
from calibre_plugins.kobotouch_extended.device.driver import KOBOTOUCHEXTENDED from calibre_plugins.kepubin.conversion.kepub_input import KEPUBInput from calibre_plugins.kepubout.conversion.kepub_output import KEPubOutput from calibre_plugins.kepubmdwriter.metadata.writer import name KEPUBMetadataWriter from calibre_plugins.kepubmdwriter.metadata.writer import KEPUBMetadataWriter Edit2: Running from source does not let me install. See attached image. Last edited by DNSB; 10-02-2020 at 04:13 PM. |
|
|
|
|
|
#2335 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 23,231
Karma: 41975128
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
The structure of these plugins are all the same, so, I assumed they would all fail, but, I hadn't checked them. I assume it is related to import not being threadsafe but, I can't see a change that would have triggered this.
|
|
|
|
|
|
#2336 |
|
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,306
Karma: 13781972
Join Date: Oct 2018
Device: Kobo Aura HD
|
Somehow the disappearance of the extended drivers prevented Calibre from detecting my device at all. It showed up in Windows Explorer but Calibre wouldn't detect it. When I rolled back to 5.0.1 and put the drivers back it detected just fine. That's odd.
|
|
|
|
|
|
#2337 |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16,954
Karma: 82522897
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Kobo Forma, Kobo Clara HD, Lenovo M8 FHD, iPad Pro, Tolino
|
The deletion of the KoboTouchExtended driver does not automatically re-enable the standard KoboTouch driver so basically, you had no Kobo driver.
|
|
|
|
|
|
#2338 |
|
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 23,231
Karma: 41975128
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
I have done some playing, and the problem appears to be with importing from "calibre.ebooks.oeb.polish.container". If this is done when the plugin is loaded, it will fail. If it is done later, it works. I have no idea why. I assume it is related to the thread-safe issues with importing in Windows, but, I am not sure. Or, it might just be that what we were doing was wrong.
The attached beta is a quick-and-dirty hack to move the import to when it is actually needed. I have not done much testing, but it seems to work for the few books I have tried. If this works for others, I'll look at the other kepub plugins as well. Last edited by davidfor; 10-10-2020 at 02:20 AM. Reason: Removed beta as problem it was testing as been solved elsewhere |
|
|
|
|
|
#2339 | |
|
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16,954
Karma: 82522897
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Kobo Forma, Kobo Clara HD, Lenovo M8 FHD, iPad Pro, Tolino
|
Quote:
Code:
calibre, version 5.1.0
ERROR: Unhandled exception: <b>ImportError</b>:cannot import name 'KOBOTOUCHEXTENDED' from 'calibre_plugins.kobotouch_extended.device.driver' (<calibre Plugin Loader>)
calibre 5.1* [64bit] embedded-python: True is64bit: True
Windows-10-10.0.19041-SP0 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', 'SP0', 'Multiprocessor Free')
Interface language: None
Successfully initialized third party plugins: DeDRM (7, 0, 0) && Annotations (1, 12, 0) && Baen (1, 2, 0) && Calibre Power Search Plugin (1, 6, 0) && Count Pages (1, 10, 0) && Diaps Editing Toolbag (0, 3, 6) && EpubCheck (0, 2, 3) && EpubMerge (2, 11, 0) && EpubSplit (2, 9, 0) && FanFicFare (3, 23, 0) && Fantastic Fiction (1, 4, 0) && Find Duplicates (1, 7, 5) && Goodreads (1, 5, 1) && Hyphenate This! (0, 1, 3) && Job Spy (1, 0, 184) && Kindle hi-res covers (0, 5, 0) && KindleUnpack - The Plugin (0, 82, 3) && Kobo Books (1, 8, 0) && Kobo Utilities (2, 11, 5) && Modify ePub (1, 6, 0) && Obok DeDRM (6, 7, 0) && Open With (1, 5, 12) && Quality Check (1, 10, 1) && Resize Cover (1, 1, 0) && ScrambleEbook (0, 4, 5) && SmartEject (2, 3, 0) && Smashwords Metadata (1, 0, 2)
Traceback (most recent call last):
File "C:\Users\David\work\calibre\src\calibre\gui2\preferences\plugins.py", line 317, in add_plugin
File "C:\Users\David\work\calibre\src\calibre\customize\ui.py", line 472, in add_plugin
File "C:\Users\David\work\calibre\src\calibre\customize\ui.py", line 61, in load_plugin
File "C:\Users\David\work\calibre\src\calibre\customize\zipplugin.py", line 200, in load
File "C:\Users\David\work\calibre\src\polyglot\builtins.py", line 123, in reload
File "importlib\__init__.py", line 169, in reload
File "<frozen importlib._bootstrap>", line 602, in _exec
File "C:\Users\David\work\calibre\src\calibre\customize\zipplugin.py", line 184, in load_module
File "calibre_plugins.kobotouch_extended.__init__", line 9, in <module>
ImportError: cannot import name 'KOBOTOUCHEXTENDED' from 'calibre_plugins.kobotouch_extended.device.driver' (<calibre Plugin Loader>)
|
|
|
|
|
|
|
#2340 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 40,176
Karma: 18000000
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
That sounds like a circular import, just moving the offending import into the method wher eit is used will fix that.
|
|
|
|
![]() |
| Tags |
| error, kobo aura one |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Kobo Device Driver Update | davidfor | Devices | 284 | 05-24-2019 06:24 PM |
| [Device Plugin] Kindle 2, 3, 4, Touch Device Interface MBP Update Mod | cryzed | Plugins | 7 | 10-28-2012 05:58 PM |
| [Device Interface Plugin] Update for Nook Color Driver | jmricker | Plugins | 0 | 10-22-2011 11:11 AM |
| Touch Kobo Touch Extended 2 Year Warranty - Is it worth the $34.99? | EverC | Kobo Reader | 11 | 09-01-2011 12:47 AM |
| Touch Kobo Touch Extended Warranty Program | SensualPoet | Kobo Reader | 1 | 07-17-2011 05:08 AM |