![]() |
#1 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,349
Karma: 203720150
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. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,168
Karma: 27110894
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 | |
|
![]() |
#3 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,349
Karma: 203720150
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. ![]() |
|
![]() |
![]() |
![]() |
#4 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 7,017
Karma: 90000009
Join Date: Nov 2011
Location: Charlottesville, VA
Device: Kindles
|
Quote:
https://www.mobileread.com/forums/sho...d.php?t=273208 |
|
![]() |
![]() |
![]() |
#5 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 28,349
Karma: 203720150
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Conversion Output] KePub Output Plugin | jgoguen | Plugins | 588 | 03-28-2025 02:26 PM |
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 |