View Single Post
Old 10-02-2008, 02:25 PM   #1
Xpi6
Qsay Master
Xpi6 began at the beginning.
 
Xpi6's Avatar
 
Posts: 5
Karma: 10
Join Date: Mar 2006
Location: Japan
Device: iWish!
calibre install fails on Ubuntu hardy

Hi Kovid, I already installed the windows version at work, and it looks useful (I have some idea/request/bug tickets that I'll file later).
However, when I tried installing at home on a Ubuntu hardy box, using the method on http://calibre.kovidgoyal.net/download_ubuntu
(which I do realise is titled "Ubuntu Interpid Ibex" <-- sp? "Intrepid" surely!), it barfed as follows on the last step:
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 168, in setup_completion
  File "build/bdist.linux-i686/egg/calibre/gui2/lrf_renderer/main.py", line 1, in <module>
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 18, in <module>
  File "build/bdist.linux-i686/egg/calibre/library/database.py", line 11, in <module>
  File "build/bdist.linux-i686/egg/calibre/ebooks/metadata/meta.py", line 11, in <module>
  File "build/bdist.linux-i686/egg/calibre/ebooks/metadata/lit.py", line 12, in <module>
  File "build/bdist.linux-i686/egg/calibre/ebooks/lit/reader.py", line 371, in <module>
  File "build/bdist.linux-i686/egg/calibre/ebooks/lit/reader.py", line 374, in LitReader
TypeError: 'resolve_entities' is an invalid keyword argument for this function
Traceback (most recent call last):
  File "/usr/bin/calibre_postinstall", line 8, in <module>
    load_entry_point('calibre==0.4.89', 'console_scripts', 'calibre_postinstall')()
  File "build/bdist.linux-i686/egg/calibre/linux.py", line 430, in post_install
  File "build/bdist.linux-i686/egg/calibre/linux.py", line 304, in setup_completion
UnboundLocalError: local variable 'manifest' referenced before assignment
Before digging into anything myself, I'm wondering if this is simply a "hardy" vs "intrepid" problem (in which case I guess I'll just have to upgrade sooner rather than later), or some other problem with a known solution?
Xpi6 is offline   Reply With Quote