Re: Can't start repl with Leiningen

2014-03-02 Thread Matej Fröbe
I found the problem more or less. "lein repl" works if I set iptables rule: *#iptables -P INPUT ACCEPT* What I don't understand is, why it worked already in the past with these rules: *#iptables -P INPUT DROP#iptables -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT*but now it doesn't.

Re: Can't start repl with Leiningen

2014-02-26 Thread Matej Fröbe
*#apt-get update#apt-cache show openjdk-7-jrePackage: openjdk-7-jreSource: openjdk-7Version: 7u21-2.3.9-5...* So if I understand correctly (I'm more or less a Linux newbie), this means that "update 21" is the version in distro's repositories. Am Mittwoch, 26. Februar 2014 21:36:39 UTC+1 s

Re: Can't start repl with Leiningen

2014-02-26 Thread Zach Oakes
Is their a reason your OpenJDK install is only on update 21? I believe the most recent is 51, though I doubt that is the problem. I also doubt it's a memory issue; I can run the REPL just fine on a netbook with 1GB of RAM running Ubuntu x64. On Wednesday, February 26, 2014 3:05:53 PM UTC-5, Mat

Re: Can't start repl with Leiningen

2014-02-26 Thread Matej Fröbe
I only have 2GB. I tried adding -Xms1024M (and some lower and higher values) to the java command in lein script, but it didn't help. Am Mittwoch, 26. Februar 2014 19:52:49 UTC+1 schrieb Armando Blancas: > > I had the same problem with an old box I had around the house. Put Fedora > 20 on it wit

Re: Can't start repl with Leiningen

2014-02-26 Thread Armando Blancas
I had the same problem with an old box I had around the house. Put Fedora 20 on it with a recent open jdk, but had just 1GB of memory total. I attributed the error to the lower memory since I never have that issue at work or other machines with at least 4GB. If you have more than 2GB, experimen

Re: Can't start repl with Leiningen

2014-02-26 Thread Matej Fröbe
Debian jessie 32-bit Am Mittwoch, 26. Februar 2014 15:50:19 UTC+1 schrieb John Gabriele: > > On Wednesday, February 26, 2014 3:19:43 AM UTC-5, Matej Fröbe wrote: >> >> It seems that this is independent of where I run the project. >> >>> > Matej, > > What OS (and version) are you using? > >

Re: Can't start repl with Leiningen

2014-02-26 Thread John Gabriele
On Wednesday, February 26, 2014 3:19:43 AM UTC-5, Matej Fröbe wrote: > > It seems that this is independent of where I run the project. > >> >>> Matej, What OS (and version) are you using? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to t

Re: Can't start repl with Leiningen

2014-02-26 Thread Matej Fröbe
It seems that this is independent of where I run the project. It happens with default project, which has no ":eval-in :trampoline" in it: *$ lein new my-project$ cat my-project/project.clj (defproject my-project "0.1.0-SNAPSHOT" :description "FIXME: write description" :url "http:/

Re: Can't start repl with Leiningen

2014-02-25 Thread Zach Oakes
Matej, does this happen to you when you run "lein repl" outside of a project? If so, can you show us what your project.clj file looks like? I know for a fact that if you have ":eval-in :trampoline" in it, the repl will fail with that error. On Tuesday, February 25, 2014 2:56:04 PM UTC-5, Matej

Re: Can't start repl with Leiningen

2014-02-25 Thread Matej Fröbe
Hi John, Thank you for your answer. I have tried this already, but it doesn't help. Any other suggestions, how to find the cause of the problem? Matej Am Dienstag, 25. Februar 2014 19:51:51 UTC+1 schrieb John Gabriele: > > On Sunday, February 23, 2014 4:32:54 PM UTC-5, Matej Fröbe wrote: >> >>

Re: Can't start repl with Leiningen

2014-02-25 Thread John Gabriele
On Sunday, February 23, 2014 4:32:54 PM UTC-5, Matej Fröbe wrote: > > Hello Clojure users! > > I have a problem with running > *$lein repl* > After some time I get: *REPL server launch timed out.* > > *$lein run myproject* works fine > > Leiningen and Java versions are: > > *$lein versionLeiningen

Can't start repl with Leiningen

2014-02-23 Thread Matej Fröbe
Hello Clojure users! I have a problem with running *$lein repl* After some time I get: *REPL server launch timed out.* *$lein run myproject* works fine Leiningen and Java versions are: *$lein versionLeiningen 2.3.4 on Java 1.7.0_21 OpenJDK Client VM* I tried deleting stuff in ~/.lein but it do