Summary: | PyKDE4: KConfigSkeleton.ItemEnum doesn't accept a list with ItemEnum.Choice2 objects as its "choice" parameter | ||
---|---|---|---|
Product: | [Unmaintained] bindings | Reporter: | Dennis Malcorps <dennis.malcorps> |
Component: | pykde | Assignee: | kde-bindings |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
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! Hello, unfortunately this bug is being closed as unmaintained, per request of einar77. |
Version: unspecified (using KDE 4.4.5) OS: Linux KConfigSkeleton.ItemEnum has two constructors. One accepts a list with ItemEnum.Choice objects, the other accepts a list with ItemEnum.Choice2 objects, but PyKDE4 only provides the former. Reproducible: Always Steps to Reproduce: >>> values = [] >>> choice = kdeui.KConfigSkeleton.ItemEnum.Choice2() >>> choice.name = 'test1' >>> values.append(choice) >>> choice = kdeui.KConfigSkeleton.ItemEnum.Choice2() >>> choice.name = 'test2' >>> values.append(choice) >>> reference = int() >>> item = kdeui.KConfigSkeleton.ItemEnum('group', 'key', reference, values) Actual Results: Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: ItemEnum(): argument 4 has unexpected type 'list' Expected Results: No TypeError... python-qt4 version: 4.7.3-1+b1 python-kde4 version: 4:4.4.5-3