Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 10-07-2011, 10:53 PM   #1
katsu
Member
katsu began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Oct 2011
Device: iPad,Kindle3
install failed with "ImportError: cannot import name QCoreApplication" on CentOS 5.6

Hello.
I am interested in Calibre.

I installed calibre in the personal computer at home.
but, the following errors were displayed.
Installation seems to have failed.

> Traceback (most recent call last):
> File "site.py", line 55, in main
> File "site.py", line 41, in set_qt_plugin_path
> ImportError: cannot import name QCoreApplication


What should I check?




Quote:
--------
$ python --version
Python 2.7.2
$
$ cat /etc/redhat-release
CentOS release 5.6 (Final)
$
$ yum list xdg-utils
Loaded plugins: fastestmirror
Installed Packages
xdg-utils.noarch 1.0.2-2.el5.centos installed
$
$
$
$
$ sudo python -c "import urllib2; exec urllib2.urlopen('http://status.calibre-

ebook.com/linux_installer').read(); main()"
Enter the installation directory for calibre [/opt]:
Will download and install calibre-0.8.21-x86_64.tar.bz2
Downloading calibre-0.8.21-x86_64.tar.bz2
Downloaded 0.000000%
Downloaded 0.016496%

(...)

Traceback (most recent call last):
File "site.py", line 55, in main
File "site.py", line 41, in set_qt_plugin_path
ImportError: cannot import name QCoreApplication

Run "calibre" to start calibre

$ ls /opt/calibre/
bin calibre-server ebook-meta lrfviewer
calibre calibre-smtp ebook-viewer lrs2lrf
calibre-complete calibre_postinstall epub-fix markdown-calibre
calibre-customize calibredb fetch-ebook-metadata pdfmanipulate
calibre-debug ebook-convert lib resources
calibre-parallel ebook-device lrf2lrs web2disk
$
$ /opt/calibre/calibre
Traceback (most recent call last):
File "site.py", line 55, in main
File "site.py", line 41, in set_qt_plugin_path
ImportError: cannot import name QCoreApplication
$
$ /opt/calibre/calibre-server
Traceback (most recent call last):
File "site.py", line 55, in main
File "site.py", line 41, in set_qt_plugin_path
ImportError: cannot import name QCoreApplication
$
--------
katsu is offline   Reply With Quote
Old 10-07-2011, 11:02 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,856
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The version of GLIBC on your system is too old. You either have to update it or compile calibre from source.
kovidgoyal is offline   Reply With Quote
Advert
Old 10-07-2011, 11:53 PM   #3
katsu
Member
katsu began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Oct 2011
Device: iPad,Kindle3
Thanks!

Quote:
Installed Packages
glibc.i686 2.5-65 installed
glibc.x86_64 2.5-65 installed
too old...

I'll try to update it. thanks speedy response.
katsu is offline   Reply With Quote
Reply

Tags
centos, importerror, install, qcoreapplication, set_qt_plugin_path


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-600 Stuck on "f/w update did not complete.." after failed installation of PRS+ 3dsign Sony Reader Dev Corner 5 01-12-2012 11:09 AM
Error msg "Warning - failed to read metadata" kloewen Calibre 2 06-08-2010 01:25 PM
"Failed to open the file!" - Fictionwise non-DRM ePubs on Libre Nakor Ectaco jetBook 6 03-04-2010 06:37 PM
The Dreaded "Failed to Make Sony Reader File" Error JEMelby Sony Reader 7 08-21-2007 09:03 PM
BD "failed to make Sony Reader file" RSaunders Sony Reader 5 08-03-2007 01:52 PM


All times are GMT -4. The time now is 09:53 PM.


MobileRead.com is a privately owned, operated and funded community.