byulparan / cl-collider

A SuperCollider client for CommonLisp
Other
222 stars 23 forks source link

Problems with recent commits #49

Closed defaultxr closed 6 years ago

defaultxr commented 6 years ago

Hi,

I'm getting some errors after pulling the latest commit (ea6ba04):

SC> (setf *sc-plugin-paths* (list
                         ;; "/usr/share/SuperCollider/Extensions/"
                         "/usr/lib/SuperCollider/plugins/"
                         "/usr/share/SuperCollider/Extensions/"))
(setf *sc-synth-program* "/usr/bin/scsynth")
(setf *s* (make-external-server "localhost" :port 4444))
#<EXTERNAL-SERVER localhost-127.0.0.1:4444>
SC> (server-boot *s*)

The error:

The function CL-COLLIDER::SC-REPLY-THREAD is undefined.
   [Condition of type UNDEFINED-FUNCTION]

Restarts:
 0: [CONTINUE] Retry calling SC-REPLY-THREAD.
 1: [USE-VALUE] Call specified function.
 2: [RETURN-VALUE] Return specified values.
 3: [RETURN-NOTHING] Return zero values.
 4: [RETRY] Retry SLIME REPL evaluation request.
 5: [*ABORT] Return to SLIME's top level.
 --more--

Backtrace:
  0: ("undefined function" #<EXTERNAL-SERVER localhost-127.0.0.1:4444>)
  1: (SYNC #<EXTERNAL-SERVER localhost-127.0.0.1:4444>)
  2: (MAKE-GROUP :ID 1 :SERVER NIL :POS :HEAD :TO 0)
  3: (GROUP-FREE-ALL #<EXTERNAL-SERVER localhost-127.0.0.1:4444>)
  4: ((:METHOD SERVER-BOOT (RT-SERVER)) #<EXTERNAL-SERVER localhost-127.0.0.1:4444>) [fast-method]
  5: (SB-INT:SIMPLE-EVAL-IN-LEXENV (SERVER-BOOT *S*) #<NULL-LEXENV>)
  6: (EVAL (SERVER-BOOT *S*))

Running SBCL 1.4.8 on Arch Linux, if that matters.

byulparan commented 6 years ago

ah! sorry... it's fixed. implements to sc-reply-thread which return listening thread.

defaultxr commented 6 years ago

Working now, thanks much! :)