Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 366255

Summary: Update to PyQt4-4.8.4 breaks plasmoid python script
Product: Gentoo Linux Reporter: Stefan Foerster <sfoerster42>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Stefan Foerster 2011-05-06 17:56:55 UTC
dev-python/PyQt4-4.8.4: Yesterday I have upgraded PyQt4 to version 4.8.4. Now two of my plasmoids on my desktop no longer load. They display the following error message (e.g. the Mixeroid plasmoid):
"Der python-Skript-Treiber für Mixeroid kann nicht initialisiert werden" (in English: "The Python Scripting Driver for Mixeroid cannot be initialized."

When I start one of these plasmoids from the shell I get the following error message:

$ plasmoidviewer Mixeroid
plasmoidviewer(28913)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0) 
plasmoidviewer(28913)/libplasma Plasma::FrameSvg::resizeFrame: Invalid size QSizeF(0, 0) 
plasmoidviewer(28913)/python (plugin): Failed to import module 
Traceback (most recent call last):
  File "/usr/share/apps/plasma_scriptengine_python/pyappletscript.py", line 22, in <module>
    from PyKDE4.plasma import Plasma
RuntimeError: the PyQt4.QtCore module is version 1 but the PyKDE4.plasma module requires version -1

I have re-emerged all plasma related packages, but the error has not vanished. I believe that it is a bug in PyQt4.

My KDE version is 4.6.2.

Reproducible: Always

Steps to Reproduce:
1. emerge dev-python/PyQt4-4.8.4
2. try to start the mixeroid plasmoid: plasmoidviewer mixeroid
3. you will get an error message
Actual Results:  
Some plasmoids no longer start, produce an error message (e.g. Mixeroid and SOHO Explorer).

Expected Results:  
Everything worked fine until the upgrade to PyQt4-4.8.4, i.e. the plasmoiuds worked as expected.
Comment 1 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2011-05-06 18:56:40 UTC
Reinstall all reverse dependencies of dev-python/sip and dev-python/PyQt4.

equery d dev-python/sip dev-python/PyQt4