← Back to team overview

edubuntu-bugs team mailing list archive

[Bug 691608] Re: calibre does not start

 

I get this. I thought it was the same, but i've noticed now the "bad
magic number" at the end. Could it be something went bad on updating the
python version on system upgrade?


srey@computer:~$ calibre
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 19, in <module>
    from calibre.library.database2 import LibraryDatabase2
  File "/usr/lib/calibre/calibre/library/database2.py", line 22, in <module>
    from calibre.library.caches import ResultCache
  File "/usr/lib/calibre/calibre/library/caches.py", line 16, in <module>
    from calibre.utils.search_query_parser import SearchQueryParser
  File "/usr/lib/calibre/calibre/utils/search_query_parser.py", line 21, in <module>
    from pyparsing import CaselessKeyword, Group, Forward, \
ImportError: Bad magic number in /usr/lib/calibre/calibre/utils/pyparsing.pyc
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/apport_python_hook.py", line 94, in apport_excepthook
    if pr.check_ignored():
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 763, in check_ignored
    dom = self._get_ignore_dom()
  File "/usr/lib/python2.7/dist-packages/apport/report.py", line 724, in _get_ignore_dom
    dom = xml.dom.getDOMImplementation().createDocument(None, 'apport', None)
  File "/usr/lib/python2.7/dist-packages/cssutils/__init__.py", line 160, in createDocument
    raise NotImplementedError
NotImplementedError

Original exception was:
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 19, in <module>
    from calibre.library.database2 import LibraryDatabase2
  File "/usr/lib/calibre/calibre/library/database2.py", line 22, in <module>
    from calibre.library.caches import ResultCache
  File "/usr/lib/calibre/calibre/library/caches.py", line 16, in <module>
    from calibre.utils.search_query_parser import SearchQueryParser
  File "/usr/lib/calibre/calibre/utils/search_query_parser.py", line 21, in <module>
    from pyparsing import CaselessKeyword, Group, Forward, \
ImportError: Bad magic number in /usr/lib/calibre/calibre/utils/pyparsing.pyc

-- 
You received this bug notification because you are a member of Edubuntu
Bugsquad, which is subscribed to calibre in Ubuntu.
https://bugs.launchpad.net/bugs/691608

Title:
  calibre does not start