Hi all,
I'm getting the following error in the pd window when I try to use send/receive names like $1/$2:
error: #1/$2: argument number out of range error: #1/gui/$2: argument number out of range
Yet, they seem to be working... should I just ignore this error message or does anyone know if I will be having bugs in my patches?
regards, Rich
Can you attach your patch and abstractions ? ++
Jack
Le 23 nov. 08 à 20:41, Rich E a écrit :
Hi all,
I'm getting the following error in the pd window when I try to use send/receive names like $1/$2:
error: #1/$2: argument number out of range error: #1/gui/$2: argument number out of range
Yet, they seem to be working... should I just ignore this error message or does anyone know if I will be having bugs in my patches?
regards, Rich
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Maybe this happens before the variables have been given values? A [loadbang] with a value might get rid of the error message, if it only happens at the startup of the patch.
It might also be good to know which object gives the error, i.e. "find last error" when you get it.
d.
Jack wrote:
Can you attach your patch and abstractions ? ++
Jack
Le 23 nov. 08 à 20:41, Rich E a écrit :
Hi all,
I'm getting the following error in the pd window when I try to use send/receive names like $1/$2:
error: #1/$2: argument number out of range error: #1/gui/$2: argument number out of range
Yet, they seem to be working... should I just ignore this error message or does anyone know if I will be having bugs in my patches?
Hallo, Rich E hat gesagt: // Rich E wrote:
I'm getting the following error in the pd window when I try to use send/receive names like $1/$2:
error: #1/$2: argument number out of range error: #1/gui/$2: argument number out of range
Are you really using #1 or rather $1 here?
Anyway the error "argument number out of range" usually comes from message boxes that get a list which is shorter than the biggest dollar variable in it, like this:
[1 2 3( | [$4(
It generally has nothing to do with send/receive. So I'd recommend to look for dollar signs in message boxes and check their inputs.
Frank Barknecht Do You RjDj.me? _ ______footils.org__
I've been messing around trying to get this error message in different ways. It does not happen from the native pd number box, but every other GUI object seems to produce it.
On Mon, Nov 24, 2008 at 10:08 AM, Frank Barknecht fbar@footils.org wrote:
Hallo, Rich E hat gesagt: // Rich E wrote:
I'm getting the following error in the pd window when I try to use send/receive names like $1/$2:
error: #1/$2: argument number out of range error: #1/gui/$2: argument number out of range
Are you really using #1 or rather $1 here?
I'm using $ signs, but when the properties dialog has been saved, closed, and reopened, it is a # sign.
I also received this error with the following send/received names: error: /insert/$1/send_vol: argument number out of range error: /insert/$1/gui/send_vol: argument number out of range
Even something like: /$1/yo produces this error, but it does work still.
Again, when I close the properties dialog and reopen the $ has changed to a #.
Anyway the error "argument number out of range" usually comes from message boxes that get a list which is shorter than the biggest dollar variable in it, like this:
[1 2 3( | [$4(
It generally has nothing to do with send/receive. So I'd recommend to look for dollar signs in message boxes and check their inputs.
In this case, should pd just replace the dollar sign with a 0?
Ciao
Frank Barknecht Do You RjDj.me? _ ______footils.org__
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
ahh, the problem is with gui objects? do they even support the new way of handling $???