Git Product home page Git Product logo

clj-gapi's People

Contributors

al3x avatar danielsz avatar galdolber avatar ianbarber avatar leontalbot avatar whamtet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

clj-gapi's Issues

Strange error when typing generated namespace method

After generating namespaced methods (for analytics, in my case), I started type the name of one of the methods into the REPL and got slapped with this as soon as finish typing the full method name or click on it in Emacs:

                                  java.lang.Thread.run              Thread.java:  745
    java.util.concurrent.ThreadPoolExecutor$Worker.run  ThreadPoolExecutor.java:  617
     java.util.concurrent.ThreadPoolExecutor.runWorker  ThreadPoolExecutor.java: 1142
                   java.util.concurrent.FutureTask.run          FutureTask.java:  266
                                                   ...                               
                   clojure.core/binding-conveyor-fn/fn                 core.clj: 1910
                  clojure.tools.nrepl.server/handle/fn               server.clj:   28
                    clojure.tools.nrepl.server/handle*               server.clj:   19
clojure.tools.nrepl.middleware/wrap-conj-descriptor/fn           middleware.clj:   24
      cider.nrepl.middleware.complete/wrap-complete/fn             complete.clj:   47
clojure.tools.nrepl.middleware/wrap-conj-descriptor/fn           middleware.clj:   24
              cider.nrepl.middleware.info/wrap-info/fn                 info.clj:  261
               cider.nrepl.middleware.info/eldoc-reply                 info.clj:  248
        clojure.tools.nrepl.transport.FnTransport/send            transport.clj:   28
                           clojure.walk/stringify-keys                 walk.clj:  107
                                 clojure.walk/postwalk                 walk.clj:   58
                                     clojure.walk/walk                 walk.clj:   49
                                     clojure.core/into                 core.clj: 6341
                                   clojure.core/reduce                 core.clj: 6289
                           clojure.core.protocols/fn/G            protocols.clj:   13
                             clojure.core.protocols/fn            protocols.clj:   54
                     clojure.core.protocols/seq-reduce            protocols.clj:   31
                           clojure.core.protocols/fn/G            protocols.clj:   19
                             clojure.core.protocols/fn            protocols.clj:  146
                                     clojure.core/next                 core.clj:   64
                                                   ...                               
                                   clojure.core/map/fn                 core.clj: 2559
                                                   ...                               
                               clojure.core/partial/fn                 core.clj: 2468
                                    clojure.core/apply                 core.clj:  626
                                                   ...                               
                                 clojure.walk/postwalk                 walk.clj:   58
                                     clojure.walk/walk                 walk.clj:   45
                                      clojure.core/vec                 core.clj:  354
                                                   ...                               
                                   clojure.core/map/fn                 core.clj: 2557
                                                   ...                               
                               clojure.core/partial/fn                 core.clj: 2468
                                    clojure.core/apply                 core.clj:  626
                                                   ...                               
                                 clojure.walk/postwalk                 walk.clj:   58
                                     clojure.walk/walk                 walk.clj:   46
                                    clojure.core/doall                 core.clj: 2871
                                    clojure.core/dorun                 core.clj: 2855
                                      clojure.core/seq                 core.clj:  133
                                                   ...                               
                                   clojure.core/map/fn                 core.clj: 2551
                                      clojure.core/seq                 core.clj:  133
                                                   ...                               
                                   clojure.core/map/fn                 core.clj: 2557
           cider.nrepl.middleware.info/format-eldoc/fn                 info.clj:  236
                                     clojure.core/mapv                 core.clj: 6353
                                   clojure.core/reduce                 core.clj: 6289
                           clojure.core.protocols/fn/G            protocols.clj:   13
                             clojure.core.protocols/fn            protocols.clj:   42
                     clojure.core.protocols/seq-reduce            protocols.clj:   30
                                      clojure.core/seq                 core.clj:  133
                                                   ...                               
java.lang.IllegalArgumentException: Don't know how to create ISeq from: clojure.lang.Symbol

Any idea what's going on?

No method in multimethod "callfn"

Hello Ian,

I tried to follow the instructions of the README.

After supplying my API key:

(def auth (gapi.auth/create-auth "YOUR_API_KEY"))

Any method I try result in this error:

IllegalArgumentException No method in multimethod 'callfn' for dispatch value:\|    clojure.lang.AFn.applyToHelper (AFn.java:159)
 DELETE  clojure.lang.MultiFn.getFn (MultiFn.java:121)

I tried

(im auth "plus.activities/search" {"query" "clojure"})

and this

(api-ns auth "https://www.googleapis.com/discovery/v1/apis/plus/v1/rest")

What am I missing?

Note: (list-apis) returns normally with the json.

Release new version

There have been a few merged pull requests over the last new few months, but Clojars still has 1.0.2 from March. A 1.0.3 or 1.1.0 would be great.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.