(deleted, reported as
https://bugs.launchpad.net/calibre/+bug/1183014)
Hi,
In Calibre 0.9.31 for Mac (10.6.1 but it shouldn't matter), from the Terminal, running either "calibre.app/Contents/MacOS/ebook-viewer --debug-javascript foo.epub" or simply "ebook-viewer --debug-javascript foo.epub" after having clicked the button "Install command line tools" in Calibre's Preferences/Miscrellaneous fails with error "IOError: [Errno 2] No such file or directory: u'/Applications/calibre.app/Contents/Resources/Python/site-packages/calibre/ebooks/oeb/display/utils.coffee'". Directory "/Applications/calibre.app/Contents/Resources/Python/site-packages/calibre/ebooks/oeb/display" exists, but contains only __init__.pyo, test-cfi/run.pyo and webview.pyo.
I've downloaded the current source code with "bzr branch lp:calibre" and copied the files from src/calibre/ebooks/oeb/display to Python/site-packages/calibre/ebooks/oeb/display. No more error, and console.debug in epub's JavaScript is shown in the Terminal.
Thanks,
Yves