Trying to start the system generates an exception with the following part:
Caused by: java.io.FileNotFoundException: resources/datahike-logo.txt (No such file or directory)
at java.base/java.io.FileInputStream.open0(Native Method)
at java.base/java.io.FileInputStream.open(FileInputStream.java:219)
at java.base/java.io.FileInputStream.<init>(FileInputStream.java:158)
What is the expected behaviour?
There should not be a crash complaining about a missing resource file when trying to start a software using datahike.
How can the behaviour be reproduced?
johan in π Labora in ~/Gits/daha via β v19.0.2 on βοΈ (eu-central-1) took 4s
β― bat deps.edn
ββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β File: deps.edn
ββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1 β {:deps {io.replikativ/datahike {:mvn/version "0.6.1550"}}
2 β :paths ["src"]}
ββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
johan in π Labora in ~/Gits/daha via β v19.0.2 on βοΈ (eu-central-1)
β― bat src/code.clj
ββββββββ¬βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β File: src/code.clj
ββββββββΌβββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
1 β (ns code
2 β (:require [datahike.api :as dh]))
3 β (defn -main [& args]
4 β (print "Hello world"))
ββββββββ΄βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
johan in π Labora in ~/Gits/daha via β v19.0.2 on βοΈ (eu-central-1)
β― clj -M -m code
Execution error (FileNotFoundException) at java.io.FileInputStream/open0 (FileInputStream.java:-2).
resources/datahike-logo.txt (No such file or directory)
Full report at:
/tmp/clojure-17817072141337129200.edn
What version of Datahike are you using?
0.6.1550
What version of Java are you using?
19.0.2
What operating system are you using?
Ubuntu 22.04.3 LTS
What database EDN configuration are you using?
{:store {:backend :mem :id "in-mem-nippy-data"} :wanderung/type :datahike :schema-flexibility :write :attribute-refs? true :index :datahike.index/persistent-set :keep-history true :name "Nippy testing data"}
Describe the bug
Trying to start the system generates an exception with the following part:
What is the expected behaviour?
There should not be a crash complaining about a missing resource file when trying to start a software using datahike.
How can the behaviour be reproduced?