[Fixed] Help with "get path: error calculating the path"
Posted: Mon Jan 17, 2011 5:58 am
Hello,
I had posted a while back on the Live API where I am getting a "jsliveapi: get path: error calculating the path".
Here is the minimum code to get the error:
NewObject = new LiveAPI(this.patcher, null, "live_set","tracks", 0 ,"mixer_device", "panning");
post("\n=== NewObject.path: ",NewObject.path);
The path comes back as:
js: === NewObject.path: "live_set tracks 0 mixer_device"
Other things I've tried:
1) just sending in the string "live_set tracks 0 mixer_device panning"
2) using the goto function
In both cases I get the same error.
Previously I was sent a nice bit of code that shows this workig well with the live.path coupled with the live.observer but I can't seem to get the same thing to work in javascript via the LiveAPI.
Any thoughts and help would be greatly appreciated.
Thanks,
Brett
I had posted a while back on the Live API where I am getting a "jsliveapi: get path: error calculating the path".
Here is the minimum code to get the error:
NewObject = new LiveAPI(this.patcher, null, "live_set","tracks", 0 ,"mixer_device", "panning");
post("\n=== NewObject.path: ",NewObject.path);
The path comes back as:
js: === NewObject.path: "live_set tracks 0 mixer_device"
Other things I've tried:
1) just sending in the string "live_set tracks 0 mixer_device panning"
2) using the goto function
In both cases I get the same error.
Previously I was sent a nice bit of code that shows this workig well with the live.path coupled with the live.observer but I can't seem to get the same thing to work in javascript via the LiveAPI.
Any thoughts and help would be greatly appreciated.
Thanks,
Brett