Fork me on GitHub
#cursive
<
2016-12-21
>
cfleming01:12:54

@solussd Is that even valid destructuring? I’d need a pen and paper to check it 🙂

cfleming01:12:41

@eggsyntax That’s very strange. If you navigate to defn does it take you to the right place?

eggsyntax01:12:56

Within the dropdown for the function sig?

cfleming01:12:10

No, if you Cmd/Ctrl-click

cfleming01:12:45

Hmm. Could you try File-&gt;Invalidate Caches and Restart?

cfleming01:12:10

It’ll take a while to reindex, but that might fix the problem - it looks like your indexes have gotten funky.

eggsyntax01:12:42

Cool, I'll let you know how it goes 🙂

eggsyntax01:12:52

Threw an exception when I told it it could go ahead & generate stubs, sent you the exception report.

eggsyntax01:12:25

Dunno if it's related, but I get a dependency resolution error whenever I start it:

Error synchronising ti.harmonium:0.1.0-SNAPSHOT: Failed to collect dependencies for [#object[org.sonatype.aether.graph.Dependency 0x60ce1a9a "adzerk:boot-cljs:jar:1.7.228-1 (test)"] #object[org.sonatype.aether.graph.Dependency 0x6bc025c5 "adzerk:boot-cljs-repl:jar:0.3.2 (test)"]
etc etc, looks like it lists all or most of my dependencies.

eggsyntax01:12:50

It's a moderately large existing project.

eggsyntax01:12:12

Same problem repeats after restart: generating stubs throws exception.

eggsyntax01:12:41

Is it necessary/advisable to inform Cursive of your local ~/.m2 repository? Wondering if that might be what's causing the dependency resolution error.

cfleming02:12:23

@eggsyntax No, that’s built in. That error is probably what’s causing the problem, I’m not sure what that means though - it’s an error from aether (underlying lein)

cfleming02:12:59

If you do lein deps :tree on the command line in your project dir, what does that show? Does it work correctly?

eggsyntax02:12:06

Hmm, looks like not. Must be an issue with the way we're generating project.clj (it's a boot project; we're generating project.clj from build.boot). So very possibly not a cursive issue at all, sorry about that. I'll get together in the morning with the guy who set that up, see if we can troubleshoot it between us. Thanks!

Could not transfer artifact ews:ews:pom:0.1.2 from/to local-deps (local-deps): No connector available to access repository local-deps (local-deps) of type default using the available factories FileRepositoryConnectorFactory, WagonRepositoryConnectorFactory
This could be due to a typo in :dependencies or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.

cfleming02:12:50

@eggsyntax Ok, that does look like the problem. Good luck!

wilkerlucio13:12:40

hello, I'm having a problem with one of projects, I wasn't working on it for a couple of weeks, and now I can't generate stubs for it anymore

wilkerlucio13:12:47

everytime I try I get:

wilkerlucio13:12:51

Error generating stubs for module dcex-cljs: Exception in thread "main" java.io.FileNotFoundException: Could not locate cljsbuild/compiler__init.class or cljsbuild/compiler.clj on classpath., compiling:(/private/var/folders/mr/fvbhxwjj40z34nq09dqgvr2w0000gn/T/form-init3269253985982537794.clj:1:125)
					at clojure.lang.Compiler.load(Compiler.java:7441)
					at clojure.lang.Compiler.loadFile(Compiler.java:7367)
					at clojure.main$load_script.invokeStatic(main.clj:277)
					at clojure.main$init_opt.invokeStatic(main.clj:279)
					at clojure.main$init_opt.invoke(main.clj:279)
					at clojure.main$initialize.invokeStatic(main.clj:310)
					at clojure.main$null_opt.invokeStatic(main.clj:344)
					at clojure.main$null_opt.invoke(main.clj:341)
					at clojure.main$main.invokeStatic(main.clj:423)
					at clojure.main$main.doInvoke(main.clj:386)
					at clojure.lang.RestFn.applyTo(RestFn.java:137)
					at clojure.lang.Var.applyTo(Var.java:700)
					at clojure.main.main(main.java:37)

wilkerlucio13:12:28

it used to work before, I had no changes on this project for a while, doesn someone know how to go around this?

solussd16:12:28

@cfleming it is and, believe it or not, I do have nested maps of data where the keys for some of the data are the values of keys in other data at some other level of the nested map.

danielcompton20:12:45

Not sure when this happened (2016.3?) but it looks like IntelliJ is getting a different fish prompt than iTerm2

danielcompton20:12:13

It's almost certainly something wacky in my dotfiles, but thought I'd throw it out first in case others had noticed it too?