Skip to content

Instantly share code, notes, and snippets.

View zendevil's full-sized avatar

Prikshet Sharma zendevil

View GitHub Profile
{:clojure.main/message
"Execution error (ActiveMQNotConnectedException) at org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl/createSessionFactory (ServerLocatorImpl.java:699).\nAMQ219007: Cannot connect to server(s). Tried with all available servers.\n",
:clojure.main/triage
{:clojure.error/class
org.apache.activemq.artemis.api.core.ActiveMQNotConnectedException,
:clojure.error/line 699,
:clojure.error/cause
"AMQ219007: Cannot connect to server(s). Tried with all available servers.",
:clojure.error/symbol
org.apache.activemq.artemis.core.client.impl.ServerLocatorImpl/createSessionFactory,
no source by provide: module
{:provide module}
ExceptionInfo: no source by provide: module
shadow.build.data/get-source-id-by-provide (data.clj:186)
shadow.build.data/get-source-id-by-provide (data.clj:183)
shadow.build.data/get-source-by-provide (data.clj:189)
shadow.build.data/get-source-by-provide (data.clj:188)
shadow.build.js-support/shim-require-sugar-resource/fn--34327 (js_support.clj:107)
shadow.build.data/get-source-code (data.clj:319)
shadow.build.data/get-source-code (data.clj:306)
pragma solidity >=0.6.0;
//import "./strings.sol";
contract Creation {
//using strings for *;
address creator;
string creationId;
string creatorId;
uint public bidEnd;
shadow-cljs - config: /Users/prikshetsharma/Desktop/humboi/shadow-cljs.edn
shadow-cljs - running: lein run -m shadow.cljs.devtools.cli --npm release test
WARNING: requiring-resolve already refers to: #'clojure.core/requiring-resolve in namespace: datomic.common, being replaced by: #'datomic.common/requiring-resolve
[:test] Compiling ...
NullPointerException:
shadow.build.node/configure (node.clj:59)
shadow.build.node/configure (node.clj:45)
shadow.build.targets.node-script/configure (node_script.clj:37)
shadow.build.targets.node-script/configure (node_script.clj:32)
shadow.build.targets.node-script/process (node_script.clj:71)
@zendevil
zendevil / gist:ce069eb7375ede709c2e4ebbd3c2ef3b
Created July 12, 2021 17:43
datomic docker compose error
web_1 | 32616 INFO datomic.kv-cluster - {:event :kv-cluster/retry, :StorageGetBackoffMsec 0, :attempts 0, :max-retries 20, :cause "java.net.ConnectException", :pid 1, :tid 15}
web_1 | 33933 INFO datomic.kv-cluster - {:event :kv-cluster/retry, :StorageGetBackoffMsec 50, :attempts 1, :max-retries 20, :cause "java.net.ConnectException", :pid 1, :tid 15}
web_1 | 35299 INFO datomic.kv-cluster - {:event :kv-cluster/retry, :StorageGetBackoffMsec 100, :attempts 2, :max-retries 20, :cause "java.net.ConnectException", :pid 1, :tid 15}
web_1 | 36718 INFO datomic.kv-cluster - {:event :kv-cluster/retry, :StorageGetBackoffMsec 150, :attempts 3, :max-retries 20, :cause "java.net.ConnectException", :pid 1, :tid 15}
web_1 | 38181 INFO datomic.kv-cluster - {:event :kv-cluster/retry, :StorageGetBackoffMsec 200, :attempts 4, :max-retries 20, :cause "java.net.ConnectException", :pid 1, :tid 15}
web_1 | 39698 INFO datomic.kv-cluster - {:event :kv-cluster/retry, :StorageGetBackoffMsec 250, :attem
Uncaught exception, not in assertion.
nil
Error: Unable to find an element with the text: Something!. This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible. Ignored nodes: comments, <script />, <style /> <body> <div id="test-root" > <div id="report-header" > <div class="container report-body" > <div class="page-title" > <img height="50" src="https://clojurescript.org/images/cljs-logo-120b.png" width="50" /> <div class="test-title" > Test Run </div> </div> <div id="summary" /> </div> </div> <div class="controls container" > <button id="hide-show" > Hide/Show Passing </button> </div> <div class="container test-ns" > <h2> humboi.core-test </h2> <div class="test-var" > <div class="var-header" > /test-home <div class="test-var-line" > humboi/core_test.cljs : <span> 8 </span> </div> </div> </div> </div> </div> <div> <div> <p> Something </p> </div> </div> <div> <div> <p> Something </p> </div> </div> <div id=
@zendevil
zendevil / gist:0f88020fa4c757f1fc3b664425c51a6d
Last active July 8, 2021 18:38
shadow testing library error
[:test] Compiling ...
SHADOW import error /Users/prikshetsharma/Desktop/humboi/.shadow-cljs/builds/test/dev/out/cljs-runtime/shadow.js.shim.module$$testing_library$react.js
Error: Cannot find module '@testing-library/react'
Require stack:
- /Users/prikshetsharma/Desktop/humboi/target/test/test.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15)
at Function.Module._load (internal/modules/cjs/loader.js:725:27)
at Module.require (internal/modules/cjs/loader.js:952:19)
at require (internal/modules/cjs/helpers.js:88:18)
at /Users/prikshetsharma/Desktop/humboi/.shadow-cljs/builds/test/dev/out/cljs-runtime/shadow.js.shim.module$$testing_library$react.js:3:48
(defn login []
(let [
magic (Magic. "pk_live_E0A5A86F2EF4DE14"
(clj->js {:extensions [(OAuthExtension.)]}))
!social-logged-in (atom nil)
_ (go (js/console.log "is logged in " (<p! (.. magic -user (isLoggedIn))
)))
_ (go (reset! !social-logged-in
(<p! (.. magic -user (isLoggedIn))
)))
@zendevil
zendevil / gist:6a9d34f219b775b056fa6006c69a833a
Created July 6, 2021 09:54
lein uberjar datomic error.
549418 INFO datomic.peer - {:event :peer/transactor-connection-failed, :pid 16676, :tid 56}
org.apache.activemq.artemis.api.core.ActiveMQNotConnectedException: AMQ119006: Channel disconnected
at org.apache.activemq.artemis.core.client.impl.ClientSessionFactoryImpl.connectionDestroyed(ClientSessionFactoryImpl.java:355)
at org.apache.activemq.artemis.core.remoting.impl.netty.NettyConnector$Listener$1.run(NettyConnector.java:942)
at org.apache.activemq.artemis.utils.OrderedExecutorFactory$OrderedExecutor$ExecutorTask.run(OrderedExecutorFactory.java:103)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
at java.lang.Thread.run(Thread.java:748)
549427 INFO datomic.peer - {:event :peer/connect-transactor, :host "localhost", :alt-host nil, :port 4334, :version "1.0.6269", :pid 16676, :tid 59}
549430 INFO datomic.common - {:event :common/retry, :backoff 1000, :attempts 1, :max-retries 922337203
[2813,-1967,5460,-7359,-4910,-8860,3997,-1991,9999,5577,3969,-7510,-5070,4312,4485,2919,7783,-4431,-7637,7845,4727,-3551,-2862,760,-5496,-4126,-9113,1657,-7739,4267,2019,929,4775,3027,-3348,1989,-9968,9282,-5687,-4457,-1931,-2487,7158,3992,-1594,4558,2595,3157,-2950,4430,4644,-7985,6258,-4593,-2102,2566,-4037,-970,458,8880,896,-6695,5619,3597,-8686,8376,802,1206,5603,-7654,4628,2059,-6354,8457,8602,710,-6662,331,-4876,-6113,-6118,-5984,3505,-1360,488,-38,-3463,-4967,-8178,-5451,-2114,-2668,-3536,-5534,1531,-4042,6850,-8724,5727,6980,2308,-5024,5918,1448,8694,6591,-8252,984,8410,-7153,-9095,-8416,518,8448,-1491,3849,-5082,6664,-1125,4106,2946,2563,4181,2440,9754,-8257,1773,7640,-7669,7271,-5414,-4200,-427,-6178,5362,-3276,-5375,-6886,5528,3492,4023,-7513,3475,-2259,-9123,-6109,-7253,-982,-6324,8279,-6328,5025,1217,-4408,-6910,-6712,9573,1965,871,-679,8179,-6770,3992,-6621,7213,775,-9741,-2288,9388,4453,7580,-7360,-3959,9712,2309,404,-4106,-260,8961,5181,4975,3083,1104,7494,1206,-6599,-604,-6050,-6286,-2051,-11