|  07-19-2009, 09:28 AM | #1 | 
| Member  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? | 
|   |   | 
|  07-19-2009, 10:12 AM | #2 | 
| Sigil & calibre developer            Posts: 2,487 Karma: 1063785 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"))) | 
|   |   | 
| Advert | |
|  | 
|  07-19-2009, 10:31 AM | #3 | 
| Member  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! | 
|   |   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  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 |