View Single Post
Old 11-28-2008, 09:20 PM   #4
carpii
Enthusiast
carpii began at the beginning.
 
Posts: 38
Karma: 16
Join Date: Nov 2008
Device: Iliad or Sony
Thanks, I managed to build and install python-lxml 2.6.27

But calibre still fails. I reran 'sudo calibre_postinstall'...

PHP Code:
sudo calibre_postinstall
Trying to setup udev rules
...
 * 
Restarting Hardware abstraction layer hald                                                                                                                             OK ]
Setting up bash completion... failed
Traceback 
(most recent call last):
  
File "build/bdist.linux-i686/egg/calibre/linux.py"line 172in setup_completion
  File 
"build/bdist.linux-i686/egg/calibre/gui2/lrf_renderer/main.py"line 18in <module>
  
File "build/bdist.linux-i686/egg/calibre/gui2/library.py"line 17in <module>
  
File "build/bdist.linux-i686/egg/calibre/library/database2.py"line 19in <module>
  
File "build/bdist.linux-i686/egg/calibre/library/database.py"line 11in <module>
  
File "build/bdist.linux-i686/egg/calibre/ebooks/metadata/meta.py"line 12in <module>
  
File "build/bdist.linux-i686/egg/calibre/ebooks/metadata/lit.py"line 12in <module>
  
File "build/bdist.linux-i686/egg/calibre/ebooks/lit/reader.py"line 13in <module>
ImportErrorNo module named lxml
Traceback 
(most recent call last):
  
File "/usr/bin/calibre_postinstall"line 8in <module>
    
load_entry_point('calibre==0.4.108''console_scripts''calibre_postinstall')()
  
File "build/bdist.linux-i686/egg/calibre/linux.py"line 446in post_install
  File 
"build/bdist.linux-i686/egg/calibre/linux.py"line 318in setup_completion
UnboundLocalError
local variable 'manifest' referenced before assignment 
Its like lxml is installed, but maybe not registered with python (or maybe linux).

Do you have any ideas please?
carpii is offline   Reply With Quote