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 07-09-2021, 01:58 PM   #2566
redlob
Connoisseur
redlob began at the beginning.
 
redlob's Avatar
 
Posts: 65
Karma: 10
Join Date: Jul 2010
Location: The Netherlands
Device: Kobo Glo HD, Kobo Aura H2O edition 2, Kobo Libra 2
Quote:
Originally Posted by DNSB View Post
See the first message in this thread if calibre has not noticed you that a new version of the Kobo Touch Extended driver is available. See message #2556 for the release announcement.
Whoops, totally missed that. I installed 3.5.1 now, restarted Calibre but it still crashes.

I noticed a pattern though.

Say I have 20 books. I send the first 10 books to the device and all is well. When I send the last 10 books, Calibre crashes.

After restarting Calibre I tried to send those last 10 books first because I suspected one of them might be corrupt, but all went well. Then I sent the first 10 books and Calibre crashed again.

When I send them one by one, all is fine.

Last edited by redlob; 07-09-2021 at 02:01 PM.
redlob is offline   Reply With Quote
Old 07-17-2021, 05:16 PM   #2567
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
New version posted, fixing an issue with exceptions being thrown in subprocesses when functions should have simply returned instead.
jgoguen is offline   Reply With Quote
Old 07-17-2021, 05:17 PM   #2568
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
Quote:
Originally Posted by redlob View Post
Whoops, totally missed that. I installed 3.5.1 now, restarted Calibre but it still crashes.

I noticed a pattern though.

Say I have 20 books. I send the first 10 books to the device and all is well. When I send the last 10 books, Calibre crashes.
This sounds like it might be tough to replicate, but can you restart calibre in debug mode, reproduce the problem, and paste your debug log?
jgoguen is offline   Reply With Quote
Old 07-18-2021, 04:46 PM   #2569
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,012
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Quote:
Originally Posted by DNSB View Post
See the first message in this thread if calibre has not noticed you that a new version of the Kobo Touch Extended driver is available. See message #2556 for the release announcement.
For what it matters, the plugin page is still showing 3.4.4. I think i recall something about a scraper updating that page so I wonder if something broke.
ownedbycats is offline   Reply With Quote
Old 07-18-2021, 05:06 PM   #2570
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,410
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by ownedbycats View Post
For what it matters, the plugin page is still showing 3.4.4. I think i recall something about a scraper updating that page so I wonder if something broke.
Not sure if this has anything to do with it, but the plugins I checked had the version in the __init__.py file while the KTE and Kepub Output have the version in common.py. This likely is not the issue since I vaguely remember the version is now supposed to be updated from the spoiler in the first post.

Last edited by DNSB; 07-18-2021 at 05:12 PM. Reason: change supposed to now supposed
DNSB is offline   Reply With Quote
Old 07-18-2021, 05:12 PM   #2571
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
There was an issue with the version being indirect a while back but Kovid fixed that. There's a thread in the main calibre forum asking about this in case it's a problem again.
jgoguen is offline   Reply With Quote
Old 07-18-2021, 05:14 PM   #2572
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,086
Karma: 91577715
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
The version spoiler in the first post is used and must be formatted exactly as expected with the content indented. That is not the case for this plugin.
jhowell is online now   Reply With Quote
Old 07-18-2021, 05:15 PM   #2573
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
What's wrong with it? In the editor it's formatted the same as previous versions that work.
jgoguen is offline   Reply With Quote
Old 07-18-2021, 05:20 PM   #2574
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,410
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by jhowell View Post
The version spoiler in the first post is used and must be formatted exactly as expected with the content indented. That is not the case for this plugin.
Looking at a couple of other plugins, the content is not indented though the comments are in lists.
DNSB is offline   Reply With Quote
Old 07-18-2021, 05:23 PM   #2575
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,449
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by jhowell View Post
The version spoiler in the first post is used and must be formatted exactly as expected with the content indented. That is not the case for this plugin.
I think that the version in the zip file is used, but I could easily be wrong.
chaley is offline   Reply With Quote
Old 07-18-2021, 06:21 PM   #2576
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,749
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by chaley View Post
I think that the version in the zip file is used, but I could easily be wrong.
Yep - the plugin index was simplified in Nov 2020. However the Updater has sourced the version number, author etc from the plugin's __init__,py modules for much longer than that, sample attached.

BR
Attached Files
File Type: zip __init__.zip (744 Bytes, 152 views)

Last edited by BetterRed; 07-18-2021 at 06:27 PM.
BetterRed is offline   Reply With Quote
Old 07-18-2021, 06:27 PM   #2577
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,449
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
Yep - the plugin index was simplified in Nov 2020. However the Updater has sourced the version number, author etc from the plugin's __init__,py modules for much longer than that, sample attached.

BR
Reading the source, it appears that the updater looks at __init__.py for the reference to a plugin base class. If it doesn't find it then then it looks at the imports. Once it finds a class that inherits from a plugin base class then it looks in that class for the author/version info.

My problem is that I can't actually see what the updater generates so I am not sure of my assertions.

Last edited by chaley; 07-18-2021 at 06:35 PM. Reason: simplification
chaley is offline   Reply With Quote
Old 07-18-2021, 07:10 PM   #2578
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,749
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by chaley View Post
Reading the source, it appears that the updater looks at __init__.py for the reference to a plugin base class. If it doesn't find it then then it looks at the imports. Once it finds a class that inherits from a plugin base class then it looks in that class for the author/version info.

My problem is that I can't actually see what the updater generates so I am not sure of my assertions.
This plugin's __init__.py file is nothing like the one I posted.

BR
BetterRed is offline   Reply With Quote
Old 07-18-2021, 09:24 PM   #2579
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,410
Karma: 169098492
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
@BetterRed: So moving the version information into __init__.py should correct the issues that are being seen?

Looking at the information in the Index of Plugins thread, I found it rather unclear whether the information was still being extracted from the plugin.zip file or was being scraped from the Version History spoiler.

To wit:

Quote:
The index underwent a format revision in late November 2020 to remove the fields that are extracted from the plug-ins themselves, viz:

Last edited by DNSB; 07-18-2021 at 09:28 PM.
DNSB is offline   Reply With Quote
Old 07-19-2021, 04:49 AM   #2580
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,449
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by BetterRed View Post
This plugin's __init__.py file is nothing like the one I posted.

BR
It isn't necessary to put the information in __init__.py. It must be in the plugin subclass. I think that the subclass must be imported by __init__.py, but I am not sure of that.
chaley 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 06:10 PM.


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