Fork me on GitHub
Karol Wójcik19:05:07

Hi! What if I use linux and there is no chrome canary available?


there is, but maybe it is hard to find


try to install the build from release page under “Linux 64”


I’m not familiar with Linux situation, I use a mac

Karol Wójcik19:05:18

Ok I was searching under google-chrome I was not aware of chromium


Dirac has worked for me on linux from the standard chromium

Karol Wójcik19:05:11

I'm trying to run dirac for almost an hour without success. I've cloned the dirac-sample and ran lein demo and

/chrome --remote-debugging-port=9222 \
>   --no-first-run \
>   --user-data-dir=.test-dirac-chrome-profil
i got this error Dirac Agent is not listening at <ws://localhost:8231> (need help?).


@karol it sounds, like you did not start your nrepl server with dirac agent listening?

Karol Wójcik19:05:22

How can I do this?


do you have lein repl successfully running? as described here?

Karol Wójcik19:05:54

I received following error

Error loading dirac.nrepl: java.lang.ClassNotFoundException: javax.xml.bind.DatatypeConverter, compiling:(dirac/nrepl/eval.clj:1:1)
Exception in thread "main" java.lang.RuntimeException: Unable to resolve var: dirac.nrepl/middleware in this context, compiling:(/tmp/form-init2557861734346733083.clj:1:1490)


this sound to me like you don’t have dirac nrepl middleware in the project, but dirac-sample is properly configured, I would guess your leiningen is misconfigured somehow


did you really run it from dirac-sample?


ok, let me try it here on a secondary machine


works for me on a separate (macOS) machine > lein --version Leiningen 2.8.1 on Java 1.8.0_102 Java HotSpot(TM) 64-Bit Server VM

Karol Wójcik19:05:46

➜ lein --version Leiningen 2.8.1 on Java 10.0.1 OpenJDK 64-Bit Server VM


trying this all with Java 10 might be a great adventure 🙂


never tested it there


actually I never tested it with Java greater than 8

Karol Wójcik19:05:29

You're brilliant thank you yes now it works perfectly. Thank you :3


I would recommend you to first finetune your Dirac setup with Java 8 and then maybe experiment with other Java versions, it is hard enough 🙂 don’t make it worse for yourself 🙂

Karol Wójcik19:05:03

Yes I did change my java version to 8. After a while it stopped working. Have you ever had that bug?

Connected to nREPL server at .
Agent is accepting connections at .
Tried to use insecure HTTP repository without TLS.
This is almost certainly a mistake; however in rare cases where it's
intentional please see `lein help faq` for details.

Karol Wójcik21:05:55

Ok it seems that it's problem with the new version of clojurescript

Karol Wójcik21:05:29

getting back to 1.9.946 and works perfect