Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 03-07-2016, 05:50 PM   #1
toomuchreading
Zealot
toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.toomuchreading once ate a cherry pie in a record 7 seconds.
 
toomuchreading's Avatar
 
Posts: 132
Karma: 1720
Join Date: Feb 2009
Location: Canada
Device: Toshiba e400, PRS-T1
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...
toomuchreading is offline   Reply With Quote
Advert
Old 03-07-2016, 05:58 PM   #2
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,223
Karma: 83049275
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]$
On Windows, you will have to start calibre from a batch file "calibre-debug.bat":
Code:
calibre-debug -g > %TEMP%\calibre-debug-%USERNAME%.log
And make sure to always start using the batch file.
eschwartz is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
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
How to start Calibre on Windows in debug mode hakan42 Development 2 09-03-2012 02:45 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


All times are GMT -4. The time now is 11:10 AM.


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