02-03-2009, 07:50 PM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2009
Device: iphone
|
ubuntu install fail error shown wired
HI, I tried to install calibre on ubuntu 8.10.
first I tried sudo apt-get install python-setuptools python-imaging libqt4-core libqt4-gui \ python-qt4 python-mechanize imagemagick \ xdg-utils python-dbus python-lxml python-beautifulsoup \ help2man sudo easy_install -U calibre I also installed python-qt4-dev however, when I do sudo calibre_postinstall I got the following error: calibre_postinstall Trying to setup udev rules... * Restarting Hardware abstraction layer hald [ OK ] Setting up bash completion... Traceback (most recent call last): File "/usr/bin/calibre_postinstall", line 8, in <module> load_entry_point('calibre==0.4.133', 'console_scripts', 'calibre_postinstall')() File "build/bdist.linux-i686/egg/calibre/linux.py", line 466, in post_install File "build/bdist.linux-i686/egg/calibre/linux.py", line 222, in setup_completion File "build/bdist.linux-i686/egg/calibre/linux.py", line 124, in opts_and_exts File "build/bdist.linux-i686/egg/calibre/linux.py", line 83, in options File "build/bdist.linux-i686/egg/calibre/ebooks/epub/from_any.py", line 191, in option_parser TypeError: not all arguments converted during string formatting Then I want to install it from source. it still not working. when i do sudo python setup.py build I got this error. Setup calibre version: 0.4.133 running build running resources Resources are up to date running translations Translations up to date running gui Compiling images... error: No such file or directory I did install python-qt4-dev from apt-get. so can anyone help me figure out what happening? Thanks a lot. Stev |
02-03-2009, 07:58 PM | #2 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Use the binary installer
|
Advert | |
|
02-04-2009, 06:31 AM | #3 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2009
Device: iphone
|
thanks for the reply. but by using the binary installer I still have the same error:
(synaptic:30079): Gtk-CRITICAL **: gtk_tree_view_unref_tree_helper: assertion `node != NULL' failed ning@t60-ub:/usr/bin$ sudo python -c "import urllib2; exec urllib2.urlopen('http://calibre.kovidgoyal.net/download_linux_binary_installer').read(); main()" Enter the installation directory for calibre (Its contents will be deleted!)[/opt/calibre]: Downloading calibre... 100% [================================================== ================================================== =======] Extracting files to /opt/calibre ... Extracting application files... Creating symlinks... Trying to setup udev rules... * Restarting Hardware abstraction layer hald [ OK ] Setting up bash completion... Traceback (most recent call last): File "/tmp/init.py", line 45, in <module> File "/home/kovid/work/calibre/src/calibre/linux.py", line 496, in binary_install File "/home/kovid/work/calibre/src/calibre/linux.py", line 466, in post_install File "/home/kovid/work/calibre/src/calibre/linux.py", line 222, in setup_completion File "/home/kovid/work/calibre/src/calibre/linux.py", line 124, in opts_and_exts File "/home/kovid/work/calibre/src/calibre/linux.py", line 83, in options File "/home/kovid/work/calibre/src/calibre/ebooks/epub/from_any.py", line 191, in option_parser TypeError: not all arguments converted during string formatting Segmentation fault |
02-04-2009, 02:23 PM | #4 |
creator of calibre
Posts: 43,858
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
AH this is caused bya bug in the CHinese translation
Try the following Code:
export LANG=en_US export LC_ALL=en_US.UTF-8 |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Ubuntu Calibre 6.46 Install fails | theducks | Calibre | 24 | 04-02-2010 09:27 AM |
Install problem on ubuntu | frdimond | Calibre | 14 | 02-19-2010 01:26 AM |
V o.6.40 install in Ubuntu 9.10 problem? | lamparty | Calibre | 7 | 02-19-2010 01:07 AM |
Cannot install calibre on ubuntu 8.04 | kkkidder | Calibre | 1 | 03-19-2009 10:44 PM |
Ubuntu 7.10 90% of libprs500 install... | knewbie | Calibre | 3 | 12-24-2007 04:38 PM |