This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-11
Channels
- # announcements (18)
- # beginners (57)
- # calva (20)
- # cider (4)
- # cljdoc (15)
- # cljs-dev (14)
- # clojure (124)
- # clojure-europe (5)
- # clojure-italy (5)
- # clojure-nl (10)
- # clojure-spec (4)
- # clojure-uk (44)
- # clojurescript (4)
- # clojutre (18)
- # clr (2)
- # cursive (25)
- # datomic (53)
- # emacs (18)
- # events (1)
- # figwheel-main (1)
- # fulcro (34)
- # joker (6)
- # kaocha (13)
- # nrepl (3)
- # nyc (24)
- # off-topic (1)
- # pathom (16)
- # protorepl (4)
- # re-frame (1)
- # reitit (27)
- # rewrite-clj (5)
- # shadow-cljs (38)
- # spacemacs (25)
- # sql (20)
- # vim (28)
- # xtdb (20)
@kenny re: your modules-per-branch problem, do you have IntelliJ modules files checked in? i.e. .idea/modules.xml
or *.iml
files?
Hi @cfleming, when I open Cursive project in 2019.2.2 with latest DEV Cursive I get:
> ERROR - m.PlatformProjectOpenProcessor - The DialogWrapper can only be used in event dispatch thread. Current thread: Thread[ApplicationImpl pooled thread 1,4,Idea Thread Group]
It does only with DEV version of Cursive and on projects with Clojure code only. Editor window never appears.
@rarous Yes, I’ve seen that too - it’s when it’s trying to migrate a project. However I’ve only seen this when using the Open… link from the welcome screen - is that what you were doing?
If you can open some project which works, or create an empty project or something, and then use File->Open…, that doesn’t provoke the problem.
I opened different project without clojure, it warns it can't convert. Then I did File > Open recent project and got the same error
When you say the same error, you mean the can’t convert one, or the DialogWrapper one?
> 2019-09-11 10:50:46,440 [4990346] INFO - lij.impl.ConversionServiceImpl - Cannot check whether conversion of project files is needed or not, conversion won't be performed
> com.intellij.conversion.CannotConvertException: /Users/rarous/Projects/topmonks/topmonks-webs/.idea/clojure-deps.xml: /Users/rarous/Projects/topmonks/topmonks-webs/.idea/clojure-deps.xml (No such file or directory)
Can you paste the whole stacktrace for that error? You should be able to find it via Help | Show log in Finder/Explorer
Something strange is going on with how Cursive is resolving where a Java class is coming from. For example, the class MDC
comes from slf4j-api, not libhoney-java. libhoney-java may depend on slf4j-api but it's not where the source files are located.
@kenny Hmm, that’s weird. But I’m not sure that’s Cursive doing that - IIRC that’s IntelliJ. I’ll set up a project with those deps and see if I can repro.
@rarous Sadly, the DialogWrapper error is https://youtrack.jetbrains.com/issue/IDEA-218071. Unfortunately it’s incorrectly marked as fixed, so no-one can vote for it.