Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 06-01-2020, 03:28 PM   #1
adrianf
Enthusiast
adrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it is
 
adrianf's Avatar
 
Posts: 49
Karma: 2300
Join Date: Jul 2013
Device: iPad+MacBookPro
How to start Calibre for macOS in debug mode

I guess, there must be some combination of keys I have to press while starting my Calibre 4.17 for macOS, so that it starts in debug mode.
(1) Which is that keys combination?
(2) Where will the debug log file be saved?

In my present situation, my Calibre goes into an endless loop as soon as I click on Preferences, and has to be force-quit.

Last edited by adrianf; 06-01-2020 at 03:33 PM.
adrianf is offline   Reply With Quote
Old 06-01-2020, 06:49 PM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
Posts: 13,511
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
Check the calibre manual. See https://manual.calibre-ebook.com/gen...bre-debug.html
PeterT is offline   Reply With Quote
Old 06-01-2020, 07:04 PM   #3
adrianf
Enthusiast
adrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it is
 
adrianf's Avatar
 
Posts: 49
Karma: 2300
Join Date: Jul 2013
Device: iPad+MacBookPro
Quote:
Originally Posted by PeterT View Post
Thank you, Peter. I had already seen that page, but, as far as I understand, this debugging is only (or mainly) for developers.
My problem is, that my standard Callibre 4.17 for macOS goes into an endless loop as soon as I click on Preferences, and I have no choice, but force-quit it. I was thinking, that more knowledgeable people who might want to help me, would like to see some log file.
Am I wrong to think that the debug function is the one which produces such a log file?
adrianf is offline   Reply With Quote
Old 06-01-2020, 07:19 PM   #4
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,722
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by adrianf View Post
I guess, there must be some combination of keys I have to press while starting my Calibre 4.17 for macOS, so that it starts in debug mode.
(1) Which is that keys combination?
(2) Where will the debug log file be saved?

In my present situation, my Calibre goes into an endless loop as soon as I click on Preferences, and has to be force-quit.
See calibre-debug in Command Line Interface - it has an ignore-plugins switch.

Moderator Notice
Please don't make multiple posts on the same issue in different places - once is enough.


BR

Last edited by BetterRed; 06-01-2020 at 07:25 PM. Reason: add mod notice
BetterRed is offline   Reply With Quote
Old 06-01-2020, 08:19 PM   #5
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 892
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
To activate debug mode, I don't know if the mac will be the same keys, I could try ctrl+ shift+R
dunhill is offline   Reply With Quote
Old 06-01-2020, 08:47 PM   #6
adrianf
Enthusiast
adrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it is
 
adrianf's Avatar
 
Posts: 49
Karma: 2300
Join Date: Jul 2013
Device: iPad+MacBookPro
Quote:
Originally Posted by BetterRed View Post
See calibre-debug in Command Line Interface - it has an ignore-plugins switch.


Please don't make multiple posts on the same issue in different places - once is enough.

BR
I am sorry, I do not see in https://manual.calibre-ebook.com/generated/en/calibre-debug.html any ignore-plugins switch.
Is it called something else?
Thank you.
adrianf is offline   Reply With Quote
Old 06-01-2020, 08:51 PM   #7
adrianf
Enthusiast
adrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it is
 
adrianf's Avatar
 
Posts: 49
Karma: 2300
Join Date: Jul 2013
Device: iPad+MacBookPro
Quote:
Originally Posted by dunhill View Post
To activate debug mode, I don't know if the mac will be the same keys, I could try ctrl+ shift+R
Sorry, Dunhill, it does not work. Thanks anyway.
adrianf is offline   Reply With Quote
Old 06-01-2020, 08:54 PM   #8
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by adrianf View Post
I am sorry, I do not see in https://manual.calibre-ebook.com/generated/en/calibre-debug.html any ignore-plugins switch.
Is it called something else?
Thank you.
Interesting
It is in the main calibre CLI, but not debug
https://manual.calibre-ebook.com/gen...n/calibre.html

I think it may just be a documentation lapse
theducks is offline   Reply With Quote
Old 06-01-2020, 09:16 PM   #9
dunhill
Guru
dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.dunhill ought to be getting tired of karma fortunes by now.
 
dunhill's Avatar
 
Posts: 892
Karma: 810834
Join Date: Sep 2017
Location: Buenos Aires, Argentina
Device: moon+ reader, kindle paperwhite
Cmd+shift+R ??????
dunhill is offline   Reply With Quote
Old 06-01-2020, 09:28 PM   #10
adrianf
Enthusiast
adrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it is
 
adrianf's Avatar
 
Posts: 49
Karma: 2300
Join Date: Jul 2013
Device: iPad+MacBookPro
Quote:
Originally Posted by theducks View Post
Interesting
It is in the main calibre CLI, but not debug
https://manual.calibre-ebook.com/gen...n/calibre.html

I think it may just be a documentation lapse
In my Terminal, I am in my user folder. To which folder should I go, before trying
Code:
calibre --ignore-plugins
?
I guess,
Code:
cd /Users/kovid/work/calibre
is merely an example, but all this is not so helpful. Probably I should mention that I am on a macOS 10.14.6 machine.
I have already tried some variations, as an example
Code:
cd /Applications
calibre --ignore-plugins
but none of them worked.
What is the exact series of line commands I have to write in my Terminal?

