Running into problem using the "Export Script Function"
I'm trying to use the muse "Export Script Functionality" as described in the MUSE Programming guide, Below is my JSON:
'''
{
"$schema": "https://developer.amx.com/schema/amx-mojo-program-1.0.json",
".metadata" : {
"id": "Muse-BiAmp-IP-Interface",
"name": "Muse-BiAmp-IP-Interface",
"description": "description",
"disabled": false,
"provider": "python",
"scope": "",
"script": "BiAmpIPInterface.py",
"envvars": {}
},
"noArgument":{
".kind": "command",
".metadata": {
"method":"noArgument"
}
},
"sendCommand":{
".kind": "command",
".arguments": {
"command":{
".type": "string"
}
},
".metadata": {
"method":"sendCommand"
}
}
}
'''
The Muse controller creates a device, and when i pull the descriptor files for that device, everything looks correct, but if I try to invoke those commands via the MUSE cli, i get the following error:
Error executing command: An exception was raised by the Python Proxy. Return Message: Traceback (most recent call last):
File "/mnt/data/mojo/mojo/pylib/py4j/java_gateway.py", line 2467, in _call_proxy
return_value = getattr(self.pool[obj_id], method)(*params)
File "/mnt/data/mojo/mojo/pylib/mojo.py", line 1139, in call
f = self.scope[method]
TypeError: 'NoneType' object is not subscriptable
As far as i can tell, It does not even try to hit my script. I'm at a loss since as far as i can tell I'm matching what the programming guide says. Am I missing something somewhere?