This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-04-23
Channels
- # announcements (5)
- # aws (4)
- # babashka (141)
- # beginners (139)
- # calva (35)
- # cider (5)
- # clj-kondo (27)
- # cljsrn (20)
- # clojure (37)
- # clojure-czech (5)
- # clojure-dev (26)
- # clojure-europe (11)
- # clojure-germany (1)
- # clojure-italy (1)
- # clojure-nl (3)
- # clojure-spec (17)
- # clojure-uk (16)
- # clojurescript (2)
- # conjure (1)
- # cursive (6)
- # datomic (20)
- # defnpodcast (1)
- # emacs (15)
- # fulcro (26)
- # honeysql (2)
- # instaparse (3)
- # jackdaw (4)
- # jobs (2)
- # lsp (70)
- # luminus (2)
- # meander (16)
- # missionary (2)
- # other-languages (151)
- # pathom (6)
- # portkey (13)
- # re-frame (13)
- # reagent (2)
- # reitit (43)
- # releases (1)
- # remote-jobs (1)
- # reveal (5)
- # rum (2)
- # sci (15)
- # shadow-cljs (37)
- # spacemacs (4)
- # tools-deps (8)
- # vim (20)
I'm still having some namespace issues when sending remote controll commands. I'm sure its something on my end, but maybe you can help me out.
Commands like {:vlaaad.reveal/command ((requiring-resolve (quote vlaaad.reveal.ext/clear-output))), :ns #namespace[user]}
work flawlessly. However, when I try to open a view using {:vlaaad.reveal/command ((requiring-resolve (quote vlaaad.reveal.ext/open-view)) {:fx/type vlaaad.reveal.ext/action-view, :action :vlaaad.reveal.action/view:bar-chart, :value [1 2 3]}), :ns #namespace[user]}
I get a java.lang.ClassNotFoundException
. Successfully evaluating any other commands solves the issue for all subsequent view commands, presumeably by then having required the namespaces.
My first instinct was to wrap action-view
in a requiring-resolve
like so: {:vlaaad.reveal/command ((requiring-resolve (quote vlaaad.reveal.ext/open-view)) {:fx/type (requiring-resolve (quote vlaaad.reveal.ext/action-view)), :action :vlaaad.reveal.action/view:bar-chart, :value [1 2 3]}), :ns #namespace[user]}
, but this results in a java.lang.IllegalArgumentException
: "No implementation of method: :create of protocol: #'cljfx.lifecycle/Lifecycle found for class: clojure.lang.Var"