This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-04-20
Channels
- # announcements (10)
- # architecture (7)
- # babashka (49)
- # beginners (125)
- # calva (2)
- # chlorine-clover (33)
- # clj-kondo (15)
- # cljs-dev (18)
- # cljsrn (28)
- # clojure (91)
- # clojure-argentina (37)
- # clojure-austin (4)
- # clojure-dusseldorf (1)
- # clojure-europe (3)
- # clojure-france (2)
- # clojure-germany (2)
- # clojure-nl (4)
- # clojure-portugal (4)
- # clojure-spec (26)
- # clojure-uk (19)
- # clojuredesign-podcast (5)
- # clojurescript (19)
- # conjure (20)
- # core-async (4)
- # cursive (60)
- # data-science (4)
- # datomic (1)
- # duct (9)
- # emacs (11)
- # events (1)
- # fulcro (9)
- # graalvm (17)
- # jobs-discuss (7)
- # luminus (19)
- # malli (36)
- # meander (2)
- # off-topic (23)
- # pathom (2)
- # quil (1)
- # rdf (4)
- # re-frame (16)
- # reitit (10)
- # ring (21)
- # ring-swagger (1)
- # shadow-cljs (137)
- # spacemacs (10)
- # sql (27)
i'm getting clojure.lang.ExceptionInfo: Unable to resolve classname: java.util.Calendar [at clojure/instant.clj, line , column ] even though i'm not directly using that class. i'm using java.util.Date minimally but importing that makes no difference
@shem babashka has the java.time API in favor of java.util.Calendar, although it still has java.util.Date for compatibility
@raydelalonsobaryolo I think you just need to post it as body: {:body (json/generate-string {:username ... })}
@raydelalonsobaryolo I have a script which posts new binary links to #babashka_circleci_builds. It now uses babashka.curl: https://github.com/borkdude/babashka/blob/df08fbafb1c9f6feae8040b7d5b5921dc7f00b70/.circleci/script/publish_artifact.clj#L13
@raydelalonsobaryolo I have added a :debug
option now to babashka.curl so you can more easily find issues.
https://github.com/borkdude/babashka.curl#debugging-requests
This will end up in the next release of babashka as well.
@U04V15CAJ i have anorther question, I’m working with bb in osx and it works perfect, but yesterday i tried to run a bb in windows (intstalled with scoop) and babashka.curl gave an error with the path specifically clojure.lang.ExceptionInfo: The system cannot find the path specified [at C:\Users\rbary\OneDrive\Escritorio\raydel.clj, line 7, column 17]
am I missing something? i’m just trying to do (curl/get
@raydelalonsobaryolo Can you try creating C:\Temp
?
babashka.curl tries to write a temp-file but in GraalVM the path a the tmp-dir is hardcoded to C:\Temp
in Windows
@U04V15CAJ it worked!!!
RSS reader in babashka maybe? 😉 https://twitter.com/borkdude/status/1252220045578645504
Loving all you work at the moment. I just checked in to see if anyone had a calva nrepl connection setup for babaskha. Just being lazy!
@pez might be able to help you with that. There are some docs about nREPL here: https://github.com/borkdude/babashka/blob/master/doc/repl.md#nrepl
Hmm.. Not sure. On entering (+ 1 1) in the repl - which did connect I do get 2, but the bb nrepl-server is complaining with this
`Mike:transplants gmp26$ bb --nrepl-server 1667 Started nREPL server at localhost:1667 For more info visit https://github.com/borkdude/babashka/blob/master/doc/repl.md#nrepl. #error { :cause Dangling meta character ‘+’ near index 0 + ^ :via [{:type java.util.regex.PatternSyntaxException :message Dangling meta character ‘+’ near index 0 + ^ :at [java.util.regex.Pattern error Pattern.java 1969]}] :trace [[java.util.regex.Pattern error Pattern.java 1969] [java.util.regex.Pattern sequence Pattern.java 2137] [java.util.regex.Pattern expr Pattern.java 2010] [java.util.regex.Pattern compile Pattern.java 1702] [java.util.regex.Pattern <init> Pattern.java 1352]`
` [babashka.impl.nrepl_server$complete invokeStatic nrepl_server.clj 74] [babashka.impl.nrepl_server$session_loop invokeStatic nrepl_server.clj 132] [babashka.impl.nrepl_server$listen$fn__12768 invoke nrepl_server.clj 172]
hmm, weird. I see this:
$ bb --nrepl-server
Started nREPL server at localhost:1667
For more info visit .
and this:Yes - the evaluation is happening fine inside Calva, but errors show in Calva output.
Sorry - Error was in the Calva Terminal not the output - and it’s no longer happening…