View Single Post
Old 10-13-2008, 06:08 PM   #3
angevin
Et In Arcadia Ego
angevin began at the beginning.
 
angevin's Avatar
 
Posts: 18
Karma: 10
Join Date: Dec 2007
Location: NewYork
Device: Sony prs-505
Question

Quote:
Originally Posted by kovidgoyal View Post
your python installation in missing sqlite support
Ok, I recompiled python with sqlite support but now I get this error message while installing :

Quote:
Installed /usr/lib/python2.5/site-packages/calibre-0.4.95-py2.5-linux-x86_64.egg
Processing dependencies for calibre==0.4.95
Finished processing dependencies for calibre==0.4.95
Trying to setup udev rules...
Starting HAL daemon: /usr/sbin/hald --daemon=yes
Setting up bash completion... failed
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/calibre/linux.py", line 166, in setup_completion
File "build/bdist.linux-x86_64/egg/calibre/ebooks/lrf/__init__.py", line 15, in <module>
File "build/bdist.linux-x86_64/egg/calibre/ebooks/lrf/fonts/__init__.py", line 10, in <module>
#
File "/usr/lib/python2.5/site-packages/PIL/ImageFont.py", line 115, in <module>
class FreeTypeFont:
File "/usr/lib/python2.5/site-packages/PIL/ImageFont.py", line 135, in FreeTypeFont
def getmask2(self, text, mode="", fill=Image.core.fill):
File "/usr/lib/python2.5/site-packages/PIL/Image.py", line 36, in __getattr__
raise ImportError("The _imaging C module is not installed")
ImportError: The _imaging C module is not installed
Traceback (most recent call last):
File "/usr/bin/calibre_postinstall", line 8, in <module>
load_entry_point('calibre==0.4.95', 'console_scripts', 'calibre_postinstall')()
File "build/bdist.linux-x86_64/egg/calibre/linux.py", line 440, in post_install
File "build/bdist.linux-x86_64/egg/calibre/linux.py", line 314, in setup_completion
UnboundLocalError: local variable 'manifest' referenced before assignment
Traceback (most recent call last):
File "setup.py", line 433, in <module>
subprocess.check_call('calibre_postinstall', shell=True)
File "/usr/lib/python2.5/subprocess.py", line 462, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command 'calibre_postinstall' returned non-zero exit status 1
I think my PIL installation might be broken somehow. I have the proper versions of PIL(python imaging library), python and freetype fonts etc.. etc.. installed

Last edited by angevin; 10-13-2008 at 06:21 PM.
angevin is offline   Reply With Quote