This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-29
Channels
- # aleph (5)
- # announcements (2)
- # bangalore-clj (2)
- # beginners (52)
- # cider (10)
- # cljsrn (1)
- # clojure (160)
- # clojure-dev (24)
- # clojure-europe (3)
- # clojure-france (1)
- # clojure-india (1)
- # clojure-italy (3)
- # clojure-nl (6)
- # clojure-spec (13)
- # clojure-uk (51)
- # clojurescript (45)
- # code-reviews (1)
- # core-async (41)
- # cursive (41)
- # datomic (17)
- # emacs (37)
- # fulcro (42)
- # graphql (7)
- # joker (4)
- # music (1)
- # nrepl (2)
- # off-topic (21)
- # pathom (19)
- # pedestal (12)
- # re-frame (48)
- # reitit (6)
- # rewrite-clj (8)
- # shadow-cljs (41)
- # specter (6)
- # sql (21)
- # tools-deps (8)
- # vim (7)
- # xtdb (27)
hey, does someone here got success trying to use REBL with Cursive? I got the setup running, when I eval an expression it works, but when I load any file (even if its a very simple one) the REPL crashes
@wilkerlucio Yeah, it’s working for me - what version of IntelliJ are you using?
facing a bug in Cursive when using https://github.com/s3-wagon-private/s3-wagon-private
10:53 Error resolving dependencies for my-project-name:1.0.0-SNAPSHOT
java/sql/Timestamp
java.sql.Timestamp
@U7MRZK43B See the last paragraph here: https://groups.google.com/d/topic/cursive/ntvsiLAehY0/discussion
It gives me the above error and then the whole project is not found anymore as a clojure project (eg. cannot run REPL or anything)
If I comment out the plugin then Cursive complains it cannot find the dependency which is in my s3 bucket even though it is already available locally
Hi! I’m trying to import a deps project using intellij 2019.2 and cursive EAP and I’m getting a NullPointerExeception. Does any one knows what might be going wrong?
Just needed to update to 2019.2.1
IntelliJ 2019.2 generally has not been kind to Cursive, although the 2.1 release fixes some of the issues. There’s still some outstanding bugs, so if you want the best possible deps compatibility, your best bet right now is 2018.3.x. The 2019 series is supposed to have a 2.2 release soon that should clean up the remaining issues.
thanks!
thanks!
@shaun-mahood intellij on 2019.1.3
, the problem doesn't seem related to REBL, if I try to use any REPL with clojure.main
and deps, when I load a file the REPL crashes @cfleming
@wilkerlucio I'm using the same version without any issues, so hopefully you can get it working. Here are the REPL settings I'm using in case that helps
my setup is very similar:
and this is what happens when I try to load a file:
Clojure 1.10.0
user=> (+ 2 4)
6
user=> (load-file "/Users/wilker.lucio/Development/pathom/src/com/wsscode/common/combinatorics.cljc")
Syntax error (FileNotFoundException) compiling at (combinatorics.cljc:1:1).
Could not locate nav__init.class, nav.clj or nav.cljc on classpath.
user=> Error evaluating - class java.net.SocketException: Socket closed
Process finished with exit code 137 (interrupted by signal 9: SIGKILL)
Have you tried it with any other projects? I'm wondering if there's something specific to pathom (or that .cljs file) that is causing you trouble.
I'm going to see if I can get a pathom repl working on my machine.
thanks, I'll check other project here, I also tried loading simple clj
files from pathom but got the same result
yeah, I just got that working in a different project, maybe some dep of pathom is causing trouble
thats strange, even if I remove all deps from pathom, when I try to load a file the REPL keeps crashing
I think it might be something to do with the way the deps.edn file is set up - when I loaded the project I get the message Error resolving /home/smahood/Documents/pathom: Coordinate type :mvn not loaded for library org.clojure/clojure in coordinate {:mvn/version "1.10.0"}
. When I added clojure into the main :deps
section I was able to start the REPL without a problem.
humm, I have different results, even adding clojure
to the main section, I still get the same error
Here are my project import settings - I always use tools.deps directly as my machine doesn't seem to work when I try to use the CLI tools
did you tried loading a file from intellij?
Here are the steps I followed to open it - not sure if they make a difference or not. File -> Open -> deps.edn -> Open as Project -> enter settings and hit Ok -> Yes to overwrite project file -> Delete Existing Project and Import
I'm just trying to make sure you can load files with that setup
because the REPL opens and works here, until I try to load a file
using Load file in REPL
Oh yeah, sorry I misunderstood. I am able to load that combinatrics.cljc file into the repl without any problems. I haven't tried with REBL though.
I figured I can get around by avoding using Load file in REPL
, instead I select the whole file and use send top form
, that sends all of then, which works quite the same as loading the file, just one annoying step
That's pretty weird - glad there's a workaround for you but it sure doesn't seem like that should be happening.
yeah, I wonder if @cfleming has other ideas
@wilkerlucio I have some family stuff on this morning but will try to look this afternoon.
@cfleming thanks! just to clarify, to me the bug doesn't seem to be about REBL, but about clojure.main and Load file in REPL
. I guess you may be able to reproduce by:
1. Clone pathom
2. Import
3. Run a REPL using deps + clojure.main
4. Try to load a file in REPL using Load file in REPL
even without REBL I have consistent REPL crash when I do that