View Single Post
Old 09-21-2011, 09:43 AM   #8
Fmstrat
G:RSS-Web Creator
Fmstrat began at the beginning.
 
Posts: 94
Karma: 14
Join Date: Aug 2010
Device: Kindle 3, PW, Nexus 4,10
Thanks again! Unfortunately this led to not being able to use Calibre unless I had a terminal window open at all times. Here's some additional info if it's helpful to you or anyone else who may be browsing:

The reason Calibre needed terminal was to report an error:
Code:
Failed to set metadata for u'Test Book'
Traceback (most recent call last):
  File "site-packages/calibre/customize/ui.py", line 327, in set_file_type_metadata
  File "site-packages/calibre/customize/builtins.py", line 414, in set_metadata
  File "site-packages/calibre/ebooks/metadata/epub.py", line 205, in set_metadata
  File "site-packages/calibre/ebooks/metadata/epub.py", line 111, in __init__
EPubException: not a ZIP .epub OCF container
The MOBI file did download fine, however, when the terminal was accessible. To get around this I'm piping all output of Calibre to a log file (perhaps this is something that should be done by the app?). So, first:

Code:
mkdir /var/log/calibre; chmod a+rwx /var/log/calibre
Then I changed shortcuts from:

Code:
/usr/bin/calibre
to:

Code:
/usr/bin/calibre 1> /var/log/calibre/calibre.log 2>&1 &
Thanks,
B.
Fmstrat is offline   Reply With Quote