« Return to Thread: MIDIClient.init broken on linux

Re: MIDIClient.init broken on linux

by felix-38 :: Rate this Message:

Reply to Author | View in Thread

what changed in that checkin is that it calls MIDIClient.list which is the correct way to find out how many ins/outs you have.

does MIDIClient.list not work on linux ?

btw.  list end points sometimes fails on OS X but most of the time works.  its been like that for a long time.  I've never been able to figure it out.
I just compile again and it works.


On Sun, May 4, 2008 at 12:08 PM, Tim Blechmann <tim@...> wrote:
hi all,

the commit number 7509 on svn broke MIDIClient.init on linux:

ERROR: Primitive '_ListMIDIEndpoints' failed.
Failed.
RECEIVER:
class MIDIClient (082DE560) {
 instance variables [19]
   name : Symbol 'MIDIClient'
   nextclass : class MIDIClockOut (081C2B00)
   superclass : Symbol 'Object'
   subclasses : nil
   methods : nil
   instVarNames : nil
   classVarNames : instance of SymbolArray (082DE620, size=3, set=1)
   iprototype : nil
   cprototype : instance of Array (082DE660, size=3, set=2)
   constNames : nil
   constValues : nil
   instanceFormat : Integer 0
   instanceFlags : Integer 0
   classIndex : Integer 449
   classFlags : Integer 0
   maxSubclassIndex : Integer 449
   filenameSymbol : Symbol '/usr/local/share/SuperCollider/
SCClassLibrary/Common/Control/MIDIOut.sc'
   charPos : Integer 213
   classVarIndex : Integer 129
}
CALL STACK:
       MethodError:reportError   B7835840
               arg this = <instance of PrimitiveFailedError>
       Nil:handleError   B7835A30
               arg this = nil
               arg error = <instance of PrimitiveFailedError>
       Thread:handleError   B7835750
               arg this = <instance of Thread>
               arg error = <instance of PrimitiveFailedError>
       Object:throw   B78355C0
               arg this = <instance of PrimitiveFailedError>
       Object:primitiveFailed   B78357B0
               arg this = class MIDIClient
       Meta_MIDIClient:list   B78354D0
               arg this = class MIDIClient
               var list = nil
       Meta_MIDIClient:init   B7835340
               arg this = class MIDIClient
               arg inports = nil
               arg outports = nil
       Interpreter:interpretPrintCmdLine   B7774230
               arg this = <instance of Interpreter>
               var res = nil
               var func = <instance of Function>
               var code = "MIDIClient.init;"
       Process:interpretPrintCmdLine   B7835530
               arg this = <instance of Main>


best, tim

--
tim@...
http://tim.klingt.org

Relying on the government to protect your privacy is like asking a
peeping tom to install your window blinds.
 John Perry Barlow

_______________________________________________
Sc-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel



_______________________________________________
Sc-devel mailing list
Sc-devel@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-devel

 « Return to Thread: MIDIClient.init broken on linux