View Single Post
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,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")))
user_none is offline   Reply With Quote