This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2016-03-20
Channels
- # beginners (7)
- # boot (39)
- # braid-chat (3)
- # braveandtrue (1)
- # cider (27)
- # cljsjs (15)
- # cljsrn (6)
- # clojars (18)
- # clojure (307)
- # clojure-art (1)
- # clojure-brasil (1)
- # clojure-italy (2)
- # clojure-poland (3)
- # clojure-russia (61)
- # clojure-sdn (2)
- # clojure-taiwan (4)
- # clojure-uk (5)
- # clojurebridge (7)
- # clojurescript (19)
- # core-async (1)
- # core-matrix (1)
- # cursive (35)
- # datomic (3)
- # emacs (51)
- # euroclojure (3)
- # hoplon (20)
- # jobs (1)
- # keechma (1)
- # mount (3)
- # off-topic (2)
- # om (177)
- # onyx (96)
- # parinfer (4)
- # pedestal (4)
- # re-frame (19)
- # reagent (7)
- # untangled (5)
I just update cursive, but I’m getting dependency cycle errors (time.clj -> time.clj). I’m not using time.clj anywhere and everything worked with the previous version. Is this due to a transitive dependency’s cyclic require?
It appears to be an issue when requiring the manifold.deferred namespace. Has anyone else had errors using manifold with cursive?
I can’t find the cyclic dependency in manifold’s time.clj. Manually executing load-file
in the REPL works.
@cfleming: I'm getting Can't load PluginDescriptor[name='Cursive', classpath='/tmp/plugin/clojure-plugin']: until build 143.9999 does not match IU-145.258
@rauh: That message means that the plugin is the v15 version, and IntelliJ is v2016. If you go to Settings->Plugins can you update it?
@joshg: There were a couple of bugs fixed in the transitive loading. I’ll try to reproduce with that. When are you getting that - when doing “Sync files in REPL”?
@joshg: There have been some issues with manifold in the past, it does some crazy things: https://github.com/cursive-ide/cursive/issues/535
In particular, it uses bare require
outside the ns
form because that way clojure doesn’t complain about dependency cycles. I can’t remember what the fix from that issue was, I’ll look tomorrow morning. Could you file an issue for that?
alternately, if I call load-file
, it loads and executes fine (as it did in the previous cursive version)
@cfleming: Yes, I've clicked update a few times and it downloads properly. But it doesn't seem to get loaded. I just tried with the Community edition instead and it seems to work. Though the source code highlighting is really weird.
@rauh: That’s very strange. Try downloading http://updates.cursive-ide.com/downloads/cursive-1.2.1-2016.1.zip and installing from disk.
IntelliJ’s update mechanism drives me nuts, I can’t figure out how to make it reliable when upgrading platform versions.
Is there a way to turn off Cursive’s transitive cyclic dependency checking in favor or Clojure’s looser requirements? It’s not a huge issue, as I can just manually execute load-file
in the repl. It’s just nice to do that from a keybinding.
@joshg: Yes, Settings->Languages and Frameworks->Clojure->Load out of date dependencies transitively
@cfleming: Yeah I may have had some modifications. I'm looking into that. Therer is "Dracula (Copy)" theme. Mainly the keywords used to be in a different color. Would have to check if there is more...
@cfleming: It was only really the keyword color which I copied from my previous color schema and all looks normal. I guess it looked really weird since the code is littered with keywords . All working now.
If I parinfer (like tab) and then undo, the cursor jumps way back to the last edit (not where I was).
@cfleming: Parinfer edit mode also makes the (ns (:require etc...
autocomplete/suggester not work (ie no popup). Well, it still comes up manually (with a CTRL+SPACE
). So not a biggie
@rauh: Looks like this was part of your problem: https://github.com/cursive-ide/cursive/issues/1300