mod-audio / mod-sdk

SDK to implement the MOD gui interface
GNU General Public License v3.0
34 stars 16 forks source link

Infinite loop when finalizing the wizard #16

Open vallsv opened 4 years ago

vallsv commented 4 years ago

Hi,

I try to create a plugin, but i reach an infinite loop when i finalize the wizard.

Here is a small part of the result from your debug screen. Any idea what can explain that? Obviously i guess it's a problem on my side with the description of the plugin, but i have no idea what to do with.

{
    "effect": {
        "ports": {
            "audio": {
                "input": [],
                "output": []
            },
            "cv": {
                "input": [],
                "output": []
            },
            "control": {
                "input": [
                    {
                        "index": 0,
                        "scalePoints": [],
                        "ranges": {
                            "default": 0,
                            "minimum": 0,
                            "maximum": 8
                        },
                        "comment": "",
                        "properties": [
                            "integer"
                        ],
                        "symbol": "drawbar_upper_1",
                        "rangeSteps": 0,
                        "shortName": "Upper Drawbar 1",
                        "valid": true,
                        "units": {
                            "symbol": "",
                            "_custom": false,
                            "label": "",
                            "render": ""
                        },
                        "name": "Upper Drawbar 1",
                        "designation": "",
                        "enumeration": false,
                        "integer": true,
                        "logarithmic": false,
                        "toggled": false,
                        "trigger": false
                    }
                ],
                "output": []
            },
            "midi": {
                "input": [
                    {
                        "index": 1,
                        "scalePoints": [],
                        "ranges": {
                            "default": 0,
                            "minimum": 0,
                            "maximum": 0
                        },
                        "comment": "",
                        "properties": [],
                        "symbol": "in",
                        "rangeSteps": 0,
                        "shortName": "In",
                        "valid": true,
                        "units": {
                            "symbol": "",
                            "_custom": false,
                            "label": "",
                            "render": ""
                        },
                        "name": "In",
                        "designation": ""
                    }
                ],
                "output": [
                    {
                        "index": 2,
                        "scalePoints": [],
                        "ranges": {
                            "default": 0,
                            "minimum": 0,
                            "maximum": 0
                        },
                        "comment": "",
                        "properties": [],
                        "symbol": "out",
                        "rangeSteps": 0,
                        "shortName": "Out",
                        "valid": true,
                        "units": {
                            "symbol": "",
                            "_custom": false,
                            "label": "",
                            "render": ""
                        },
                        "name": "Out",
                        "designation": ""
                    }
                ]
            }
        },
        "presets": [],
        "minorVersion": 1,
        "license": "GPLv2+",
        "binary": "/home/ordinateur/.local/lib/lv2/setbfree-controller.lv2/setbfree-controller.so",
        "version": "1.0",
        "uri": "https://github.com/vallsv/setbfree-controller",
        "gui": {
            "templateData": {
                "effect": {
                    "gui": {
                        "templateData": {
                            "effect": {
                                "gui": {
                                    "templateData": {
                                        "effect": {
                                            "gui": {
                                                "templateData": {
                                                    "effect": {
                                                        "gui": {
                                                            "templateData": {
                                                                "effect": {
                                                                    "gui": {
                                                                        "templateData": {
                                                                            "effect": {
                                                                                "gui": {
                                                                                    "templateData": {
                                                                                        "effect": {
                                                                                            "gui": {
falkTX commented 4 years ago

Fixed in #17 right?

vallsv commented 4 years ago

No, i don't think. Here is is about a dictionary which contains itself, or something like that.