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 07-19-2009, 09:28 AM   #1
joneall
Member
joneall began at the beginning.
 
joneall's Avatar
 
Posts: 13
Karma: 10
Join Date: May 2009
Device: Bookeen
Calibre view failure with mobi under Kubuntu

When I try to view a mobi file with Calibre under Kubuntu 9.04, I get no result - no view window, no error message. Nothing happens.

The on-line User Manual says, "For other formats [than LRF] it uses the default operating system application." What would that be for mobi?
joneall is offline   Reply With Quote
Old 07-19-2009, 10:12 AM   #2
user_none
Sigil & calibre developer
user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.user_none ought to be getting tired of karma fortunes by now.
 
user_none's Avatar
 
Posts: 2,433
Karma: 950001
Join Date: Jan 2009
Location: Florida, USA
Device: Nook STR
There is a bug with the viewer in *buntu that causes it to segfault. It is due to *buntu shipping with PyQt 4.4 and Qt 4.5. As you've found PyQt 4.4 is not 100% compatible with Qt 4.5. There are two solutions.

1) Install PyQt 4.5.

2) Find the main_ui.py file for the viewer, it should be in some place like /usr/lib/python2.6/dist-packages/calibre/gui2/viewer and comment out (put a # at the beginning of the line) the line that looks like one of the following:

Code:
self.view.setUrl(QtCore.QUrl("about:blank"))
self.view.setProperty("url", QtCore.QVariant(QtCore.QUrl("about:blank")))
user_none is offline   Reply With Quote
 
Enthusiast
Old 07-19-2009, 10:31 AM   #3
joneall
Member
joneall began at the beginning.
 
joneall's Avatar
 
Posts: 13
Karma: 10
Join Date: May 2009
Device: Bookeen
Not knowing what changing the version of PyQt might entail, indeed, not knowing even what it is (I'm a perl fan, so have avoided python...), I deleted the line you suggested.

All works well now.Thanks a million!
joneall is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre launch failure marcaronson408 Calibre 4 07-23-2010 08:43 PM
Calilbre does not view books on Kubuntu joneall Calibre 6 10-09-2009 11:57 AM
calibre and windows 7 failure ibm650 Calibre 10 07-23-2009 07:38 PM
4.95 installation failure: Kubuntu 8.04 JeffElkins Calibre 14 10-15-2008 05:40 PM
calibre failure to install whymany Calibre 3 10-03-2008 09:04 PM


All times are GMT -4. The time now is 10:16 PM.


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