View Single Post
Old 10-23-2008, 02:42 PM   #12
zelemo
Junior Member
zelemo began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Oct 2008
Device: sony prs 505
Still stuck on post_install...

Hi there

I'm still stuck, and would greatly appreciate any assistance.

Using Hardy Heron.

I've installed the libxml2 and libxlst packages from source, and successfully installed (as far as I can tell) the lxml v 2.1.2. I've then done a sudo easy_install -U calibre, and all goes OK. But when I try to do

sudo calibre_postinstall

I get the following:-

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 171, in setup_completion
File "build/bdist.linux-i686/egg/calibre/gui2/lrf_renderer/main.py", line 18, 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 13, in <module>
ImportError: /usr/lib/python2.5/site-packages/lxml-2.1.2-py2.5-linux-i686.egg/lxml/etree.so: undefined symbol: xmlSchematronSetValidStructuredErrors
Traceback (most recent call last):
File "/usr/bin/calibre_postinstall", line 8, in <module>
load_entry_point('calibre==0.4.99', 'console_scripts', 'calibre_postinstall')()
File "build/bdist.linux-i686/egg/calibre/linux.py", line 441, in post_install
File "build/bdist.linux-i686/egg/calibre/linux.py", line 315, in setup_completion
UnboundLocalError: local variable 'manifest' referenced before assignment

I tried the suggestion above to use a previous version

sudo easy_install -U calibre==0.4.83

and then after the post-install I get a different error:-

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 169, in setup_completion
File "build/bdist.linux-i686/egg/calibre/ebooks/lrf/comic/convert_from.py", line 15, in <module>
File "build/bdist.linux-i686/egg/calibre/utils/config.py", line 27, in <module>
File "/usr/lib/python2.5/os.py", line 171, in makedirs
mkdir(name, mode)
OSError: [Errno 13] Permission denied: '/home/bensonm/.config/calibre'
Traceback (most recent call last):
File "/usr/bin/calibre_postinstall", line 8, in <module>
load_entry_point('calibre==0.4.83', 'console_scripts', 'calibre_postinstall')()
File "build/bdist.linux-i686/egg/calibre/linux.py", line 411, in post_install
File "build/bdist.linux-i686/egg/calibre/linux.py", line 286, in setup_completion
UnboundLocalError: local variable 'manifest' referenced before assignment

Any help would be appreciated. I'm close to giving up and using the Windoze version on a virtual machine, but I really don't want to do that....I have a feeling I'm *that* close to it working...
zelemo is offline   Reply With Quote