Fork me on GitHub
#boot
<
2017-04-13
>
chpill08:04:45

Hello guys, I tried to install boot on a new machine (I've done it many times in the past without issue)

chpill08:04:06

It seems to install properly, but when I try to run boot, I get the following exception

chpill08:04:18

Exception in thread "main" java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createTempFile(File.java:2024) at Boot.download(Boot.java:168) at Boot.install(Boot.java:224) at Boot.main(Boot.java:250)

chpill08:04:54

(openjdk version "1.8.0_121")

chpill08:04:07

I guess it must be a permission issue or something, but I can't figure it out

dominicm09:04:10

@chpill linux or mac? Do you have A/V?

chpill09:04:26

it's on a linux

chpill09:04:51

but I think it is because I messed REALLY bad with a volume mounting on a docker container

chpill09:04:22

basically, I had a ~/.boot that belonged to root

chpill09:04:02

I chowned the thing and everything works now

chpill09:04:45

maybe the io exception info could be more explicit though

dominicm11:04:39

What do you mean exceptions aren't clear troll

witek13:04:08

Hi. I am using the test task from adzerk.boot-test. It prints Testing my.namespace.here for every namespace I have in my project. Even if that namespace does not contain any tests. This is no fun, since one has to scroll up every thime a test fails. How to disable this output?

ttx16:04:43

Hi. I am using boot for my small web application. It's mostly a luminous app(which works fine with lein), broken down and reconstructed so that I can understand the intricacies. To serve pages during development, I am using the task: pandeiro.boot-http. Everything seems to work fine, except webjars. After including webjars, task fails with this stack trace:

_   java.lang.ClassNotFoundException: org.jboss.vfs.VirtualFileFilter
     java.lang.NoClassDefFoundError: org/jboss/vfs/VirtualFileFilter
java.util.ServiceConfigurationError: org.webjars.urlprotocols.UrlProtocolHandler: Provider com.webjars.locator.urlprotocols.JbossUrlProtocolHandler could not be instantiated
         clojure.lang.ExceptionInfo: org.webjars.urlprotocols.UrlProtocolHandler: Provider com.webjars.locator.urlprotocols.JbossUrlProtocolHandler could not be instantiated
    file: "handler.clj"
    line: 43
My relevent injected dependencies: [org.webjars/jquery "3.1.1"] [org.webjars/webjars-locator-jboss-vfs "0.1.0"] [ring-webjars "0.1.1"] What's wrong?

micha16:04:14

if you do boot repl and then in the repl do ( "com/webjars/locator/urlprotocols/JbossUrlProtocolHandler.class") what do you get?

ttx16:04:32

@micha I can't get to repl prompt. boot exits in same fashion with same stack trace.

micha16:04:07

you can comment out everything except the set-env! expr where you add dependencies

micha16:04:10

in your build.boot

micha16:04:14

then do boot repl

micha16:04:03

it looks like you're missing a dependency basically

micha16:04:24

you can also do boot -BP repl

micha16:04:31

and then add the dependencies in the repl

micha16:04:34

and see what's up

ttx16:04:01

Thanks for the commenting tip. Yes. Here's the result for plain boot repl:

#object[java.net.URL 0x5dcce549 "jar:file:/home/oscar/.m2/repository/org/webjars/webjars-locator-jboss-vfs/0.1.0/webjars-locator-jboss-vfs-0.1.0.jar!/com/webjars/locator/urlprotocols/JbossUrlProtocolHandler.class"]

micha16:04:17

reticulating splines

micha16:04:49

try adding this dependency: [org.jboss/jboss-vfs "3.2.12.Final"]

ttx16:04:01

Reticulating splines! Feel memed hard! 😰

ttx16:04:05

@micha Problem solved! :hugging_face: Ty!

micha16:04:02

👍 nice!

micha16:04:24

i googled for "org/jboss/vfs/VirtualFileFilter maven" btw

ag23:04:55

is there any trick I can use to speed up things on watch for cljs? It seems whenever something changes it takes long to recompile cljs. watch with verbose seems to log more files (even those that have not changed)