This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-05-16
Channels
- # admin-announcements (3)
- # arachne (9)
- # beginners (10)
- # boot (56)
- # cider (4)
- # cljs-dev (5)
- # cljsjs (4)
- # cljsrn (3)
- # clojure (146)
- # clojure-austin (9)
- # clojure-greece (3)
- # clojure-poland (14)
- # clojure-russia (1)
- # clojure-uk (19)
- # clojurescript (46)
- # cursive (16)
- # datomic (21)
- # emacs (38)
- # events (2)
- # flambo (1)
- # garden (3)
- # hoplon (41)
- # jobs (1)
- # keechma (87)
- # off-topic (2)
- # om (62)
- # om-next (4)
- # other-languages (7)
- # pedestal (6)
- # protorepl (1)
- # reagent (3)
- # rethinkdb (1)
- # ring-swagger (1)
- # rum (3)
- # spacemacs (2)
- # specter (12)
- # test200 (2)
- # untangled (12)
@sveri: don’t have a screenshot handy at the mo, but it is something like “Method cannot be evaluated ..."
@danielcompton: That sounds like you might have a line breakpoint with a condition?
Yep I’ve got those too
Don’t think so, the condition was just (= token 2)
Ok, well, send over a screenshot if it happens again, hopefully I’ll recognise what’s going on.
How do I get Cursive to reload my source files in the connected REPL? When I “Load file in REPL”, it does not seem to actually load the file I’m working on, but it shows some warnings about replaced symbols.
Sometimes Cursive refuses to switch to the NS of the file I’m working in. Is it because there is a bug in my code?
…maybe these two issues are related to my environment or project.
there is a command called reload modified files or something similar, have you tried that one?
Yeah same thing happens when I call “Sync files in REPL…” It shows the following:
Loading src/my-project/data/queries.clj...
WARNING: update already refers to: #'clojure.core/update in namespace: telemetrics.data.queries, being replaced by: #'honeysql.helpers/update
WARNING: partition-by already refers to: #'clojure.core/partition-by in namespace: telemetrics.data.queries, being replaced by: #'honeysql-postgres.helpers/partition-by
and then stops. It’s like it’s failing silently.
Is there a hidden Cursive log somewhere?Think I figured it out. One of my namespaces’ require was quietly failing to import a symbol. When I took out the broken :refer, everything seemed to start working again.
Hmm, maybe spoke too soon
@petrus: That error means you’re defining functions called update
and partition-by
, which override functions in core. It’s not a Cursive error, you’d get the same in lein repl
. You can avoid the errors using (:refer-clojure :exclude [update partition-by])
in your ns form, or rename those functions.