When starting calibre, I get a RuntimeError regarding a version mismatch in progress_indicator Reproducible: Always Steps to Reproduce: $ calibre Actual Results: 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 361, 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 32, in <module> from calibre.gui2.widgets import ProgressIndicator File "/usr/lib/calibre/calibre/gui2/widgets.py", line 25, 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 PyQt4.QtCore module is version -1 but the progress_indicator module requires version 0 Expected Results: calibre runs properly I have already tried rebuilding PyQt and calibre, as well as running python-updater. I'm using python2.7 as my default interpreter.
Created attachment 258592 [details] Result of 'emerge info'
Same problem here. I solved in this way: run (again): $ python-update it failed emerging pykde4 for bug: http://bugs.gentoo.org/show_bug.cgi?id=349707 I fixed it using the patch suggested in that bug report, and then I got calibre compiled.
(In reply to comment #2) > Same problem here. > I solved in this way: > run (again): > $ python-update > it failed emerging pykde4 for bug: > http://bugs.gentoo.org/show_bug.cgi?id=349707 Thanks, it's good to know that python-updater helps. Calibre build failures are often solved by rebuilding dependencies. We really need to automate these rebuilds as discussed in bug 192319.
*** Bug 368911 has been marked as a duplicate of this bug. ***
Shouldn't this be marked resolved? Latest Calibre versions fix this, and any mismatches can be solved by python-updater then re-emerging calibre.
PyQt4 mismatches should no longer be possible as all versions in the tree are migrated to python-r1 eclasses.
(In reply to Michael Palimaka (kensington) from comment #6) Okay, I guess we can close this then.