Bug 257770

Summary: PyKDE4: Can't create instances of KConfigSkeleton.ItemColor / ItemFont
Product: [Developer tools] bindings Reporter: Dennis Malcorps <dennis.malcorps>
Component: pykdeAssignee: kde-bindings
Status: RESOLVED UNMAINTAINED    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dennis Malcorps 2010-11-24 12:54:47 UTC
Version:           unspecified (using KDE 4.4.5) 
OS:                Linux

The summary line pretty much sums it up. I can't create instances of neither ItemFont nor ItemColor, python always exits saying these are abstract classes.

This error doesn't occur when instanciating items from KCoreConfigSkeleton, though there are other bugs preventing the creation of some of them. (But this will go into other bug reports...)


Reproducible: Always

Steps to Reproduce:
>>> from PyKDE4 import kdeui
>>> from PyQt4 import QtGui
>>> reference = QtGui.QColor()
>>> item = kdeui.KConfigSkeleton.ItemColor('group', 'key', reference)


Actual Results:  
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: PyKDE4.kdeui.ItemColor represents a C++ abstract class and cannot be instantiated


Expected Results:  
Well, an actual KConfigSkeleton.ItemColor object...

python-qt4
version: 4.7.3-1+b1

python-kde4
version: 4:4.4.5-3
Comment 1 Andrew Crouthamel 2018-10-31 03:58:20 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 2 Bug Janitor Service 2018-11-15 10:34:21 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-11-17 05:26:47 UTC
Hello, unfortunately this bug is being closed as unmaintained, per request of einar77.