Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 01-16-2026, 09:07 PM   #421
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: 49,627
Karma: 174632684
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by jackie_w View Post
I am unable to see the bookshelf at all in calibre portable v8.99.6. I do have an error in bookshelf_view.py as soon as I open calibre.

Spoiler:
Code:
DEBUG:    0.5 No Kobo Touch, Glo or Mini appears to be connected
DEBUG:    0.5 rebuild_menus - self.supports_ratings=None, self.supports_tiles=None
DEBUG:    0.5 KoboUtilities:set_toolbar_button_tooltip - start: text='None'
DEBUG:    0.5 KoboUtilities:set_toolbar_button_tooltip - setting to text='Utilities to use with Kobo ereaders

Driver: KTExtra'
[0.75] main UI initialized...
Out of a perhaps morbid curiosity, how did you get the KTExtra driver to show? On my 8.99.6 *, I can not install the KTE driver never mind have it show as the installed driver.
DNSB is offline   Reply With Quote
Old 01-16-2026, 09:32 PM   #422
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,294
Karma: 16800000
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by JSWolf View Post
You do have a problem with KTExtra. It looks like the same error KoboTouch has.
The debug log I posted shows no errors in KTExtra (a personal plugin), so I've no idea what you're talking about.

Apart from one of those "future warnings" from the Extract ISBN plugin I see only one error and it's clearly related to Bookshelf code, namely bookshelf_view.py (i.e. nothing to do with KoboTouch) and you tell me this is already fixed. I'm not running from source so can't confirm the fix until there's a new release of calibre portable.
jackie_w is offline   Reply With Quote
Old 01-16-2026, 10:08 PM   #423
jackie_w
Grand Sorcerer
jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.jackie_w ought to be getting tired of karma fortunes by now.
 
Posts: 6,294
Karma: 16800000
Join Date: Sep 2009
Location: UK
Device: ClaraHD, Forma, Libra2, Clara2E, LibraCol, PBTouchHD3
Quote:
Originally Posted by DNSB View Post
Out of a perhaps morbid curiosity, how did you get the KTExtra driver to show? On my 8.99.6 *, I can not install the KTE driver never mind have it show as the installed driver.
KTExtra is a personal plugin which started out as KoboTouchExtended, many years ago, then morphed into a kind of Kobo driver sandpit for adding some whim features (which seemed like a good idea at the time ) and removing some original features I thought were pointless and/or unhelpful.

When KoboTouchExtended got blacklisted I was initially horrified because I'd grown attached to some of those whims, so I had to re-work everything under a new, not-blacklisted name, hence KTExtra. Took a while but I got there in the end.
jackie_w is offline   Reply With Quote
Old 01-16-2026, 10:09 PM   #424
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,777
Karma: 80104644
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Quote:
Originally Posted by DNSB View Post
That is a Python error. As the error message says, the updated Python 3.14.2 in the calibre beta does not support the \x string format. This will need to be fixed in the plugins.
The error only affects command line / testing usage of the plugin.

@jswolf the thing to remember is that python "processes" all the source in the plugin file when it's loaded into calibre, so errors like this are not necessarily in code that will be executed.
PeterT is offline   Reply With Quote
Old 01-16-2026, 10:58 PM   #425
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,880
Karma: 29151636
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
The prototype version use it, but Kovid drop it when he reworked the shelf to what is this now. The main reason I suspect is because the shelf is become pretty heavy rendering process, but I'd rather not go into speculation about that, it's Kovid domain. Personaly I'm okay with that.
The shelves and case back are textured and shadowed, to give more of a feel of physical shelves. Trying to allow arbitrary colors/textures with that is waaay too much work.
kovidgoyal is online now   Reply With Quote
Old 01-17-2026, 03:08 AM   #426
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: 49,627
Karma: 174632684
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by jackie_w View Post
KTExtra is a personal plugin which started out as KoboTouchExtended, many years ago, then morphed into a kind of Kobo driver sandpit for adding some whim features (which seemed like a good idea at the time ) and removing some original features I thought were pointless and/or unhelpful.

When KoboTouchExtended got blacklisted I was initially horrified because I'd grown attached to some of those whims, so I had to re-work everything under a new, not-blacklisted name, hence KTExtra. Took a while but I got there in the end.
Thanks for the explanation. I was wondering where KTExtra came from.
DNSB is offline   Reply With Quote
Old 01-17-2026, 03:10 AM   #427
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: 49,627
Karma: 174632684
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by DNSB View Post
That is a Python error. As the error message says, the updated Python 3.14.2 in the calibre beta does not support the \x string format. This will need to be fixed in the plugins.
Minor correction. Python 3.14.2 still supports that syntax but it is not going to be supported in some future version. This does give time to fix the plugins that use that form.
DNSB is offline   Reply With Quote
Old 01-17-2026, 08:04 AM   #428
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: 81,656
Karma: 150265991
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by jackie_w View Post
The debug log I posted shows no errors in KTExtra (a personal plugin), so I've no idea what you're talking about.

Apart from one of those "future warnings" from the Extract ISBN plugin I see only one error and it's clearly related to Bookshelf code, namely bookshelf_view.py (i.e. nothing to do with KoboTouch) and you tell me this is already fixed. I'm not running from source so can't confirm the fix until there's a new release of calibre portable.
Here is the fix...
Quote:
Originally Posted by kovidgoyal View Post
JSWolf is offline   Reply With Quote
Old 01-17-2026, 08:42 AM   #429
DisabledReader
Member
DisabledReader began at the beginning.
 
