Register Guidelines E-Books Today's Posts Search

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

Notices

Reply
 
Thread Tools Search this Thread
Old 06-16-2020, 04:32 PM   #2161
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,087
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by DNSB View Post
Nothing in the version history spoiler for KTE or Kepub Output looks different from previous versions or the version history for other plugins so you guess is as good as mine as to why it is not being scraped.
The Version History may look the same to you, but it is not formatted in the correct way currently.

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.
jhowell is offline   Reply With Quote
Old 06-16-2020, 04:37 PM   #2162
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: 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.
JSWolf is offline   Reply With Quote
Old 06-16-2020, 05:15 PM   #2163
droopy
Guru
droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.
 
Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
Quote:
Originally Posted by jhowell View Post
The Version History may look the same to you, but it is not formatted in the correct way currently.

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.)
Is this why, even after yesterday's release, the version is still 3.2.7 in my Calibre program?

Last edited by droopy; 06-16-2020 at 05:18 PM.
droopy is offline   Reply With Quote
Old 06-16-2020, 06:18 PM   #2164
jhowell
Grand Sorcerer
jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.jhowell ought to be getting tired of karma fortunes by now.
 
jhowell's Avatar
 
Posts: 7,087
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
Quote:
Originally Posted by droopy View Post
Is this why, even after yesterday's release, the version is still 3.2.7 in my Calibre program?
Yes. Hopefully it will be corrected soon.

If you want the update immediately you can download the new version from the first post of this thread and install it manually.
jhowell is offline   Reply With Quote
Old 06-16-2020, 06:42 PM   #2165
droopy
Guru
droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.droopy ought to be getting tired of karma fortunes by now.
 
Posts: 834
Karma: 2912460
Join Date: Apr 2009
Device: Kobo Forma
Quote:
Originally Posted by jhowell View Post
Yes. Hopefully it will be corrected soon.

If you want the update immediately you can download the new version from the first post of this thread and install it manually.
too tricky for newbie me I think I can wait for the fix.
droopy is offline   Reply With Quote
Old 06-16-2020, 10:43 PM   #2166
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 06-16-2020, 10:55 PM   #2167
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,445
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by kovidgoyal View Post
version history is not parsed at all. The current version is taken from __init__.py in the plugin zip file in the first post.
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)".
DNSB is offline   Reply With Quote
Old 06-16-2020, 11:30 PM   #2168
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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
kovidgoyal is offline   Reply With Quote
Old 06-16-2020, 11:52 PM   #2169
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,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.
jgoguen is offline   Reply With Quote
Old 06-17-2020, 12:03 AM   #2170
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
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.
kovidgoyal is offline   Reply With Quote
Old 06-17-2020, 04:40 AM   #2171
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: 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.
JSWolf is offline   Reply With Quote
Old 06-17-2020, 06:34 AM   #2172
Leonatus
Wizard
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: 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'
This occurring with any book I try to transfer. Could someone help, please?
Leonatus is offline   Reply With Quote
Old 06-17-2020, 08:12 AM   #2173
mathieulh
Member
mathieulh began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Oct 2018
Device: Kobo Forma 32GB
Quote:
Originally Posted by Leonatus View Post
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'
This occurring with any book I try to transfer. Could someone help, please?

I have the exact same issue after the update.
mathieulh is offline   Reply With Quote
Old 06-17-2020, 08:36 AM   #2174
Lusephur
Connoisseur
Lusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshesLusephur can read faster than his screen refreshes
 
Posts: 50
Karma: 14208
Join Date: Apr 2017
Device: Kobo Aura One, Kobo Forma
Quote:
Originally Posted by Leonatus View Post
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'
This occurring with any book I try to transfer. Could someone help, please?

Same issue after updating the driver here too.
Lusephur is offline   Reply With Quote
Old 06-17-2020, 10:17 AM   #2175
khoogeland
Member
khoogeland began at the beginning.
 
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?
khoogeland is offline   Reply With Quote
Reply

Tags
error, kobo aura one


Forum Jump

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


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


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