the error happened here I think:
listSendBundle { arg time, msgs;
// if( slowOSC, {
// dispPending.addAll( msgs ); // no timetags for now
// dispCond.test = true;
// dispCond.signal;
// }, {
msgs = msgs.asArray;
addr.sendBundle( time, *msgs )
// });
where msgs bundle had to be explicitly declared as array. this happens in
netaddr too
in a few places, and my feeling is that netaddr needs to be patched too. maybe
you can isolate the problem!
good luck,
k
altern said :
> sure but i realy want to get this working, i am trying to fully port
> ixiQuarks to SwingOSC and I have some time to work on this over the
> next weeks so maybe i can give it a try. Do you have any idea where
> those .asArray have to be added or how can I find?. I would call the
> error message everything but self-explanatory ...
>
> enrike
>
> ar., 2010.eko marren 02a 13:45(e)an, Karsten Gebbert(e)k idatzi zuen:
> >Hi Enrike,
> >
> >indeed i had this very same problem too, and applied the patch from
> >Holger
> >Ballweg to SwingOSC.sc but also ran into more problem of this kind. I
> >personally
> >havn't had any time to figure out whats going wrong yet, but its
> >probably as
> >trivial as adding .asArray to some msg bundle object. Would you mind
> >filing a
> >bug report for this, so can keep track of it for the next bug-fix release? I
> >can
> >do it too though, if you can't...
> >
> >Let me know!
> >
> >karsten
> >
> >altern said :
> >>hi
> >>
> >>i am getting an error in supercollider when I run this code
> >>
> >>GUI.dialog.getPaths({ arg paths; paths.postln; });
> >>
> >>I paste the error at the bottom of the mail. I searched in the
> >>supercollider users list archive to find a couple of mails refering
> >>to this error.
> >>http://www.listarc.bham.ac.uk/lists/sc-users/msg52451.html
> >>
> >>However this solution seems to be already in the code of SwingOSC.sc
> >>in PureDyne
> >>
> >>any ideas? I asked yesterday in the supercollider mailing list but
> >>none answers, i thought everyone using puredyne should be getting
> >>this very same error.
> >>
> >>enrike
> >>
> >>
> >>
> >>ERROR: List array not an Array.
> >>Instance of Array { (098DB290, gc=A4, fmt=01, flg=00, set=03)
> >> indexed slots [6]
> >> 0 : Symbol '/local'
> >> 1 : Integer 1122
> >> 2 : Symbol '['
> >> 3 : Symbol '/new'
> >> 4 : Symbol 'java.awt.Frame'
> >> 5 : Symbol ']'
> >>}
> >>ERROR: Primitive '_ObjectPerformList' failed.
> >>Wrong type.
> >>RECEIVER:
> >>Instance of NetAddr { (B6991B70, gc=A8, fmt=00, flg=00, set=02)
> >> instance variables [4]
> >> addr : Integer 2130706433
> >> port : Integer 57111
> >> hostname : "127.0.0.1"
> >> socket : RawPointer 87A6220
> >>}
> >>CALL STACK:
> >> MethodError:reportError 098DB4D0
> >> arg this =<instance of PrimitiveFailedError>
> >> Nil:handleError 098DB470
> >> arg this = nil
> >> arg error =<instance of PrimitiveFailedError>
> >> Thread:handleError 098DB410
> >> arg this =<instance of Thread>
> >> arg error =<instance of PrimitiveFailedError>
> >> Object:throw 098DB3B0
> >> arg this =<instance of PrimitiveFailedError>
> >> Object:primitiveFailed 098DB350
> >> arg this =<instance of NetAddr>
> >> SwingOSC:listSendMsg 098DB2F0
> >> arg this =<instance of SwingOSC>
> >> arg msg =<instance of List>
> >> JavaObject:prInitJavaObject 097B3730
> >> arg this =<instance of JavaObject>
> >> arg className = 'java.awt.Frame'
> >> arg argServer =<instance of SwingOSC>
> >> arg args = [*0]
> >> var msg =<instance of List>
> >> Meta_SwingDialog:prShowDialog B69BFE00
> >> arg this = class SwingDialog
> >> arg title = "Open"
> >> arg mode = 0
> >> var server =<instance of SwingOSC>
> >> var swing = nil
> >> var dlg = nil
> >> var frame = nil
> >> var file = nil
> >> var dir = nil
> >> var isOk = nil
> >> var visible = nil
> >> var wResp = nil
> >> var wJResp = nil
> >> var cResp = nil
> >> var cJResp = nil
> >> var fDone = nil
> >> var err = nil
> >> Meta_SwingDialog:prGetPathsDialog 098DB170
> >> arg this = class SwingDialog
> >> arg argResult = [*0]
> >> Meta_SwingDialog:getPaths 097E73F0
> >> arg this = class SwingDialog
> >> arg okFunc =<instance of Function>
> >> arg cancelFunc = nil
> >> arg maxSize = 20
> >> Interpreter:interpretPrintCmdLine 097E4AB0
> >> arg this =<instance of Interpreter>
> >> var res = nil
> >> var func =<instance of Function>
> >> var code = "GUI.dialog.getPaths({arg pat..."
> >> var doc = nil
> >> Process:interpretPrintCmdLine 098DB110
> >> arg this =<instance of Main>
> >>
> >>
> >>---
> >>[email protected]
> >>http://identi.ca/group/puredyne
> >>irc://irc.goto10.org/puredyne
> >>
> >
> >---
> >[email protected]
> >http://identi.ca/group/puredyne
> >irc://irc.goto10.org/puredyne
> >
>
>
> ---
> [email protected]
> http://identi.ca/group/puredyne
> irc://irc.goto10.org/puredyne
>
---
[email protected]
http://identi.ca/group/puredyne
irc://irc.goto10.org/puredyne