chestnut icon indicating copy to clipboard operation
chestnut copied to clipboard

REPL server launch timed out

Open Em-AK opened this issue 6 years ago • 4 comments

  • [x] I am reporting a bug or problem in Chestnut

I generated an app from the template to try it for the first time.

lein new chestnut demochest +garden +re-frame +http-kit

With the default timeout the REPL is not able to start. First attempt:

$ lein repl
Retrieving ...
[... lots of retrieving ...]
REPL server launch timed out.

Any following attempts:

$ lein repl
REPL server launch timed out.

It only started properly after I modified the timeout to something bigger

:repl-options {:init-ns user
               :timeout 300000} ;; extend timeout to 5min

This is the only painpoint I have to report form my first use of the template. This one appart I am very happy about how these fine technologies are assembled in the template :clap:

Em-AK avatar Feb 08 '19 13:02 Em-AK

Thanks for the report, and the feedback!

I'm not 100% sure how to reproduce this as a repl on my side seems to come up OK, but I think this came up again, so any help in listing reproduction steps would be good to have.

featheredtoast avatar May 05 '19 16:05 featheredtoast

Hi @Em-AK

Could you check the following?

  • Which version of leiningen, java, are you on? (lein version)
  • If not on the latest leiningen (2.9.1), try upgrading (lein upgrade)
  • Do you have anything in ~/.lein/profiles.clj? If so, move it out of the way and try again.
  • Which operating system are you on?

plexus avatar May 06 '19 08:05 plexus

I have the same problem. I am on Java version 1.8.0_211-b12 and lein version 2.9.1, I don't have a file called profiles.clj and on os x 10.14.5.

I used to be able to quit the terminal and try again and it would work, but then I would get the error:

Syntax error compiling at (REPL:1:1). Unable to resolve symbol: go in this context

When typing (go), so have never been able to get Chestnut to work.

whenmoon avatar Sep 04 '19 11:09 whenmoon

The REPL does take a very long time to load for me as well. Also on OS X Mojave. Using Java 12.0.2-open. How long it takes can be witnessed in a video I recorded and posted on ClojureVerse:

https://clojureverse.org/t/unable-to-resolve-symbol-go-in-this-context/4777/4

PEZ avatar Sep 04 '19 11:09 PEZ