Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 350320 - app-text/calibre-0.7.35: RuntimeError in PyQt4.QtCore progress_indicator
Summary: app-text/calibre-0.7.35: RuntimeError in PyQt4.QtCore progress_indicator
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Zac Medico
URL:
Whiteboard:
Keywords:
: 368911 (view as bug list)
Depends on: force-rebuild
Blocks:
  Show dependency tree
 
Reported: 2011-01-01 21:04 UTC by Kevin Lacquement
Modified: 2013-08-29 16:58 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Result of 'emerge info' (einfo.txt,15.25 KB, text/plain)
2011-01-01 21:04 UTC, Kevin Lacquement
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Lacquement 2011-01-01 21:04:23 UTC
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.
Comment 1 Kevin Lacquement 2011-01-01 21:04:49 UTC
Created attachment 258592 [details]
Result of 'emerge info'
Comment 2 Silvio 2011-01-02 16:55:22 UTC
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.
Comment 3 Zac Medico gentoo-dev 2011-01-04 22:37:54 UTC
(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.
Comment 4 Zac Medico gentoo-dev 2011-05-27 22:21:44 UTC
*** Bug 368911 has been marked as a duplicate of this bug. ***
Comment 5 Dion Moult (RETIRED) gentoo-dev 2012-10-27 02:57:55 UTC
Shouldn't this be marked resolved? Latest Calibre versions fix this, and any mismatches can be solved by python-updater then re-emerging calibre.
Comment 6 Michael Palimaka (kensington) gentoo-dev 2013-08-29 11:27:47 UTC
PyQt4 mismatches should no longer be possible as all versions in the tree are migrated to python-r1 eclasses.
Comment 7 Zac Medico gentoo-dev 2013-08-29 16:58:48 UTC
(In reply to Michael Palimaka (kensington) from comment #6)
Okay, I guess we can close this then.