Clojure Instarepl loops endlessly #1873
Comments
@chetanns are you able to load a Leiningen REPL for a new project on your computer? |
Yes, from outside the Lighttable. I am able to run the Leiningen REPL for a new project. |
Would you share a minimal project for which you can reproduce this issue? I'll try to reproduce it myself. What versions of Windows and Light Table are you running? |
Could it be related to #1848? |
I only say that because I experience both these issues, but sometimes I get an error and sometimes I don't... 👍 |
@chetanns if you close Light Table, how many Light Table processes are still listed in Task Manager? I just opened Light Table on my computer, opened a new Clojure InstaREPL, and Task Manager only lists two "Light Table" processes. Try closing Light Table and then killing any remaining "Light Table" processes listed in Task Manager. |
If i close the LightTable, I do not see any LightTable processes in the TaskManager. |
@chetanns have you tried entering some code in the InstaREPL tab? I vaguely remember the 'spinner' animation never stopping for me before but I was still able to run code. |
Yes, I tried running the code in the InstaRepl tab. Still no response and the spinner animation never stops. |
@chetanns would you paste the contents of your project.clj file for the simple Leiningen project you created to reproduce this? I didn't think of it before, but you could create a public repo in GitHub for the sample project as a way to share it. But I think the project.clj file contents should be enough. Also, what version of Clojure do you have installed? [Run |
@chetanns would you also, while Light Table is running, and after you've opened a new Clojure InstaREPL tab, check the file C:\Users...\AppData\Local\LightTable\plugins\Clojure\window0.log? It may contain useful info pertaining to whatever is wrong with the LT REPL. |
In the C:\Users...\AppData\Local\LightTable\plugins, I did not find clojure folder. |
And below is the contents of my project.clj file (defproject command-line-args "0.1.0-SNAPSHOT" |
I found the file in /logs rather than /plugins
|
@chetanns I can't reproduce this with a new project with the same contents as the project.clj you posted. I thought maybe the CIDER nREPL plugin might have been causing the problem, but it doesn't seem to be doing so for me at least. I mis-typed previously – would you check the C:\Users...\AppData\Local\LightTable\logs directory and add the contents of the window0.log file in it as a comment? |
The below are the contents of the log file mentioned in the location.
|
@kenny-evitt I shared my project.clj in #1848 |
@chetanns, @acron0 thanks for the additional info. I was still unable to either reproduce this, or to find any likely candidates for what might be causing it. However, I did come across another issue that seems very similar (if not exactly the same) to this one. Would you both check what version of Java or the JDK you have installed? |
|
@acron0 thanks. I can't tell if your version is earlier or later than what was reported in that other issue as resolving that issue, but, if you can, please upgrade Java to try to resolve this. |
@acron0 are you running the 32-bit or 64-bit version of Java? I can't tell from the version info you posted. |
I tried upgrading to Java 8/45 64-bit
Still the same error message... |
@acron0 bummer. I'm not sure what to try next. If I could reproduce it myself, I'd start adding debugging statements to the code to narrow it down to specific code. If you can build the Light Table Clojure/ClojureScript code on your computer, for both Light Table and the Clojure language plugin, you might be able to do that. I'm not really familiar with the Light Table code, but I'm glad to help you as much as I can. ... I just read this comment on the issue you mentioned earlier and that comments references #1832, which concerns missing JAR files when building Light Table locally. Based on the contents of your log file, that seems to be the issue you're having. @chetanns based on the log file you posted, Light Table is able to connect to an nREPL so it seems likely to be caused by something else. Are you building Light Table locally? |
@kenny-evitt The suggested fix in #1848 worked for me. Thanks for your assistance :) |
@acron0 awesome! |
Hey guys, Going through issues and it seems like this one is resolved. If it is, could someone please close it? Cheers! |
While loading the instarepl first time. The instarepl is not getting connected. In the bottom status the connecting sign keeps showing for endless amount of time. No errors whatsoever is shown.
I am facing issue in the windows environment. Due to this, i am not able to run ,my clojure code in light table.
The text was updated successfully, but these errors were encountered: