View Single Post
Old 10-29-2021, 04:54 PM   #2
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,741
Karma: 30237526
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Try installing 5.31.1

5.31.1 fixes a bug in an HTML serialization library calibre uses that broke a few things, such as the comments editor tool in the metadata dialog

BR



Quote:
Originally Posted by lrpirlet View Post
I just installed calibr 5.31.1 to verify if my modified pluggin is working...

the debug startup looks as follow:
Code:
calibre Journal de débogage
calibre 5.31 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: fr
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 44, 0) && Package KFX (from KFX Input) (1, 44, 0) && Babelio (0, 4, 2) && Find Duplicates (1, 8, 10) && KFX metadata reader (from KFX Input) (1, 44, 0) && KFX Input (1, 44, 0) && Set KFX metadata (from KFX Output) (1, 56, 0) && KFX Output (1, 56, 0) && KePub Input (3, 4, 3) && KePub Metadata Reader (3, 4, 3) && KePub Metadata Writer (3, 4, 3) && KePub Output (3, 5, 3) && Kindle Collections (1, 7, 29) && Kindle hi-res covers (0, 5, 0) && Kobo Books (1, 8, 2) && Kobo Utilities (2, 14, 1) && KoboTouchExtended (3, 5, 3) && Manage Series (1, 2, 11) && View Manager (1, 6, 0) && Wiki Reader (2, 2, 1) && noosfere DB (0, 9, 0)
calibre 5.31 [64bit]  embedded-python: True is64bit: True
Windows-10-10.0.19041 Windows ('64bit', 'WindowsPE')
('Windows', '10', '10.0.19041')
Python 3.8.5
Windows: ('10', '10.0.19041', '', 'Multiprocessor Free')
Interface language: fr
Successfully initialized third party plugins: Gather KFX-ZIP (from KFX Input) (1, 44, 0) && Package KFX (from KFX Input) (1, 44, 0) && Babelio (0, 4, 2) && Find Duplicates (1, 8, 10) && KFX metadata reader (from KFX Input) (1, 44, 0) && KFX Input (1, 44, 0) && Set KFX metadata (from KFX Output) (1, 56, 0) && KFX Output (1, 56, 0) && KePub Input (3, 4, 3) && KePub Metadata Reader (3, 4, 3) && KePub Metadata Writer (3, 4, 3) && KePub Output (3, 5, 3) && Kindle Collections (1, 7, 29) && Kindle hi-res covers (0, 5, 0) && Kobo Books (1, 8, 2) && Kobo Utilities (2, 14, 1) && KoboTouchExtended (3, 5, 3) && Manage Series (1, 2, 11) && View Manager (1, 6, 0) && Wiki Reader (2, 2, 1) && noosfere DB (0, 9, 0)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 117.58408679927668 x 117.60771704180064
Using calibre Qt style: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.41] splash screen shown
[0.41] Initializing db...
[0.42] db initialized
[0.42] Constructing main UI...
DEBUG:    0.0 KoboUtilites::action.py - loading translations
DEBUG:    0.0 KoboUtilites::dialogs.py - loading translations
DEBUG:    0.0 KoboUtilites::action.py - loading translations
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

Pilote : KoboTouchExtended'
[1.12] main UI initialized...
[1.12] Hiding splash screen
Starting QuickView
[7.25] splash screen hidden
[7.25] Started up in 7.25 seconds with 345 books

Well, I wonder what is going on...
I select a line in calibre
right click to display edit metadata then edit metadata one book at the time
A new windows pops-up...

I do NOT download ANY metadata...

In the comment (tab "normal view")I delete everything end enter:
Code:
line 1
line 2
I press tab "HTML source" to find:
Code:
<div>
<p>line 1</p>
<p>line 2</p></body></html>

<p>line 2</p></body></html>
</div>
When I get back to "normal view" tab, I get:
Code:
line 1
line 2 
line 2
Hitting the normal view tab and HTML tab alternatively will duplicate/increase the content... I got to the point that calibre crashed due to lack of memory in editor.py

I have not find this reported... I have not observed this behavior in calibre 5.29, the version I was using previously...

I doubt that this behavior is tied with my particular set of books, however, I am quite puzzled when some books seems NOT to be affected at all...

Question: I need to deinstall calibre 5.31 to reinstall 5.29... Will I loose any setup by doing so???

Warning. I hope I was complete in reporting my problem as I will not be able to access my computer before next tuesday or wednesday next week.
BetterRed is offline   Reply With Quote