Bug 387468

Summary: Python cannot wrap Extension* objects
Product: [Applications] krita Reporter: Brendan <bunf2014>
Component: ScriptingAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version First Reported In: 4.0 pre-alpha   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Brendan 2017-11-30 13:20:40 UTC
Open scripter
Type:
a = Application.extensions()

Press play.

Receive the error message:

unable to convert return value of Krita.extensions from 'QList<Extension*>' to a Python object

Krita 4.0.0 alpha 2
Comment 1 wolthera 2017-12-05 13:17:51 UTC
Git commit a85ddcf9c66fecbb64070360977616f993071bf7 by Wolthera van Hövell tot Westerflier.
Committed on 05/12/2017 at 13:17.
Pushed by woltherav into branch 'master'.

Otherwise it cannot do anything with the result :<

M  +1    -0    plugins/extensions/pykrita/sip/krita/Krita.sip

https://commits.kde.org/krita/a85ddcf9c66fecbb64070360977616f993071bf7