Sorry, for the bother, and thank you everybody for your patience.
adrianf is offline   Reply With Quote
Old 06-01-2020, 09:35 PM   #11
adrianf
Enthusiast
adrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it isadrianf knows what time it is
 
adrianf's Avatar
 
Posts: 49
Karma: 2300
Join Date: Jul 2013
Device: iPad+MacBookPro
Quote:
Originally Posted by dunhill View Post
Cmd+shift+R ??????
I don't think we can infer such multi-key-commands across operating systems. Thank you, Dunhill anyway.
adrianf is offline   Reply With Quote
Old 06-01-2020, 09:51 PM   #12
gbm
Wizard
gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.gbm ought to be getting tired of karma fortunes by now.
 
Posts: 2,185
Karma: 8888888
Join Date: Jun 2010
Device: Kobo Clara HD,Hisence Sero 7 Pro RIP, Nook STR, jetbook lite
Quote:
Originally Posted by adrianf View Post
I don't think we can infer such multi-key-commands across operating systems. Thank you, Dunhill anyway.
Just open a terminal on your mac, copy paste the following:
Code:
calibre-debug -g
should get something similar to this
Quote:
$ calibre-debug -g
calibre 4.17 embedded-python: True is64bit: True
Linux-5.3.0-53-generic-x86_64-with-debian-buster-sid Linux ('64bit', 'ELF')
('Linux', '5.3.0-53-generic', '#47~18.04.1-Ubuntu SMP Thu May 7 13:10:50 UTC 2020')
Python 2.7.16
Linux: ('debian', 'buster/sid', '')
Interface language: None
Successfully initialized third party plugins: DeDRM (6, 7, 0) && Baen (1, 1, 2) && Barnes & Noble (1, 2, 15) && Quality Check (1, 9, 11) && Hyphenate This! (0, 0, 9) && Goodreads (1, 4, 0) && EpubSplit (2, 9, 0) && Reading List (1, 6, 7) && Diaps Editing Toolbag (0, 3, 6) && Modify ePub (1, 4, 1) && KindleUnpack - The Plugin (0, 82, 1)
Turning on automatic hidpi scaling
devicePixelRatio: 1.0
logicalDpi: 96.0 x 96.0
physicalDpi: 85.0837438424 x 85.184279476
Using calibre Qt terminalstyle: True
[0.00] Starting up...
[0.00] Showing splash screen...
[0.06] splash screen shown
[0.06] Initializing db...
[0.28] db initialized
[0.28] Constructing main UI...
libpng warning: iCCP: known incorrect sRGB profile
Looking for desktop notifier support from: org.freedesktop.Notifications
org.freedesktop.Notifications found in 0.0 seconds
[1.75] main UI initialized...
[1.75] Hiding splash screen
[2.24] splash screen hidden
[2.24] Started up in 2.24 seconds with 3379 books
Any errors should show in the terminal.

bernie
gbm is offline   Reply With Quote
Old 06-01-2020, 10:39 PM   #13
DNSB
Bibliophagist
DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.DNSB ought to be getting tired of karma fortunes by now.
 
DNSB's Avatar
 
Posts: 46,181
Karma: 168983734
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
Quote:
Originally Posted by adrianf View Post
What is the exact series of line commands I have to write in my Terminal?

Sorry, for the bother, and thank you everybody for your patience.
Not at a Mac at the moment but I think the following should work:

Code:
cd /Applications/calibre.app/Contents/MacOS
./calibre --ignore-plugins
Edit: Checked on my virtual Mac and the above seems to work. See attached images.
Attached Thumbnails
Click image for larger version

Name:	calibre-ignore-plugins.png
Views:	169
Size:	31.0 KB
ID:	179641   Click image for larger version

Name:	calibre-plugins.png
Views:	175
Size:	37.9 KB
ID:	179642   Click image for larger version

Name:	terminal.png
Views:	272
Size:	83.5 KB
ID:	179643  

Last edited by DNSB; 06-01-2020 at 11:17 PM.
DNSB is offline   Reply With Quote
Old 06-01-2020, 10:57 PM   #14
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,345
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Click the Preferences menu entry in to macOS toolbar, in the menu that comes up there is a restart in debug mode entry. And if you wan tto run calibre from the command line on macos, you use

Code:
/Applications/calibre.app/Contents/MacOS/calibre --ignore-plugins
kovidgoyal is offline   Reply With Quote
Old 06-02-2020, 02:53 AM   #15
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,722
Karma: 29711016
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@Kovid - according to first post when he clicks Preferences it 'goes into spin'.

BR
BetterRed is offline   Reply With Quote
Reply

Tags
debug, disable plugins


Forum Jump

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
Does calibre-portable support debug mode? badbob001 Calibre 1 04-19-2019 04:08 PM
Content server will only start in debug mode thekitehunter Server 2 12-20-2018 06:27 AM
Run Calibre in Debug Mode Output to File toomuchreading Calibre 1 03-07-2016 04:58 PM


All times are GMT -4. The time now is 09:06 AM.


MobileRead.com is a privately owned, operated and funded community.