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 01-09-2010, 04:10 PM   #1
iain_benson
Connoisseur
iain_benson began at the beginning.
 
iain_benson's Avatar
 
Posts: 58
Karma: 37
Join Date: Oct 2008
Device: PRS-600
CALIBRE_DEVELOP_FROM and ebook-viewer

I have the CALIBRE_DEVELOP_FROM variable set so that I can mod the source code, however, I've just noticed that it stops me using the inbuilt e-book reader.

If I attempt to open a book within calibre, nothing happens. If I go to a command prompt and run ebook-viewer I get the following ...

Python function terminated unexpectedly: No module named QtWebKit.QWebView
Traceback (most recent call last):
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 147, in main
return run_entry_point()
File "/Applications/calibre.app/Contents/Resources/Python/lib/python2.6/site.py", line 115, in run_entry_point
pmod = __import__(mod, fromlist=[1], level=0)
File "/Users/iain/Documents/CalibreDev/calibre/src/calibre/gui2/viewer/main.py", line 14, in <module>
from calibre.gui2.viewer.main_ui import Ui_EbookViewer
File "/Users/iain/Documents/CalibreDev/calibre/src/calibre/gui2/viewer/main_ui.py", line 179, in <module>
from QtWebKit.QWebView import QWebView
ImportError: No module named QtWebKit.QWebView


unsetting CALIBRE_DEVELOP_FROM first allows it to work. Any thoughts?

Cheers
Iain


P.S. This is on OSX!
iain_benson is offline   Reply With Quote
Old 01-09-2010, 04:15 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: 25,673
Karma: 4998489
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
delete main_ui.py

update to latest source code and then restart the ebook-viewer
kovidgoyal is offline   Reply With Quote
 
Enthusiast
Old 01-11-2010, 04:57 PM   #3
iain_benson
Connoisseur
iain_benson began at the beginning.
 
iain_benson's Avatar
 
Posts: 58
Karma: 37
Join Date: Oct 2008
Device: PRS-600
That did the trick. Thanks a lot.
iain_benson 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
[old-topic]ebook-viewer: Open source, crossplatform viewer for EPUB, LIT, MOBI, etc kovidgoyal Calibre 68 05-30-2011 08:46 PM
How to use external ebook viewer (Okular) martosurf Calibre 2 10-11-2010 08:23 PM
eBook Viewer Toolbar Agama Calibre 10 08-09-2010 03:53 PM
ebook-viewer alone? rogue_ronin Calibre 7 10-22-2009 03:31 AM
columns in the ebook viewer Nate the great Calibre 3 08-27-2009 11:46 AM


All times are GMT -4. The time now is 11:25 AM.


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