This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-11-06
Channels
- # announcements (5)
- # asami (4)
- # babashka (27)
- # beginners (1)
- # calva (4)
- # cider (64)
- # clj-kondo (7)
- # clojure (7)
- # clojure-brasil (3)
- # clojure-europe (41)
- # clojure-france (2)
- # clojure-norway (101)
- # clojure-uk (5)
- # clojurescript (19)
- # cursive (3)
- # datahike (15)
- # datomic (15)
- # events (2)
- # honeysql (11)
- # hyperfiddle (27)
- # introduce-yourself (2)
- # jobs-rus (1)
- # leiningen (8)
- # london-clojurians (1)
- # lsp (175)
- # off-topic (52)
- # overtone (10)
- # portal (15)
- # re-frame (7)
- # reagent (1)
- # releases (1)
- # remote-jobs (2)
- # shadow-cljs (15)
- # sql (5)
@whilo When newly deploying to heroku with 0.6.1553
, app crashing with error:
... Syntax error (IllegalArgumentException) compiling . at (datahike/array.cljc:14:30).
... No matching method compare found taking 2 args for class java.util.Arrays
Here is github link to line referenced in the error log: https://github.com/replikativ/datahike/blob/166cdbbb7031fa03e619091fb7a99c20cd550ec3/src/datahike/array.cljc#L14that method was added by jdk version 9; you probably have 8 running in that environment
Interesting, if this is the case then our Java 8 test fails here https://github.com/replikativ/datahike/blob/166cdbbb7031fa03e619091fb7a99c20cd550ec3/src/datahike/array.cljc#L18, could you check which version (Integer/parseInt (subs (System/getProperty "java.specification.version") 2))
returns?
I don't know how to do this on heroku but this is a good skill to learn so I will learn how to do it now 😁
don't worry about being novice. the beginners mind is the most flexible and i am also still a novice in many things i care about
Hmm, unfortunately I can't get the app to start. I am getting:
...Execution error (ExceptionInfo) at datahike.connector/deref-conn (connector.cljc:58).
...Connection has been released.
Locally (after a restart) I am now getting:
; Execution error (ExceptionInfo) at datahike.connector/ensure-stored-config-consistency (connector.cljc:127).
; Configuration does not match stored configuration.
I am reading alekcz's comment from yesterday. I have two stores in my app: one named cfg
, the other local-cfg
and just comment one or the other out before deploying. I assume this is related to Issue #654?
This is now solved thanks to @U8KKDKPG8 with https://clojars.org/io.replikativ/datahike-jdbc/versions/0.3.47.