12-03-2016, 12:05 PM | #1 |
Grand Sorcerer
Posts: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Plugin debug output
Could someone please point me to the details about a semi-recent(ish) plugin api change concerning printing python debug output only when calibre is running in debug mode?
I remember reading it, but now I can't remember the specifics, and searching has proved fruitless so far. |
12-03-2016, 10:21 PM | #2 |
creator of calibre
Posts: 43,852
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
from calibre.constants import DEBUG
if DEBUG: print(...) There is no change, as ras as I know it has always been like that |
Advert | |
|
12-03-2016, 11:07 PM | #3 | |
Grand Sorcerer
Posts: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
In all honesty, I was just flailing for solutions to the KindleUnpack plugin issue before I tracked it down to the aboutToShow() signal in the other thread. |
|
12-04-2016, 08:21 AM | #4 | |
Grand Sorcerer
Posts: 6,496
Karma: 84420419
Join Date: Nov 2011
Location: Tampa Bay, Florida
Device: Kindles
|
Quote:
https://www.mobileread.com/forums/sho...d.php?t=273208 |
|
12-04-2016, 09:12 AM | #5 | |
Grand Sorcerer
Posts: 27,548
Karma: 193191846
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Conversion Output] KePub Output Plugin | jgoguen | Plugins | 551 | 07-18-2023 06:22 AM |
Run Calibre in Debug Mode Output to File | toomuchreading | Calibre | 1 | 03-07-2016 04:58 PM |
Cannot connect Galaxy SII (with debug output) | Andor | Devices | 4 | 02-26-2012 01:10 AM |
TXT to EPUB conversion hangs, no debug output generated | TheRealRalph | Conversion | 1 | 01-21-2012 08:18 AM |
Hanvon N526 - Debug Output | paralax | Calibre | 0 | 08-09-2010 09:36 PM |