Fork me on GitHub
#cursive
<
2019-09-11
>
cfleming01:09:01

@kenny re: your modules-per-branch problem, do you have IntelliJ modules files checked in? i.e. .idea/modules.xml or *.iml files?

rarous07:09:28

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.

cfleming08:09:10

@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?

cfleming08:09:44

Right - unfortunately I suspect this is an IntelliJ bug I may not be able to fix.

cfleming08:09:11

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.

cfleming08:09:44

A workaround rather than an actual solution obviously, but…

rarous08:09:24

I opened different project without clojure, it warns it can't convert. Then I did File > Open recent project and got the same error

rarous08:09:04

New window opened but it's frozen nothing else then background is rendered

cfleming08:09:28

Can you send a screenshot of the can’t convert error? I’ve never seen that.

cfleming08:09:50

When you say the same error, you mean the can’t convert one, or the DialogWrapper one?

rarous08:09:05

> 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)

cfleming08:09:20

Can you paste the whole stacktrace for that error? You should be able to find it via Help | Show log in Finder/Explorer

rarous08:09:14

First INFO about conversion is from project that is not Clojure one.

rarous08:09:38

ERROR is from File > Open recent ... New Window

cfleming09:09:10

@rarous Great, thank you!

rarous09:09:26

Hope this helps a bit 🙂

kenny18:09:54

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.

cfleming20:09:21

@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.

cfleming23:09:25

@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.

cfleming23:09:49

I’ve also fixed the other problem.