08-24-2018, 05:59 AM | #1 |
Enthusiast
Posts: 43
Karma: 70238
Join Date: Jun 2014
Device: none
|
how to exit calibre-debug
Code:
me@home:~$ calibre-debug Welcome to the interactive calibre shell! >>> exit() NameError: name 'exit' is not defined >>> quit() NameError: name 'quit' is not defined >>> exit NameError: name 'exit' is not defined >>> quit NameError: name 'quit' is not defined >>> let_met _out!() SyntaxError: invalid syntax >>> ctrl-c gets me out, but destroys my term as well. Last edited by botmtl; 08-24-2018 at 06:02 AM. |
08-24-2018, 06:42 AM | #2 |
creator of calibre
Posts: 44,334
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
exit
. |
Advert | |
|
08-24-2018, 02:17 PM | #3 |
Enthusiast
Posts: 43
Karma: 70238
Join Date: Jun 2014
Device: none
|
I tried both exit() and exit. Nada. CALIBRE_DEVELOP_FROM is not set.
Last edited by botmtl; 08-26-2018 at 01:16 AM. |
08-24-2018, 11:15 PM | #4 |
creator of calibre
Posts: 44,334
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Try
sys.exit() or raise SystemExit() |
08-26-2018, 01:15 AM | #5 |
Enthusiast
Posts: 43
Karma: 70238
Join Date: Jun 2014
Device: none
|
both sys.exit() and raise SystemExit() work, thank you.
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Cannot run calibre-debug -g | Chaaang | Development | 6 | 05-26-2017 06:10 AM |
Best way to debug Calibre crash? | DMcCunney | Devices | 8 | 05-14-2017 09:23 PM |
Ctrl-Shft-R Debug vs calibre-debug -g | JimmXinu | Development | 3 | 11-20-2014 09:57 AM |
How to properly exit Calibre | wahoo123 | Calibre | 4 | 11-26-2012 11:07 AM |
Calibre debug file | meme | Calibre | 7 | 02-01-2011 04:45 PM |