Knob quark broken?

View: New views
2 Messages — Rating Filter:   Alert me  

Knob quark broken?

by Iannis Zannos-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,
I installed the Knob quark and tried the following example from the help file:

// examples
(
var window, size = 32; // try different sizes - from 15 to 200 or more!
window = SCWindow.new("Knob", Rect(640,630,270,70)).front;
k = Knob.new(window, Rect(20, 10, size, size));
k.action_({|v,x,y,m| postf("action func called: %\n", v.value); });
//k.color[1] = Color.gray(alpha:0);
)

The error message is attached below.
Any help in fixing this?

Iannis Zannos

 =======================================================================

ERROR: Message 'knob' not understood.
RECEIVER:
   nil
ARGS:
CALL STACK:
    DoesNotUnderstandError:reportError   15E818B0
        arg this = <instance of DoesNotUnderstandError>
    Nil:handleError   15E81850
        arg this = nil
        arg error = <instance of DoesNotUnderstandError>
    Thread:handleError   15E81AF0
        arg this = <instance of Thread>
        arg error = <instance of DoesNotUnderstandError>
    Object:throw   15E817F0
        arg this = <instance of DoesNotUnderstandError>
    Object:doesNotUnderstand   15E81610
        arg this = nil
        arg selector = 'knob'
        arg args = [*0]
    Knob:init
ERROR: Message 'knob' not understood.
RECEIVER:
   nil
ARGS:
CALL STACK:
    DoesNotUnderstandError:reportError   1600D310
        arg this = <instance of DoesNotUnderstandError>
    Nil:handleError   1600D2B0
        arg this = nil
        arg error = <instance of DoesNotUnderstandError>
    Thread:handleError   1600D3D0
        arg this = <instance of Thread>
        arg error = <instance of DoesNotUnderstandError>
    Object:throw   1600D370
        arg this = <instance of DoesNotUnderstandError>
    Object:doesNotUnderstand   1600CE90
        arg this = nil
        arg selector = 'knob'
        arg args = [*0]
    Knob:init   164E4630
        arg this = <instance of Knob>
        arg parent = <instance of SCWindow>
        arg bounds = <instance of Rect>
        var size = nil
        var widthDiv2 = nil
        var center = nil
    < closed FunctionDef >   1600CEF0


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

Re: Knob quark broken?

by blackrain-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

you are using an old build.
is this in os x or linux with SwingOsc?

if using os x, update to a newer build - Josh's builds at
RealizedSounds d/ls are cool.
http://sourceforge.net/project/showfiles.php?group_id=155616

on linux you will have to checkout the latest source from svn and build it.

On Wed, May 7, 2008 at 1:15 AM, Iannis Zannos <zannos@...> wrote:

>
> Hello,
> I installed the Knob quark and tried the following example from the help
> file:
>
> // examples
> (
> var window, size = 32; // try different sizes - from 15 to 200 or more!
> window = SCWindow.new("Knob", Rect(640,630,270,70)).front;
>  k = Knob.new(window, Rect(20, 10, size, size));
> k.action_({|v,x,y,m| postf("action func called: %\n", v.value); });
> //k.color[1] = Color.gray(alpha:0);
> )
>
> The error message is attached below.
>  Any help in fixing this?
>
> Iannis Zannos
>
>  =======================================================================
>
> ERROR: Message 'knob' not understood.
> RECEIVER:
>    nil
> ARGS:
> CALL STACK:
>      DoesNotUnderstandError:reportError   15E818B0
>         arg this = <instance of DoesNotUnderstandError>
>     Nil:handleError   15E81850
>         arg this = nil
>         arg error = <instance of DoesNotUnderstandError>
>      Thread:handleError   15E81AF0
>         arg this = <instance of Thread>
>         arg error = <instance of DoesNotUnderstandError>
>     Object:throw   15E817F0
>         arg this = <instance of DoesNotUnderstandError>
>      Object:doesNotUnderstand   15E81610
>         arg this = nil
>         arg selector = 'knob'
>         arg args = [*0]
>     Knob:init
> ERROR: Message 'knob' not understood.
> RECEIVER:
>    nil
>  ARGS:
> CALL STACK:
>     DoesNotUnderstandError:reportError   1600D310
>         arg this = <instance of DoesNotUnderstandError>
>     Nil:handleError   1600D2B0
>         arg this = nil
>         arg error = <instance of DoesNotUnderstandError>
>      Thread:handleError   1600D3D0
>         arg this = <instance of Thread>
>         arg error = <instance of DoesNotUnderstandError>
>     Object:throw   1600D370
>         arg this = <instance of DoesNotUnderstandError>
>      Object:doesNotUnderstand   1600CE90
>         arg this = nil
>         arg selector = 'knob'
>         arg args = [*0]
>     Knob:init   164E4630
>         arg this = <instance of Knob>
>         arg parent = <instance of SCWindow>
>          arg bounds = <instance of Rect>
>         var size = nil
>         var widthDiv2 = nil
>         var center = nil
>     < closed FunctionDef >   1600CEF0
>
>
> _______________________________________________
>  sc-users mailing list
>  sc-users@...
>  http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>
>
_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users