This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1480727 - Can't import PyKDE4.kdeui
Can't import PyKDE4.kdeui
Status: NEW
Product: Fedora
Classification: Fedora
Component: pykde4 (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Ngo Than
Fedora Extras Quality Assurance
: Triaged
Depends On:
  Show dependency treegraph
Reported: 2017-08-11 14:58 EDT by Jason Tibbitts
Modified: 2017-08-11 21:01 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Jason Tibbitts 2017-08-11 14:58:00 EDT
It appears that something has changed in PyQt4 which prevents PyKDE4 from working properly.  Just doing "import PyKDE4.kdeui" will fail:

ld40:~❯ python3
Python 3.6.2 (default, Jul 19 2017, 13:09:21)
[GCC 7.1.1 20170622 (Red Hat 7.1.1-3)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyKDE4.kdeui
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: PyKDE4.kdeui cannot import type 'QList<QPair<QString,QString> >' from PyQt4.QtCore

I'm having no luck figuring out where this is coming from; I suspect it's down in the compiled C code generated by the bindings.
Comment 1 Rex Dieter 2017-08-11 21:01:17 EDT
Confirmed, it affects both python(2) and python3 bindings similarly.

Note You need to log in before you can comment on or make changes to this bug.