calibre doesn't start on Natty because of sip module API

Bug #668802 reported by Fabien Tassin
46
This bug affects 10 people
Affects Status Importance Assigned to Milestone
calibre (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: calibre

On Natty:

ii calibre 0.7.18+dfsg-1 e-book converter and library management
ii calibre-bin 0.7.18+dfsg-1 e-book converter and library management
ii python-sip 4.11.1-0ubuntu1 Python/C++ bindings generator runtime library

$ calibre
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 321, in main
    app, opts, args, actions = init_qt(args)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 40, in init_qt
    from calibre.gui2.ui import Main
  File "/usr/lib/calibre/calibre/gui2/ui.py", line 31, in <module>
    from calibre.gui2.widgets import ProgressIndicator
  File "/usr/lib/calibre/calibre/gui2/widgets.py", line 26, in <module>
    from calibre.gui2.progress_indicator import ProgressIndicator as _ProgressIndicator
  File "/usr/lib/calibre/calibre/gui2/progress_indicator/__init__.py", line 15, in <module>
    pi_error)
RuntimeError: Failed to load the Progress Indicator plugin: the sip module implements API v8.0 but the progress_indicator module requires API v7.1
Error in sys.excepthook:
Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/apport_python_hook.py", line 90, in apport_excepthook
    if pr.check_ignored():
  File "/usr/lib/python2.6/dist-packages/apport/report.py", line 752, in check_ignored
    dom = self._get_ignore_dom()
  File "/usr/lib/python2.6/dist-packages/apport/report.py", line 713, in _get_ignore_dom
    dom = xml.dom.getDOMImplementation().createDocument(None, 'apport', None)
  File "/usr/lib/python2.6/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 19, in <module>
    sys.exit(main())
  File "/usr/lib/calibre/calibre/gui2/main.py", line 321, in main
    app, opts, args, actions = init_qt(args)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 40, in init_qt
    from calibre.gui2.ui import Main
  File "/usr/lib/calibre/calibre/gui2/ui.py", line 31, in <module>
    from calibre.gui2.widgets import ProgressIndicator
  File "/usr/lib/calibre/calibre/gui2/widgets.py", line 26, in <module>
    from calibre.gui2.progress_indicator import ProgressIndicator as _ProgressIndicator
  File "/usr/lib/calibre/calibre/gui2/progress_indicator/__init__.py", line 15, in <module>
    pi_error)
RuntimeError: Failed to load the Progress Indicator plugin: the sip module implements API v8.0 but the progress_indicator module requires API v7.1

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package calibre - 0.7.18+dfsg-1build1

---------------
calibre (0.7.18+dfsg-1build1) natty; urgency=low

  * No changes upload to rebuild calibre with latest sip (LP: #668802)
 -- Fabrice Coutadeur <email address hidden> Sun, 31 Oct 2010 07:08:12 +0100

Changed in calibre (Ubuntu):
status: New → Fix Released
Revision history for this message
eris23 (jdkatz23) wrote :

problem also exists in maverick Version: 0.7.18+dfsg-1

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Hi,

Could you please a separate bug report: I'm using Calibre in Maverick and don't have any problem, so I don't think this is the same origin.

Thanks,
Fabrice

Revision history for this message
eris23 (jdkatz23) wrote :

After a restart, the problem on maverick went away.

Revision history for this message
datakid (datakid) wrote :

My problem didn't go away after a restart - this still affects Maverick as far as I can tell. Output:

musicman@brunswick:~$ calibre --version
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 321, in main
    app, opts, args, actions = init_qt(args)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 40, in init_qt
    from calibre.gui2.ui import Main
  File "/usr/lib/calibre/calibre/gui2/ui.py", line 31, in <module>
    from calibre.gui2.widgets import ProgressIndicator
  File "/usr/lib/calibre/calibre/gui2/widgets.py", line 26, in <module>
    from calibre.gui2.progress_indicator import ProgressIndicator as _ProgressIndicator
  File "/usr/lib/calibre/calibre/gui2/progress_indicator/__init__.py", line 15, in <module>
    pi_error)
RuntimeError: Failed to load the Progress Indicator plugin: the sip module implements API v8.0 but the progress_indicator module requires API v7.1

Revision history for this message
Piedro Kulman (piedro) wrote :

@datakid:
Exactly the same message for me.
Using Ubuntu Maverick 64bit, calibre 0.7.18+dfsg-1.

thx, p.

Revision history for this message
proDOOMman (prodoomman) wrote :

$ calibre
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 321, in main
    app, opts, args, actions = init_qt(args)
  File "/usr/lib/calibre/calibre/gui2/main.py", line 40, in init_qt
    from calibre.gui2.ui import Main
  File "/usr/lib/calibre/calibre/gui2/ui.py", line 31, in <module>
    from calibre.gui2.widgets import ProgressIndicator
  File "/usr/lib/calibre/calibre/gui2/widgets.py", line 26, in <module>
    from calibre.gui2.progress_indicator import ProgressIndicator as _ProgressIndicator
  File "/usr/lib/calibre/calibre/gui2/progress_indicator/__init__.py", line 15, in <module>
    pi_error)
RuntimeError: Failed to load the Progress Indicator plugin: the sip module implements API v8.0 but the progress_indicator module requires API v7.1

$ lsb_release -r
Release: 10.10

Revision history for this message
FreeMinded (pascal-planetmages) wrote :

I can confirm this bug on Kubuntu 10.10, too.

Revision history for this message
Diego Schulz (dschulzg) wrote :

Another "me too". Exactly the same problem running on Maverick, fully updated.

Version: 0.7.18+dfsg-1

Revision history for this message
Jack Leigh (leighman) wrote :

I think the problem might be a newer version of python-sip provided by the Kubuntu ppa.
Are people using that?

Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

That would explain why several people are using calibre without problem in Kubuntu.

Anyway, as explained before, ss this bug reports was for Natty and has been solved, if anybody in the 'me too' mood is reading that, please open a new bug report for Maverick and I'll follow up in the new one.

Thanks,
Fabrice

Revision history for this message
algoban (algoban) wrote :

Yes the problem is the kubuntu ppa. I just downgrade python-sip and also python-qt4 and now Calibre works.

Alberto

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.