|  10-02-2020, 04:13 AM | #2326 | |
| Addict            Posts: 387 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: 
 | |
|   |   | 
|  10-02-2020, 04:20 AM | #2327 | |
| Junior Member  Posts: 2 Karma: 10 Join Date: Oct 2020 Device: Kobo Libra H2O | Quote: 
   | |
|   |   | 
|  10-02-2020, 04:28 AM | #2328 | |
| Addict            Posts: 387 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. | |
|   |   | 
|  10-02-2020, 04:46 AM | #2329 | |
| Junior Member  Posts: 2 Karma: 10 Join Date: Oct 2020 Device: Kobo Libra H2O | Quote: 
   | |
|   |   | 
|  10-02-2020, 06:02 AM | #2330 | 
| Resident Curmudgeon            Posts: 80,741 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | 
			
			With Calibre 5.1,the KoboTouchExtended driver has vanished. And that's without installing the latest beta.
		 | 
|   |   | 
|  10-02-2020, 06:08 AM | #2331 | 
| Grand Sorcerer            Posts: 24,905 Karma: 47303824 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
		 | 
|   |   | 
|  10-02-2020, 06:19 AM | #2332 | 
| Well trained by Cats            Posts: 31,249 Karma: 61360164 Join Date: Aug 2009 Location: The Central Coast of California Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A | |
|   |   | 
|  10-02-2020, 02:56 PM | #2333 | 
| Bibliophagist            Posts: 48,088 Karma: 174315300 Join Date: Jul 2010 Location: Vancouver Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos | 
			
			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 03:13 PM. | 
|   |   | 
|  10-02-2020, 10:01 PM | #2334 | 
| Grand Sorcerer            Posts: 24,905 Karma: 47303824 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.
		 | 
|   |   | 
|  10-03-2020, 12:30 AM | #2335 | 
| Custom User Title            Posts: 11,351 Karma: 79528341 Join Date: Oct 2018 Location: Canada Device: Kobo Libra H2O, formerly 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.
		 | 
|   |   | 
|  10-03-2020, 12:39 AM | #2336 | 
| Bibliophagist            Posts: 48,088 Karma: 174315300 Join Date: Jul 2010 Location: Vancouver Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos | 
			
			The deletion of the KoboTouchExtended driver does not automatically re-enable the standard KoboTouch driver so basically, you had no Kobo driver.
		 | 
|   |   | 
|  10-03-2020, 12:49 AM | #2337 | 
| Grand Sorcerer            Posts: 24,905 Karma: 47303824 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 01:20 AM. Reason: Removed beta as problem it was testing as been solved elsewhere | 
|   |   | 
|  10-03-2020, 01:06 AM | #2338 | |
| Bibliophagist            Posts: 48,088 Karma: 174315300 Join Date: Jul 2010 Location: Vancouver Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos | 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>) | |
|   |   | 
|  10-03-2020, 02:00 AM | #2339 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 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.
		 | 
|   |   | 
|  10-03-2020, 03:09 AM | #2340 | |
| Grand Sorcerer            Posts: 24,905 Karma: 47303824 Join Date: Jul 2011 Location: Sydney, Australia Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos | Quote: 
 Also, the released version is working here with the 5.1.1 beta. Or at least the portable version of the beta. Last edited by davidfor; 10-10-2020 at 01:19 AM. Reason: Removed beta as problem it was testing as been solved elsewhere | |
|   |   | 
|  | 
| 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 05:24 PM | 
| [Device Plugin] Kindle 2, 3, 4, Touch Device Interface MBP Update Mod | cryzed | Plugins | 7 | 10-28-2012 04:58 PM | 
| [Device Interface Plugin] Update for Nook Color Driver | jmricker | Plugins | 0 | 10-22-2011 10:11 AM | 
| Touch Kobo Touch Extended 2 Year Warranty - Is it worth the $34.99? | EverC | Kobo Reader | 11 | 08-31-2011 11:47 PM | 
| Touch Kobo Touch Extended Warranty Program | SensualPoet | Kobo Reader | 1 | 07-17-2011 04:08 AM |