Quote:
Originally Posted by kovidgoyal
sudo rm -r /usr/lib/calibre/calibre/ebooks/chardet
|
Happy New Year!
I got exactly the same error and did sudo rm -r /usr/lib/calibre/calibre/ebooks/chardet, but then I got:
Failed to initialize plugin: ISBNDB (1, 0, 0)
Failed to initialize plugin: <class 'calibre.ebooks.metadata.sources.isbndb.ISBNDB'>
Traceback (most recent call last):
File "/usr/bin/calibre", line 19, in <module>
sys.exit(main())
File "/usr/lib/calibre/calibre/gui2/main.py", line 340, in main
app, opts, args, actions = init_qt(args)
File "/usr/lib/calibre/calibre/gui2/main.py", line 50, in init_qt
from calibre.gui2.ui import Main
File "/usr/lib/calibre/calibre/gui2/ui.py", line 39, in <module>
from calibre.gui2.init import LibraryViewMixin, LayoutMixin
File "/usr/lib/calibre/calibre/gui2/init.py", line 17, in <module>
from calibre.gui2.library.views import BooksView, DeviceBooksView
File "/usr/lib/calibre/calibre/gui2/library/views.py", line 16, in <module>
from calibre.gui2.library.delegates import (RatingDelegate, PubDateDelegate,
File "/usr/lib/calibre/calibre/gui2/library/delegates.py", line 24, in <module>
from calibre.gui2.dialogs.comments_dialog import CommentsDialog
File "/usr/lib/calibre/calibre/gui2/dialogs/comments_dialog.py", line 7, in <module>
from calibre.gui2.dialogs.comments_dialog_ui import Ui_CommentsDialog
File "/usr/lib/calibre/calibre/gui2/dialogs/comments_dialog_ui.py", line 45, in <module>
from calibre.gui2.comments_editor import Editor
File "/usr/lib/calibre/calibre/gui2/comments_editor.py", line 16, in <module>
from PyQt4.QtWebKit import QWebView, QWebPage
ImportError: /usr/lib/python2.7/site-packages/PyQt4/QtWebKit.so: undefined symbol: _ZNK8QWebView12hasSelectionEv
Help, please...