Logo 
Search:

Unix / Linux / Ubuntu Forum

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds

Calibre stopped working

  Date: Dec 03    Category: Unix / Linux / Ubuntu    Views: 528
  

I've been using Calibre to read ebooks for some time now. Yesterday it just
stopped working for some reason. I don't know what I changed in the system that
broke it. When I try to start it from a terminal window with -verbose specified
I get the following output. Can anyone tell me what I need to do to fix it? Any
help is greatly appreciated! Thanks!

xxxxx@xxx.xxx:~$ calibre
Traceback (most recent call last):
File "/usr/bin/calibre", line 16, in <module>
sys.exit(main())
File "/usr/lib/calibre/calibre/gui2/main.py", line 1861, in main
return run_gui(opts, args, actions, listener, app)
File "/usr/lib/calibre/calibre/gui2/main.py", line 1779, in run_gui
main = Main(listener, opts, actions)
File "/usr/lib/calibre/calibre/gui2/main.py", line 121, in __init__
self.setupUi(self)
File "/usr/lib/calibre/calibre/gui2/main_ui.py", line 140, in setupUi
self.library_view = BooksView(self.library)
File "/usr/lib/calibre/calibre/gui2/library.py", line 684, in __init__
self._model = modelcls(self)
File "/usr/lib/calibre/calibre/gui2/library.py", line 172, in __init__
self.column_map = config['column_map']
File "/usr/lib/calibre/calibre/utils/config.py", line 479, in __getitem__
return self.get(key)
File "/usr/lib/calibre/calibre/utils/config.py", line 486, in get
self.refresh()
File "/usr/lib/calibre/calibre/utils/config.py", line 476, in refresh
self.__opts = self.__config.parse()
File "/usr/lib/calibre/calibre/utils/config.py", line 412, in parse
src = f.read().decode('utf-8')
File "/usr/lib/python2.6/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 0-5: unsupported
Unicode code range

Share: 

 

5 Answers Found

 
Answer #1    Answered On: Dec 03    

Sometimes an update will upgrade a dependency but not the application itself
because one is not available yet and a programme will not work for a time. I
used Calibre today and it works for me and both of my 10.04 installations
are up to date. I would try to update again and perhaps it will fix things.
Barring that I would re-install Calibre. Do not completely remove or you
will lose your settings including bookmarks.

 
Answer #2    Answered On: Dec 03    

I forgot to mention I've already tried the re-installation path. I even
removed everything aand started from scratch. Still no luck. I don't think I
upgraded anything else. Thanks for the help! Maybe someone else will chime in.

 
Answer #3    Answered On: Dec 03    

Any chance you ran "apt-get autoremove" or disk janitor recently? I had
some odd problems with a few python-based applications a while back after
allowing ubuntu to autoremove some things that it said were unnecessary. One
of the things removed was python-related. I don't remember what. I had no
idea what I was doing at that point.

Just curious, but have you verified the ebook files are not corrupt? What
version of Calibre are you using? Also, have you manually checked you have
all the dependencies and their proper version numbers (including python?).

check the bottom of this page for a dependency list:
http://calibre-ebook.com/download_linux

 
Answer #4    Answered On: Dec 03    

To my knowledge I have not run apt-get autoremove or disk janitor. The ebooks
work fine when I move them over to a XP system and run the Windoze version of
Calibre and Mobipocket. I'm running the Ubuntu distro of Calibre version
0.6.13+dsfg-0ubuntu3.1

 
Answer #5    Answered On: Dec 03    

If I were in your situation, I would probably try to unistall, then install
a newer version from source and see if that fixes the issue. But that's
just me...

 
Didn't find what you were looking for? Find more on Calibre stopped working Or get search suggestion and latest updates.




Tagged: