Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 04-02-2009, 05:01 PM   #1
merzy
Junior Member
merzy began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2009
Device: iphone
Anyone running calibre on Centos 5.3?

I'm having problems installing using both methods referenced in the Linux page, but before I enter bugs or ask for help here, I was wondering if anyone had gotten a working setup on CentOS?
merzy is offline   Reply With Quote
Old 04-05-2009, 12:42 AM   #2
merzy
Junior Member
merzy began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2009
Device: iphone
I can now report that the answer to that question is "yes!". It took a lot of hacking and slashing through dependency hell, but I managed to get calibre up and running on CentOS 5.3. I'm happy to help anyone else who wants to do the same.
merzy is offline   Reply With Quote
Advert
Old 04-05-2009, 12:56 AM   #3
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,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Did you get the binary or the sourceinstall working?
kovidgoyal is offline   Reply With Quote
Old 04-05-2009, 10:52 PM   #4
merzy
Junior Member
merzy began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2009
Device: iphone
I managed to get the sourceinstall working. The major problems revolved around getting a python 26 with all the required modules in place. Not a horrible task, but I kept running into things like the fact that the easy-to-find qt rpms didn't have webkit included, which wasn't obvious until much, much later in the process. Would have been a lot easier if I'd ever touched python in my life. :-)

(I've opened bug 2223 for the binary install issue.)
merzy is offline   Reply With Quote
Old 04-05-2009, 11:44 PM   #5
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,778
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Yeah calibre has a *ton* of dependencies, and since I tend to use cutting edge features of most libraries, getting it working in a source install can be challenging.
kovidgoyal is offline   Reply With Quote
Advert
Old 05-29-2009, 04:24 AM   #6
Matioupi
Junior Member
Matioupi began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2009
Device: none
Hello,

could you help on solving the dependencies with installing python2.6 ?
I'm stucked with some site-packages features missing...

Thanks

Mathieu
Matioupi is offline   Reply With Quote
Old 05-31-2009, 01:58 PM   #7
merzy
Junior Member
merzy began at the beginning.
 
Posts: 4
Karma: 10
Join Date: Mar 2009
Device: iphone
Well, it was a while ago, but from my fractured command history, it looks like I used:


85 wget http://mirrors.geekymedia.com/centos...edia1.i386.rpm
86 wget http://mirrors.geekymedia.com/centos...edia1.i386.rpm
87 wget http://mirrors.geekymedia.com/centos...edia1.i386.rpm
88 wget http://mirrors.geekymedia.com/centos...edia1.i386.rpm
149 wget http://mirrors.geekymedia.com/centos...media1.src.rpm
151 wget http://mirrors.geekymedia.com/centos...edia1.i386.rpm

Good luck!
merzy is offline   Reply With Quote
Old 06-06-2009, 02:01 AM   #8
Matioupi
Junior Member
Matioupi began at the beginning.
 
Posts: 2
Karma: 10
Join Date: May 2009
Device: none
I managed to compile PyThon2.6.2, Qt 4.5, PyQt-x11-gpl-4.5-snapshot-20090527, ...

I'm trying to run calibre on a remote serveur (through ssh -X )

it begins to run, but I get the following in the console :

Code:
[root@xxxxxxxxxx ~]# calibre
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 976, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
link  hasn't been detected!
link  hasn't been detected!
then a gui window with calibre title opens on my local machine... then other ones with "Error : unhandled exception" then other ones (forever ?) but i never get access to calibre gui. The output at this point are :

Code:
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/jobs2.py", line 50, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/jobs2.py", line 50, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/jobs2.py", line 50, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/jobs2.py", line 50, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance

Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/widgets.py", line 196, in data
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance

QPaintEngine::setSystemRect: Should not be changed while engine is active
QPaintEngine::setSystemRect: Should not be changed while engine is active
QPaintEngine::setSystemRect: Should not be changed while engine is active
Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance

Traceback (most recent call last):
  File "build/bdist.linux-i686/egg/calibre/gui2/library.py", line 556, in headerData
TypeError: unable to convert a Python 'str' object to a C++ 'QString' instance

calibre: Fatal IO error: client killed
Any ideas of what's may be wrong ? (i'm not familiar nor to python, nor to Qt...)

Regards,

Mathieu
Matioupi is offline   Reply With Quote
Reply

Tags
centos

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Running Calibre on Terminal Server JeffAlan66 Calibre 2 08-12-2010 02:00 PM
Segmentation fault trying to run Calibre on CentOS 5.5 midders Calibre 1 07-26-2010 11:32 AM
Calibre 0.7.5 problem install and running jean-paul Calibre 3 06-28-2010 04:15 PM
Calibre on CentOS ciscoswitch Calibre 36 05-01-2010 08:57 PM
Running Calibre (0.4.77) dsb66 Calibre 9 07-18-2008 04:42 AM


All times are GMT -4. The time now is 03:20 AM.


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