11-07-2017, 02:38 PM | #1 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
Errors spotted when starting calibre in debug mode
Windows 10 and calibre v3.11.1 run from source...
I was doing some work on my plugins today and needed to test something in debug mode. On calibre start up I saw 17 repeated occurrences of this warning: Code:
libpng warning: iCCP: known incorrect sRGB profile Code:
Traceback (most recent call last): File "site-packages\calibre\gui2\cover_flow.py", line 145, in subtitle File "site-packages\calibre\gui2\cover_flow.py", line 105, in render_template AttributeError: 'DatabaseImages' object has no attribute 'template_cache' |
11-07-2017, 05:54 PM | #2 |
Grand Sorcerer
Posts: 24,907
Karma: 47303748
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
The libpng warnings are probably from plugins loading icons. Someone in one of my plugin threads pointed out there was a problem with a few of the icons and supplied replacements. That reduced the errors a lot. I haven't gone looking to see which are causing the rest of the errors.
|
Advert | |
|
11-07-2017, 08:55 PM | #3 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The libpng warning means some images used somewhere dont have correct srgb profiles and is perfectly harmless. The other error is a transient one at startup that should be fixed by https://github.com/kovidgoyal/calibr...ef79bb74555daf
|
11-08-2017, 08:17 AM | #4 |
Grand Sorcerer
Posts: 6,212
Karma: 16534894
Join Date: Sep 2009
Location: UK
Device: Kobo: KA1, ClaraHD, Forma, Libra2, Clara2E. PocketBook: TouchHD3
|
OK. Thanks. A bit of googling showed me how to reduce the libpng warnings by fixing some of the icons in my plugins and config resources/images.
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to start Calibre on Windows in debug mode | hakan42 | Development | 9 | 04-10-2024 05:34 PM |
Errors Starting Calibre 3.0 in Linux Mint 18 | MontyJ | Calibre | 26 | 11-04-2017 06:43 PM |
How do you get out of debug mode? | Rellwood | Calibre | 3 | 08-01-2016 08:34 PM |
Run Calibre in Debug Mode Output to File | toomuchreading | Calibre | 1 | 03-07-2016 04:58 PM |
Regarding the conversion in debug mode of calibre user manual | kevin4fly | Recipes | 2 | 06-10-2015 09:23 AM |