Here's the full error report:
Code:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/calibre/linux.py", line 194, in setup_completion
f = open_file('/etc/bash_completion.d/calibre')
File "/usr/lib/python2.6/site-packages/calibre/ebooks/mobi/from_feeds.py", line 12, in <module>
File "/usr/lib/python2.6/site-packages/calibre/ebooks/mobi/writer.py", line 29, in <module>
File "/usr/lib/python2.6/site-packages/calibre/ebooks/oeb/transforms/flatcss.py", line 21, in <module>
File "/usr/lib/python2.6/site-packages/calibre/ebooks/oeb/stylizer.py", line 20, in <module>
ImportError: No module named profiles
Traceback (most recent call last):
File "/home/kevin/builds/calibre/pkg/usr/bin/calibre_postinstall", line 8, in <module>
load_entry_point('calibre==0.4.138', 'console_scripts', 'calibre_postinstall')()
File "/usr/lib/python2.6/site-packages/calibre/linux.py", line 466, in post_install
File "/usr/lib/python2.6/site-packages/calibre/linux.py", line 337, in setup_completion
'''
UnboundLocalError: local variable 'manifest' referenced before assignment
Traceback (most recent call last):
File "setup.py", line 183, in <module>
subprocess.check_call('calibre_postinstall --use-destdir', shell=True)
File "/usr/lib/python2.6/subprocess.py", line 462, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'calibre_postinstall --use-destdir' returned non-zero exit status 1