![]() |
#2161 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,087
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
I believe that the code that parses it expects a colon after the word History. (I was mistaken about that. It needs something specific in the HTML of the post and is not finding it.) Last edited by jhowell; 06-16-2020 at 05:12 PM. |
|
![]() |
![]() |
![]() |
#2162 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Both the KePub Output plugin and the KoboTouchExtended are showing as 3.2.7 as the available versions.
|
![]() |
![]() |
![]() |
#2163 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
Quote:
Last edited by droopy; 06-16-2020 at 05:18 PM. |
|
![]() |
![]() |
![]() |
#2164 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,087
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
|
![]() |
![]() |
![]() |
#2165 |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
|
|
![]() |
![]() |
![]() |
#2166 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,384
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
version history is not parsed at all. The current version is taken from __init__.py in the plugin zip file in the first post.
|
![]() |
![]() |
![]() |
#2167 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 46,445
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Interesting. The KTE __init__.py has no version information, the JobSpy __init__.py has a line reading "version = (1, 0, 183)" and FFF has "version = __version__" and "__version__ = (3, 20, 1)".
|
![]() |
![]() |
![]() |
#2168 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,384
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This should take care of it: https://github.com/kovidgoyal/calibr...b270e6805bef51
|
![]() |
![]() |
![]() |
#2169 |
Generally Awesome Person
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,100
Karma: 2191133
Join Date: Jan 2013
Location: /dev/kmem
Device: Kobo Clara HD, Kindle Oasis
|
Interesting, I did not expect Python would do anything other than have KOBOTOUCHEXTENDED.version be a tuple!
More interestingly, other than that I haven't changed how I'm setting the plugin version. It's been a class attribute of KOBOTOUCHEXTENDED since the first release. But it sounds like that shouldn't have worked in the first place? Last edited by jgoguen; 06-16-2020 at 11:56 PM. |
![]() |
![]() |
![]() |
#2170 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,384
Karma: 27756918
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
This doesnt have anything to do with python. Its unsafe to execute arbitrary python, so the plugin mirroring service instead has an adhoc parser that I wrote based on the python stdlib ast module to extract plugin metadata from __init__.py, without needing to execute anything. Over the years as plugin developers have gotten more creative in how they choose to define versions the parser has had to support more and more python syntax. In this case, it was tripping up on import common and version = common.WHATEVER if you had instead done from common import WHATEVER version = WHATEVER it would have worked, already, but no big deal, since the fix was fairly simple.
|
![]() |
![]() |
![]() |
#2171 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,796
Karma: 146391129
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
After the fix, I now have 4 plugin updates that I didn't have yesterday.
|
![]() |
![]() |
![]() |
#2172 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,055
Karma: 11391181
Join Date: Mar 2013
Location: Guben, Brandenburg, Germany
Device: Kobo Clara 2E, Tolino Shine 3
|
I just updated to v. 3.2.9, Calibre V. 4.18 (64 bit), Windows 10. At transferring a book to the device, I receive:
Code:
calibre, version 4.18.0 FEHLER: Fehler: Fehler beim Kommunizieren mit dem Gerät 'module' object has no attribute 'KEPubContainer' Traceback (most recent call last): File "site-packages\calibre\gui2\device.py", line 90, in run File "site-packages\calibre\gui2\device.py", line 594, in _upload_books File "calibre_plugins.kobotouch_extended.device.driver", line 397, in upload_books File "site-packages\calibre\devices\kobo\driver.py", line 2121, in upload_books File "calibre_plugins.kobotouch_extended.device.driver", line 215, in _modify_epub AttributeError: 'module' object has no attribute 'KEPubContainer' |
![]() |
![]() |
![]() |
#2173 | |
Member
![]() Posts: 16
Karma: 10
Join Date: Oct 2018
Device: Kobo Forma 32GB
|
Quote:
I have the exact same issue after the update. |
|
![]() |
![]() |
![]() |
#2174 | |
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 50
Karma: 14208
Join Date: Apr 2017
Device: Kobo Aura One, Kobo Forma
|
Quote:
Same issue after updating the driver here too. |
|
![]() |
![]() |
![]() |
#2175 |
Member
![]() Posts: 10
Karma: 10
Join Date: Jul 2010
Location: Amsterdam
Device: Kobo Sage/ Kobo Elipsa
|
Me too. Is there anyway to revert to the old plugin?
|
![]() |
![]() |
![]() |
Tags |
error, kobo aura one |
|
![]() |
||||
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 |