jpatchline_completeconnection: index out of range.

peterworth@gmail.com's icon

can someone tell me what this means?

from searching other posts it seems it's something to do with conflicts in the search path, but i can't work out where the problem is.

Luke Hall's icon

It happens when you retype an object's arguments so that it reinstantiates itself with less inlets thus breaking a connection. For example create something like a [pack 0 0 0] and patch [number] boxes into all three inlets. Then change the object to [pack 0 0] and you will get this error printed in the max window.

It appears there is a different error message for disconnected inlets and outlets. The outlet message is "jpatchline_new: outlet index out of range".

This can happen when you load a patch containing the [poly~] or [pfft~] objects, especially when copying from the forum as you might not name the subpatches correctly before opening the main patch.

lh

peterworth@gmail.com's icon

i've sorted it now, it seemed to be some kind of corruption in the file - i deleted a couple of patchlines and then put them back exactly the same, and it stopped it giving these errors on loading.

thanks for explaining it