New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix node map controls example #330

Closed
wants to merge 1 commit into
base: master
from

Conversation

Projects
None yet
1 participant
@jwalgran

jwalgran commented Jun 25, 2015

As originally written, evaluating the expression on line 85 raised the exception below. Wrapping up the parameter number and bus number as a vector works.

1. Caused by java.lang.IllegalArgumentException
   No single method: node_map_controls of interface:
   overtone.sc.node.IControllableNode found for function:
   node-map-controls of protocol: IControllableNode

                 Compiler.java: 3518  clojure.lang.Compiler$InvokeExpr/<init>
                 Compiler.java: 3725  clojure.lang.Compiler$InvokeExpr/parse
                 Compiler.java: 6646  clojure.lang.Compiler/analyzeSeq
                 Compiler.java: 6445  clojure.lang.Compiler/analyze
                 Compiler.java: 6406  clojure.lang.Compiler/analyze
                 Compiler.java: 5782  clojure.lang.Compiler$BodyExpr$Parser/parse
                 Compiler.java: 5217  clojure.lang.Compiler$FnMethod/parse
                 Compiler.java: 3846  clojure.lang.Compiler$FnExpr/parse
                 Compiler.java: 6642  clojure.lang.Compiler/analyzeSeq
                 Compiler.java: 6445  clojure.lang.Compiler/analyze
                 Compiler.java: 6700  clojure.lang.Compiler/eval
Fix node map controls example
As originally written, evaluating the expression on line 85 raised the exception below. Wrapping up the parameter number and bus number as a vector works. 

```
1. Caused by java.lang.IllegalArgumentException
   No single method: node_map_controls of interface:
   overtone.sc.node.IControllableNode found for function:
   node-map-controls of protocol: IControllableNode

                 Compiler.java: 3518  clojure.lang.Compiler$InvokeExpr/<init>
                 Compiler.java: 3725  clojure.lang.Compiler$InvokeExpr/parse
                 Compiler.java: 6646  clojure.lang.Compiler/analyzeSeq
                 Compiler.java: 6445  clojure.lang.Compiler/analyze
                 Compiler.java: 6406  clojure.lang.Compiler/analyze
                 Compiler.java: 5782  clojure.lang.Compiler$BodyExpr$Parser/parse
                 Compiler.java: 5217  clojure.lang.Compiler$FnMethod/parse
                 Compiler.java: 3846  clojure.lang.Compiler$FnExpr/parse
                 Compiler.java: 6642  clojure.lang.Compiler/analyzeSeq
                 Compiler.java: 6445  clojure.lang.Compiler/analyze
                 Compiler.java: 6700  clojure.lang.Compiler/eval
```

@jwalgran jwalgran closed this Nov 1, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment