« Return to Thread: NotificationCenter, Server, Buffer,

Re: NotificationCenter, Server, Buffer,

by felix-38 :: Rate this Message:

Reply to Author | View in Thread

if so, then something illogical is in place.

*initClass {

Class.initClassTree(ServerOptions);

Class.initClassTree(NotificationCenter); // <- initialised here

named = IdentityDictionary.new;

set = Set.new;

internal = Server.new(\internal, NetAddr.new); // <- creating here

                     // then doing newAllocators



so it suggests that NotificationCenter failed to initialize.

is your copy of that up to date ?


is your entire library up to date ?


default = local = Server.new(\localhost, NetAddr("127.0.0.1", 57110));

program = "cd " ++ String.scDir.quote ++ "; ./scsynth";

}




On Sat, May 10, 2008 at 12:41 PM, John Glover <glover.john@...> wrote:
Hello,

This change to Server.sc gives me the following error in windows, latest svn.

ERROR: Message 'at' not understood.
RECEIVER:
  nil
ARGS:
Instance of Server {    (03582F30, gc=0C, fmt=00, flg=00, set=06)
 instance variables [42]
   dependants : nil
   name : Symbol 'localhost'
   addr : instance of NetAddr (03582EF0, size=4, set=2)
   clientID : Integer 0
   isLocal : true
   inProcess : false
   serverRunning : false
   serverBooting : false
   bootNotifyFirst : false
   options : instance of ServerOptions (03583150, size=23, set=5)
   latency : Float 0.2   3FC99999 9999999A
   dumpMode : Integer 0
   notified : true
   nodeAllocator : instance of NodeIDAllocator (035824D0, size=6, set=3)
   controlBusAllocator : instance of ContiguousBlockAllocator
(03581940, size=5, set=3)
   audioBusAllocator : instance of ContiguousBlockAllocator
(03581270, size=5, set=3)
   bufferAllocator : instance of ContiguousBlockAllocator (03580780,
size=5, set=3)
   syncThread : nil
   syncTasks : nil
   numUGens : Integer 0
   numSynths : Integer 0
   numGroups : Integer 0
   numSynthDefs : Integer 0
   avgCPU : nil
   peakCPU : nil
   sampleRate : nil
   actualSampleRate : nil
   alive : false
   booting : false
   aliveThread : nil
   aliveThreadPeriod : Float 0.7   3FE66666 66666666
   statusWatcher : nil
   tree : nil
   window : nil
   scopeWindow : nil
   emacsbuf : nil
   recordBuf : nil
   recordNode : nil
   recHeaderFormat : "aiff"
   recSampleFormat : "float"
   recChannels : Integer 2
   volume : nil
}
  Symbol 'newAllocators'
CALL STACK:
       DoesNotUnderstandError:reportError   0357FEA0
               arg this = <instance of DoesNotUnderstandError>
       Nil:handleError   0357FDB0
               arg this = nil
               arg error = <instance of DoesNotUnderstandError>
       Thread:handleError   0357F800
               arg this = <instance of Thread>
               arg error = <instance of DoesNotUnderstandError>
       Object:throw   0357F740
               arg this = <instance of DoesNotUnderstandError>
       Object:doesNotUnderstand   0357FCC0
               arg this = nil
               arg selector = 'at'
               arg args = [*2]
       Meta_NotificationCenter:notify   0357F500
               arg this = class NotificationCenter
               arg object = <instance of Server>
               arg message = 'newAllocators'
               arg args = nil
       Server:newAllocators   03580390
               arg this = <instance of Server>
       Server:init   0357F600
               arg this = <instance of Server>
               arg argName = 'localhost'
               arg argAddr = <instance of NetAddr>
               arg argOptions = nil
               arg argClientID = 0
       Meta_Server:initClass   03580B10
               arg this = class Server
       Meta_Class:initClassTree   035809C0
               arg this = class Class
               arg aClass = class Server
               var implementsInitClass = nil
       ArrayedCollection:do   03580720
               arg this = [*2]
               arg function = <instance of Function>
               var i = 1
       Meta_Class:initClassTree   03580660
               arg this = class Class
               arg aClass = class Model
               var implementsInitClass = nil
       ArrayedCollection:do   0357FF60
               arg this = [*319]
               arg function = <instance of Function>
               var i = 3
       Meta_Class:initClassTree   0357FD50
               arg this = class Class
               arg aClass = class Object
               var implementsInitClass = nil
       Process:startup   0357F3C0
               arg this = <instance of Main>
               var time = 1210415898.28125
       Main:startup   0357F360
               arg this = <instance of Main>




John


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

 « Return to Thread: NotificationCenter, Server, Buffer,