Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 01-05-2012, 05:54 AM   #1
Henry Flower
Member
Henry Flower has learned how to read e-booksHenry Flower has learned how to read e-booksHenry Flower has learned how to read e-booksHenry Flower has learned how to read e-booksHenry Flower has learned how to read e-booksHenry Flower has learned how to read e-booksHenry Flower has learned how to read e-booksHenry Flower has learned how to read e-books
 
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
Any thoughts?

Last edited by Henry Flower; 01-05-2012 at 06:34 AM.
Henry Flower is offline   Reply With Quote
Old 01-05-2012, 06:02 AM   #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: 45,156
Karma: 27110894
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
sudo rm -r /usr/lib/calibre/calibre/ebooks/chardet
kovidgoyal is offline   Reply With Quote
Advert
Old 01-05-2012, 06:32 AM   #3
Henry Flower
Member
Henry Flower has learned how to read e-booksHenry Flower has learned how to read e-booksHenry Flower has learned how to read e-booksHenry Flower has learned how to read e-booksHenry Flower has learned how to read e-booksHenry Flower has learned how to read e-booksHenry Flower has learned how to read e-booksHenry Flower has learned how to read e-books
 
Posts: 16
Karma: 946
Join Date: Apr 2011
Device: Kindle
Thanks, that did it.
Henry Flower is offline   Reply With Quote
Old 01-06-2012, 07:54 AM   #4
mrnuflo
Junior Member
mrnuflo began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Jan 2012
Device: Samsung Galaxy Spica (android)
Problems here too...

Quote:
Originally Posted by kovidgoyal View Post
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...
mrnuflo is offline   Reply With Quote
Old 01-06-2012, 08:45 AM   #5
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: 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
kovidgoyal is offline   Reply With Quote
Advert
Old 01-06-2012, 09:28 AM   #6
mrnuflo
Junior Member
mrnuflo began at the beginning.
 
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'>
I have searched through the plugins and have not found ISBNDB
mrnuflo is offline   Reply With Quote
Old 01-06-2012, 09:38 AM   #7
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: 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.
kovidgoyal is offline   Reply With Quote
Old 01-06-2012, 06:39 PM   #8
mrnuflo
Junior Member
mrnuflo began at the beginning.
 
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...
So I simply closed it and then did "sudo chmod -R 755 /home/mrnuflo/.config/calibre" and it worked flawlessly. Thank you very much for your quick replies and help and for pointing me in the right direction! I love your app, good work!! I hope I'll become a programmer some day soon and give back to community too!!
mrnuflo is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 08:59 AM.


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