Page 1 of 1

my [js] object is missing outlets...?

Posted: Wed Nov 04, 2015 3:14 pm
by jaschanarveson
I have a js object in a M4L device which is *had* 4 outlets until I started working on it – now it has only 1.

The code still specifies 4 outlets with "outlets = 4;" up at the top, but three of them have just gone missing.

I’ve tried quitting-and-restarting a couple of times, I've verified that the .js file is where it should be, and that the M4L device is in the same directory as its .js file - all seems well, but my outlets are still missing.

Advice?

– jascha

MacBook Pro mid-2010 | OSX 10.10.5 | Ableton Live 9.2.2 | Max 7.0.6

Re: my [js] object is missing outlets...?

Posted: Wed Nov 04, 2015 5:40 pm
by stringtapper
Just a shot in the dark here because I haven't worked with [js] objects but could you perhaps have more than one copy of the object in your search path?

Re: my [js] object is missing outlets...?

Posted: Wed Nov 04, 2015 7:36 pm
by S4racen
stringtapper wrote:Just a shot in the dark here because I haven't worked with [js] objects but could you perhaps have more than one copy of the object in your search path?
This was the fault when i had a similar problem...

Cheers
D

Re: my [js] object is missing outlets...?

Posted: Thu Nov 05, 2015 12:09 pm
by jaschanarveson
Ok, mea culpa: it was a very small syntax error in my js code that I just wasn't seeing at the time, breaking the program and the object. Totally my fault, I'm glad to say!

cheers,

j