Fork me on GitHub
#beginners
<
2019-12-10
>
cycle33709:12:35

seems like i'm missing something with building opts advanced

cycle33709:12:55

i'm trying to get jquery lib to work and it works fine but for one aspect

cycle33709:12:27

can't seem to get properties out of my object (even though console logging shows it to be correct)

cycle33709:12:39

i read it's because of the var munging that advanced does

cycle33709:12:08

but i've done everything right (proof is that js/$ does indeed work with functions like .append)

cycle33709:12:27

except i keep getting nil when trying to access jsobject properties

cycle33709:12:51

with no opts it works fine

cycle33709:12:10

i'm not using external jquery but requiring cljsjs/jquery

cycle33709:12:36

able to (.append (js/$ "#mydiv") "static text"))

cycle33709:12:22

but whenever i try to

cycle33709:12:01

(.append (js/$ "#mydiv") (:someval clj-object))

cycle33709:12:08

(.append (js/$ "#mydiv") (.-someval js-object))

cycle33709:12:42

it simply returns nil in either case (although println sees it)

hindol14:12:33

Hi, having some difficulty setting up cljdoc locally for my deps.edn project. Tried following the guide here - https://github.com/cljdoc/cljdoc/blob/master/doc/running-cljdoc-locally.md. The ingest seems to happen successfully but opening the URL gives an exception. Note: Running on Windows under WSL 2.

lread23:12:01

Hi @hindol.adhya, you might get more attention for this question in the #cljdoc channel

hindol03:12:00

Hi, thanks. Will try that. For now though, I bit the bullet and pushed the jar to Clojars. Cljdoc generation worked from there.

borkdude14:12:49

(oh I was assuming you tried the docker option, but maybe that's not true)

hindol14:12:58

So far I have tried both cloning cljdoc and docker.

hindol14:12:39

The message I get is An exception occurred, sorry about that! and the following stack trace,

INFO [2019-12-10 04:09:04,882] qtp828857265-20 - io.pedestal.http {:msg "GET /d/com.github.hindol/vm-agent/0.1.0", :line 80}
ERROR [2019-12-10 04:09:05,944] qtp828857265-20 - cljdoc.util.sentry Exception when processing request {:execution-id 10, :stage :enter, :interceptor :cljdoc.server.pedestal/pom-loader, :exception-type :clojure.lang.ExceptionInfo, :project com.github.hindol/vm-agent, :version 0.1.0, :path-params {:group-id com.github.hindol, :artifact-id vm-agent, :version 0.1.0}, :route-name :artifact/version}
clojure.lang.ExceptionInfo: clojure.lang.ExceptionInfo in Interceptor :cljdoc.server.pedestal/pom-loader - Requested version cannot be found in configured repositories: [com.github.hindol/vm-agent 0.1.0]
...

Ike Mawira18:12:14

Hello i am having trouble setting up Datomic local dev. After running

(def db-uri "datomic:") 
I get
ActiveMQNotConnectedException AMQ119007: Cannot connect to server(s). Tried with all available servers.  org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl.createSessionFactory (ServerLocatorImpl.java:799)
Don't know if this is important but on a separate terminal, the transactor is running and i got the message
System started datomic:<DB-NAME>, storing data in: data
What could be the issue?

andy.fingerhut19:12:13

I do not know, but wanted to point out that there is a #datomic channel targeted at discussion about it.

Ike Mawira19:12:44

Thank you, lemme share this thread there and see if I get any help.