Quote:
Originally Posted by kovidgoyal
FYI, you can also run the tool from the command line without need to go through edit book first, like this
calibre-debug.exe --diff file1.epub file2.epub
|
this didn't work in calibre 1.40, i tried it on multiple files using full paths
calibre-debug --diff "/home/user/Calibre\ Library/Author\ Name/An\ ebook\ (495)/An\ ebook.epub" "/home/user/Calibre\ Library/Author\ Name/An\ ebook\ (260)/An\ ebook.epub"
it shows the compare window with no text in each side and the following error at the commandline
Traceback (most recent call last):
File "site-packages/calibre/gui2/tweak_book/diff/main.py", line 458, in <lambda>
File "site-packages/calibre/gui2/tweak_book/diff/main.py", line 364, in file_diff
File "site-packages/calibre/gui2/tweak_book/diff/main.py", line 124, in file_diff
File "site-packages/calibre/gui2/tweak_book/diff/main.py", line 99, in get_decoded_raw
IOError: [Errno 2] No such file or directory: 'calibre-diff'
PS
would it be possible to run the compare function from the library directly... instead of having to open 1 ebook 1st? eg select 2 files from library (function disabled if more than or less than 2 books selected), right click, select compare (greyed out if more or less than 2 books selected) from menu and then the compare window loads the 2 selected files