This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-04-02
Channels
- # beginners (29)
- # cider (41)
- # clara (1)
- # cljs-dev (17)
- # cljsrn (1)
- # clojure (158)
- # clojure-dev (2)
- # clojure-dusseldorf (2)
- # clojure-italy (8)
- # clojure-mexico (1)
- # clojure-russia (2)
- # clojure-spec (43)
- # clojure-uk (1)
- # clojurescript (44)
- # community-development (98)
- # cursive (9)
- # data-science (8)
- # datascript (4)
- # datomic (30)
- # emacs (6)
- # fulcro (11)
- # graphql (6)
- # jobs (1)
- # jobs-discuss (27)
- # lein-figwheel (5)
- # luminus (13)
- # lumo (4)
- # off-topic (28)
- # onyx (9)
- # parinfer (12)
- # perun (2)
- # portkey (5)
- # re-frame (48)
- # ring (2)
- # shadow-cljs (52)
- # spacemacs (29)
- # tools-deps (15)
- # unrepl (9)
- # vim (7)
- # yada (3)
Hi! I’ve got a Datomic Pro Starter Edition
account at
registered about a year and a half ago. When I try to use an up-to-date Datomic release, the transactor says your License Key cannot be used with that version
. My key expires at Sep 21, 2017
and there is no any button or a link to update it. So the question is, how can I use the latest release of Datomic with my account? Thanks.
@igrishaev That’s the intention of Starter. To give users 1 year from signup worth of Datomic use (perpetually) to try it out. The next step would be purchasing pro or continuing to use the versions released prior to your expiration date.
Has anyone needed more than 4GB RAM for the transactor or 4GB RAM for the peer? How many datoms did you have when you reached those limits?
Hi, I have datomic free on my laptop. 0.9.5697 worked fine, I can't connect to 0.9.5697 though. I keep getting:
JdbcSQLException Falscher Benutzer Name oder Passwort
Wrong user name or password [28000-171] org.h2.engine.SessionRemote.done (SessionRemote.java:568)
In the .properties file I tried both
storage-datomic-password=my-password
and
storage-datomic-password="my-password"
I tried try to get databases with:
(d/get-database-names "datomic:)
What am I missing?if it’s a remote peer you need to enable remote storage access https://docs.datomic.com/on-prem/configuring-embedded.html#sec-2-2
you can access localhost without setting a password (https://docs.datomic.com/on-prem/configuring-embedded.html#sec-1)
ok. I will settle for that then. Still, should the password in .properties be written with single quotes or just the letters. I followed the manual you mentioned and it is just blank there?
you must actually use “localhost” and not some other name even if it resolves to your local, right?
@robert-stuttaford not sure. I’d have to doublecheck
i'm running into an odd problem possibly datomic related and was hoping someone could offer a clue. i have a pretty basic ring based project as well as an API project that makes use of com.datomic/client-cloud
. as soon as i include the API project as a dependency i get the following error:
Compiling auth.server
2018-04-02 17:09:39.333:INFO::main: Logging initialized @14043ms
java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/NonBlockingThread, compiling:(repl.clj:16:21)
Exception in thread "main" java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/NonBlockingThread, compiling:(repl.clj:16:21)
at clojure.lang.Compiler$InvokeExpr.eval(Compiler.java:3700)
at clojure.lang.Compiler$DefExpr.eval(Compiler.java:457)
at clojure.lang.Compiler.compile1(Compiler.java:7609)
at clojure.lang.Compiler.compile(Compiler.java:7676)
at clojure.lang.RT.compile(RT.java:413)
at clojure.lang.RT.load(RT.java:458)
at clojure.lang.RT.load(RT.java:426)
at clojure.core$load$fn__6548.invoke(core.clj:6046)
at clojure.core$load.invokeStatic(core.clj:6045)
at clojure.core$load.doInvoke(core.clj:6029)
at clojure.lang.RestFn.invoke(RestFn.java:408)
at clojure.core$load_one.invokeStatic(core.clj:5848)
at clojure.core$load_one.invoke(core.clj:5843)
at clojure.core$load_lib$fn__6493.invoke(core.clj:5888)
at clojure.core$load_lib.invokeStatic(core.clj:5887)
at clojure.core$load_lib.doInvoke(core.clj:5868)
at clojure.lang.RestFn.applyTo(RestFn.java:142)
at clojure.core$apply.invokeStatic(core.clj:659)
at clojure.core$load_libs.invokeStatic(core.clj:5925)
at clojure.core$load_libs.doInvoke(core.clj:5909)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at clojure.core$apply.invokeStatic(core.clj:659)
at clojure.core$require.invokeStatic(core.clj:5947)
at clojure.core$require.doInvoke(core.clj:5947)
at clojure.lang.RestFn.invoke(RestFn.java:703)
...
at clojure.main.main(main.java:37)
Caused by: java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/NonBlockingThread
at org.eclipse.jetty.io.SelectorManager.doStart(SelectorManager.java:258)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
@joshkh looks like a deps conflict (likely jetty); client-cloud requires a version that may be newer than the version included with some other dependency in your project
that's what i was thinking. i guess i'll play around with exclusions until i find the magic combination. thanks @marshall
https://docs.datomic.com/cloud/troubleshooting.html#dependency-conflict
np. sorry i cant be more help - you can use your build tool to track it down potentially (i.e. https://maven.apache.org/plugins/maven-dependency-plugin/examples/resolving-conflicts-using-the-dependency-tree.html for maven, lein deps :tree for lein, https://github.com/boot-clj/boot/wiki/Boot-for-Leiningen-Users#lein-deps-tree for boot)
I'm trying to do an or-join
with multiple db's but it throws IllegalArgumentException Cannot resolve key: $$ datomic.datalog/resolve-id (datalog.clj:272)
;; this query works
(d/q '[:find ?c ?tx
:in $ $$ ?params ...
:where
[...]
[$$ ?c ?i _ ?tx]]
db history params ...)
;; but when I try to make a or-join
(d/q '[:find ?c ?tx
:in $ $$ ?params ...
:where
[...]
(or-join [$$ ?c ?tx]
[$$ ?c ?i _ ?tx]
[$$ _ :notification/origins ?c ?tx])]
db history params ...)
I'm not sure if I really need to put the $$
and the ?c
in the join. The join is just on ?tx