View Single Post
Old 01-16-2026, 09:21 AM   #402
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: 690
Karma: 721246
Join Date: Dec 2017
Device: Kobo
Quote:
Originally Posted by JSWolf View Post
Thanks,

What about all of the plugin warnings? Can they be fixed? They do not show up in 8.16.2.

BTW, I'll need a new beta in order to keep testing as I don't run from source.
Quote:
Originally Posted by JSWolf View Post
I took these warnings and looked up lines 415 and 416 in statistics.py. What I found looks to me like it's a calibre issue and not a plugin issue.

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''')
Taking out those two lines caused the warnings to stop appearing.
This warning are due to the Python updating in Calibre 9. Some things previous tolerated in string syntax and escape characters will soon not longer be tolerated.
And this warnings are raise from the plugin it self, so not to calibre to fix.
un_pogaz is offline   Reply With Quote