|
|
#1 |
|
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 183
Karma: 1720
Join Date: Feb 2009
Location: Canada
Device: PRS-T1, Kobo Libre Color
|
Run Calibre in Debug Mode Output to File
I'm having an intermittent problem, and wold like to start up Calibre every time in debug mode so I can post what's going on.
Are there any parameters that I can add to my shortcut to have Calibre start up in debug mode, like it does when you restart Calibre in debug mode from preferences? I'd like to run right from the get go in debug mode with the output going to a text file, since, every time I restart Calibre in debug mode, the problem goes away. It always goes away when I restart Calibre, whether in debug mode or not, so I'd like to start up in debug mode to begin with. I'd like to try to capture a few failures to see what is going on if I can... |
|
|
|
|
|
#2 |
|
Ex-Helpdesk Junkie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
|
All you need to do is start calibre with the command "calibre-debug -g" and optionally redirect that to a file.
I use linux, so it is easy to override calibre's startup command with a shellscript in ~/bin/calibre : Code:
#!/bin/bash
if [ $# -eq 0 ] || [[ "$1" = "--detach" ]]; then
echo -e "\n\n\nStarting calibre at $(date).\n\n\n" >> /tmp/calibre-debug-$USER.log 2>&1
calibre-debug -g 2>&1 | tee -a /tmp/calibre-debug-$USER.log
else
/usr/bin/calibre $@
fi
[eschwartz@vostro ~/git/pkgbuilds]$
Code:
calibre-debug -g > %TEMP%\calibre-debug-%USERNAME%.log |
|
|
|
| Advert | |
|
|
![]() |
| Thread Tools | Search this Thread |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How to start Calibre on Windows in debug mode | hakan42 | Development | 9 | 04-10-2024 06:34 PM |
| Regarding the conversion in debug mode of calibre user manual | kevin4fly | Recipes | 2 | 06-10-2015 10:23 AM |
| Does anyone know how to read a Calibre debug log file? | TomOnMobread | Calibre | 7 | 12-11-2012 02:57 PM |
| Calibre debug file | meme | Calibre | 7 | 02-01-2011 05:45 PM |
| Hanvon N526 - Debug Output | paralax | Calibre | 0 | 08-09-2010 10:36 PM |