DisabledReader's Avatar
 
Posts: 14
Karma: 10
Join Date: Apr 2024
Location: England
Device: Amazon Fire 7 (2022 Version) & FBReader Premium
Quote:
Originally Posted by kovidgoyal View Post
Hmm well only way forward I can see is to disable the plugins one byone till we find the conflicting one.
I have spent this morning disabling and deleting plugins in my beta test installation and still haven't been able to pinpoint the problem.
But, if you can add a restart option after changes are made to Shelf height in the bookshelf view, then the freeze/crash doesn't happen.
I hope this helps.
DisabledReader is offline   Reply With Quote
Old 01-17-2026, 09:23 AM   #430
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,880
Karma: 29151636
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Quote:
Originally Posted by DisabledReader View Post
I have spent this morning disabling and deleting plugins in my beta test installation and still haven't been able to pinpoint the problem.
But, if you can add a restart option after changes are made to Shelf height in the bookshelf view, then the freeze/crash doesn't happen.
I hope this helps.
Thanks for trying. I did find one deadlock but no crashes, let's see if the deadlock fix helps your crash as well.
kovidgoyal is online now   Reply With Quote
Old 01-17-2026, 09:53 AM   #431
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: 81,656
Karma: 150265991
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by DNSB View Post
Minor correction. Python 3.14.2 still supports that syntax but it is not going to be supported in some future version. This does give time to fix the plugins that use that form.
Code:
calibre_plugins.count_pages.statistics:415: SyntaxWarning: "\D" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\D"? A raw string is also an option.
calibre_plugins.count_pages.statistics:416: SyntaxWarning: "\D" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\D"? A raw string is also an option.
Code:
    get_cbz_page_count('''C:\Dev\Tools\eclipse\workspace\_Misc\misery-depot.zip''')
    get_cbr_page_count('''C:\Dev\Tools\eclipse\workspace\_Misc\misery-depot.cbr''')
How would this be fixed so it no longer brings up the warning?
JSWolf is offline   Reply With Quote
Old 01-17-2026, 11:51 AM   #432
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 591
Karma: 718860
Join Date: Dec 2017
Device: Kobo
Quote:
Originally Posted by JSWolf View Post
Code:
calibre_plugins.count_pages.statistics:415: SyntaxWarning: "\D" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\D"? A raw string is also an option.
calibre_plugins.count_pages.statistics:416: SyntaxWarning: "\D" is an invalid escape sequence. Such sequences will not work in the future. Did you mean "\\D"? A raw string is also an option.
Code:
    get_cbz_page_count('''C:\Dev\Tools\eclipse\workspace\_Misc\misery-depot.zip''')
    get_cbr_page_count('''C:\Dev\Tools\eclipse\workspace\_Misc\misery-depot.cbr''')
How would this be fixed so it no longer brings up the warning?
Use / instead of \
Or r'''C:\Dev\Tools\eclipse\workspace\_Misc\misery-depot.zip''' (don't forget r prefix at the start at the string, it mean is a raw string and escape sequence ar not take acount)
un_pogaz is offline   Reply With Quote
Old 01-17-2026, 12:08 PM   #433
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: 81,656
Karma: 150265991
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by un_pogaz View Post
Use / instead of \
Or r'''C:\Dev\Tools\eclipse\workspace\_Misc\misery-depot.zip''' (don't forget r prefix at the start at the string, it mean is a raw string and escape sequence ar not take acount)
Would this be correct?
Code:
    get_cbz_page_count(r'''C:\Dev\Tools\eclipse\workspace\_Misc\misery-depot.zip''')
    get_cbr_page_count(r'''C:\Dev\Tools\eclipse\workspace\_Misc\misery-depot.cbr''')
JSWolf is offline   Reply With Quote
Old 01-17-2026, 12:10 PM   #434
un_pogaz
Chalut o/
un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.un_pogaz ought to be getting tired of karma fortunes by now.
 
un_pogaz's Avatar
 
Posts: 591
Karma: 718860
Join Date: Dec 2017
Device: Kobo
Quote:
Originally Posted by JSWolf View Post
Would this be correct?
Code:
    get_cbz_page_count(r'''C:\Dev\Tools\eclipse\workspace\_Misc\misery-depot.zip''')
    get_cbr_page_count(r'''C:\Dev\Tools\eclipse\workspace\_Misc\misery-depot.cbr''')
Yes, that it.
un_pogaz is offline   Reply With Quote
Old 01-17-2026, 12:16 PM   #435
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: 81,656
Karma: 150265991
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
Quote:
Originally Posted by un_pogaz View Post
Yes, that it.
Thanks. It works. I fixed Count Page.
JSWolf is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
calibre 5: Beta testers needed kovidgoyal Calibre 497 09-29-2020 01:58 AM
Beta testers needed kovidgoyal Calibre 75 08-18-2019 08:00 PM
Beta testers for calibre 3.0 needed kovidgoyal Calibre 598 07-09-2017 11:26 PM
Beta testers needed kovidgoyal Calibre 54 05-20-2016 01:34 PM
Beta testers for calibre 2.0 needed kovidgoyal Calibre 142 05-08-2015 05:44 AM


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


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