What Leiningen path can't Cursive locate? (IntelliJ Clojure IDE)
Asked Answered
T

1

6

I'm trying out Cursive, a Clojure IDE on top of IntelliJ. The Leiningen console works, but prints a "path not found" error.

enter image description here

I can't seem to figure out what it can't locate. Leiningen appears to be working, though. Any idea how I can figure out what it can't locate, and fix it?

I'm on Windows 8.1 64-bit, using IntelliJ 14.0.2, and Cursive 0.1.43.

Triaxial answered 2/1, 2015 at 23:23 Comment(4)
Think it could be related to this: github.com/technomancy/leiningen/issues/1617Tyishatyke
When using Leiningen via command prompt I never encounter any issues. It only occurs when used within IntelliJ.Triaxial
is this still broken your you?Tyishatyke
It is, unfortunately. It's not in my way, but it's just an annoyance.Triaxial
D
2

I couldn't reproduce this issue with IntelliJ 14.0.2 (Community Ed.) + Cursive 0.1.43. My IntelliJ's Leiningen output:

C:\ProgramData\chocolatey\bin\lein.bat version
Leiningen 2.5.0 on Java 1.8.0_25 Java HotSpot(TM) 64-Bit Server VM

One thing you could try is to use Process Monitor to find out what file it's trying to access.

Configure it to only "Show File System Activity", exclude any Result=SUCCESS records, and retry your action. You'll still get lots of events but hopefully if you apply more filtering, you'll be able to pinpoint what file it's trying to access.

Another thing is: are you running any anti virus/malware software? How about if you try disabling it?

Doy answered 9/1, 2015 at 16:47 Comment(2)
I'm not running any anti-virus or anything. I just tried the process monitor suggestion and there were definitely a lot of things to filter through. I don't know if this is the appropriate filter, but I filtered it down to things with the NO SUCH FILE result. Here's a screenshot on the files not found after I run lein.bat version via Cursive / IntelliJ: i.imgur.com/xclc0z8.pngTriaxial
Your output for NO SUCH FILE looks the same as in my PC. How about for PATH NOT FOUND and NAME NOT FOUND? You can find mine here: i.imgur.com/KGPp3pS.png. You can go to Tools|Count Occurences to get summaryDoy

© 2022 - 2024 — McMap. All rights reserved.