![]() |
#1 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16
Karma: 946
Join Date: Apr 2011
Device: Kindle
|
Calibre not launching on archlinux
I recently updated calibre on Arch to 0.3.88-1; trying to launch it, I now get an error:
Code:
Traceback (most recent call last): File "/usr/bin/calibre", line 18, in <module> from calibre.gui2.main import main File "/usr/lib/calibre/calibre/gui2/main.py", line 18, in <module> from calibre.library.database2 import LibraryDatabase2 File "/usr/lib/calibre/calibre/library/database2.py", line 31, in <module> from calibre.customize.ui import run_plugins_on_import File "/usr/lib/calibre/calibre/customize/ui.py", line 15, in <module> from calibre.customize.builtins import plugins as builtin_plugins File "/usr/lib/calibre/calibre/customize/builtins.py", line 508, in <module> from calibre.ebooks.html.input import HTMLInput File "/usr/lib/calibre/calibre/ebooks/html/input.py", line 21, in <module> from calibre.ebooks.chardet import detect_xml_encoding Last edited by Henry Flower; 01-05-2012 at 06:34 AM. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,156
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
sudo rm -r /usr/lib/calibre/calibre/ebooks/chardet
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 16
Karma: 946
Join Date: Apr 2011
Device: Kindle
|
Thanks, that did it.
![]() |
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2012
Device: Samsung Galaxy Spica (android)
|
Problems here too...
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... |
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,156
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You've got a broken PyQt installation on your syste, I suggest uninstalling calibre and using the binary build, which includes all dependencies from here: http://calibre-ebook.com/download_linux
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2012
Device: Samsung Galaxy Spica (android)
|
...
Thanks for the quick reply, Ihave reinstalled calibre as u told me and even though I can get to open calibre, it shows the following in the console:
Code:
Failed to initialize plugin: ISBNDB (1, 0, 0) Failed to initialize plugin: <class 'calibre.ebooks.metadata.sources.isbndb.ISBNDB'> ![]() |
![]() |
![]() |
![]() |
#7 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,156
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
The list only shows initialized plugins. Run calibre as
calibre-debug -g you may get more info. Though since you probably arent using isbndb anyway, it doesn't really matter. |
![]() |
![]() |
![]() |
#8 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Jan 2012
Device: Samsung Galaxy Spica (android)
|
SOLVED!
Ok, this is what I got:
Code:
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 "site-packages/calibre/customize/ui.py", line 519, in initialize_plugins File "site-packages/calibre/customize/ui.py", line 494, in initialize_plugin InvalidPlugin: Initialization of plugin Traceback (most recent call last): File "site-packages/calibre/customize/ui.py", line 487, in initialize_plugin File "site-packages/calibre/ebooks/metadata/sources/isbndb.py", line 56, in __init__ File "site-packages/calibre/utils/config.py", line 351, in __setitem__ File "site-packages/calibre/utils/config.py", line 302, in commit File "site-packages/calibre/utils/lock.py", line 113, in __enter__ IOError: [Errno 13] Permission denied: u'/home/mrnuflo/.config/calibre/metadata_sources/ISBNDB.json' failed with traceback: Traceback (most recent call last): File "site-packages/calibre/customize/ui.py", line 487, in initialize_plugin File "site-packages/calibre/ebooks/metadata/sources/isbndb.py", line 56, in __init__ File "site-packages/calibre/utils/config.py", line 351, in __setitem__ File "site-packages/calibre/utils/config.py", line 302, in commit File "site-packages/calibre/utils/lock.py", line 113, in __enter__ IOError: [Errno 13] Permission denied: u'/home/mrnuflo/.config/calibre/metadata_sources/ISBNDB.json' Starting up... ![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I make all .pdf's in my calibre library open in calibre instead of preview | morbo3000 | Library Management | 9 | 07-30-2011 10:39 AM |
Getting Calibre to work in ArchLinux | Thomas Bates | Calibre | 3 | 07-19-2011 05:16 PM |
Patch: Calibre adds tags to identify ebook formats created by calibre. | siebert | Calibre | 1 | 07-18-2011 02:07 PM |
Kindle and Calibre user with problem importing large library into Calibre | pleabargain | Calibre | 1 | 12-07-2010 10:19 AM |
calibre doesn't start in Archlinux 64 | Celeblin | Calibre | 0 | 07-08-2009 04:58 PM |