View Single Post
Old 05-29-2011, 02:55 PM   #4
rozen
Member
rozen began at the beginning.
 
Posts: 19
Karma: 10
Join Date: Dec 2010
Location: CA
Device: nook
I really feel that I am overlooking something that should be obvious but I don't see the output from any print statements.

I downloaded the source into /home/rozen/cal/calibre.

The environmental variable is set:
CALIBRE_DEVELOP_FROM=/home/rozen/cal/calibre

I added

print "Hello, Don" to

/home/rozen/cal/calibre/src/calibre/__init__.py

When I run "calibredb" or "calibre-debug -g", I do not see the print output.


I also added the statement to __init__.py

x = 1 / 0

and when I run calibre-debug -g I do not get an error message.

I am sorry to bring up the same question a second time but I am flummoxed and need help with something that I should be seeing for myself.

I am running Ubuntu 10.10 and calibre 0.8.2, my device is a nook.

I am interested in writing a simple plugin as an introductory exercise and want to see some exploratory output from calibre itself. I am able to get print output from my plugin code.

Thanks in Advance,
rozen is offline   Reply With Quote