This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-28
Channels
- # beginners (122)
- # boot (5)
- # cider (30)
- # clojure (16)
- # clojure-berlin (1)
- # clojure-dev (7)
- # clojure-spec (2)
- # clojure-uk (31)
- # clojurescript (3)
- # core-async (1)
- # cursive (5)
- # hoplon (38)
- # keechma (1)
- # leiningen (4)
- # off-topic (9)
- # onyx (2)
- # re-frame (32)
- # reagent (3)
- # reitit (11)
- # rum (1)
- # shadow-cljs (187)
- # spacemacs (3)
- # tools-deps (9)
- # uncomplicate (15)
- # vim (2)
i run 2 to 3 repls at work. i've just gotten into the habit of making a frame for each. I wrote a package to help resize windows which helps because "current session" is dictated entirely by last repl buffer you were in
Nice! I’m used to the old CIDER functionally global instance behavior and just trying to get acclimated.
I’m getting Namespace not found.
messages but don’t understand why — things I’ve checked
- namespace can be loaded (require 'namespace)
- filename corresponds to namespace name
- functions from that namespace can be called in repl after loading it with C-c C-k
I didn’t update, anything but did restart the nrepl session/server/process
I’m also not seeing anything else besides that message in *Messages*
Guess I’ll just upgrade all my packages and hope for the best lol ¯\(ツ)/¯
I just created it a few minutes ago, not sure if that qualifies as new @dpsutton 😄
I updated all packages and restarted emacs — and it’s working again 😄
that sounds like it could have been it — I found a bunch of issues in github related to namespace not found
— maybe it’s a good idea to open an issue to make this easier to find? (maybe even immidiately close it)
this is more internal discussion and not a "observed problem" -> "solution". I think the solution is to kill the buffer which kills the buffer-local cached value
I sometimes get namespace not found
and figured out my case finally. Under cygwin
I have symlinked dropbox folder from the other drive. When I create from emacs, path is like ~/dropbox-clj/..../project/src/bbbb.clj
. Namespace name is (ns cygdrive.d.Dropbox....project.bbbb)
. And now, when I change ns
to (ns project.bbbb)
I'm getting Namespace not found
. c-c c-k
works perfectly but c-x c-e
on a sexp give an error. Reloading a file solves a problem.
I know that java sees paths as they are on Windows, Emacs sees paths as they are on Cygwin. I remeber that there are functions in cider (or clojure mode) already which take care about translating one into another. Probably case with symlinked folder is too much and it's extreme corner case here.