Quote:
Originally Posted by JSWolf
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
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.