Giter Site home page Giter Site logo

Comments (20)

dehubbed avatar dehubbed commented on June 2, 2024

The above only happens in nrepl (via Eclipse). Seems nrepl is somehow getting in the way. Strange. Someone had a similar problem: https://groups.google.com/forum/#!topic/quasar-pulsar-user/TkgWpuIiI80

However can't just blame it on nrepl, it all works with "future-call" instead of spawn-fiber.

from pulsar.

circlespainter avatar circlespainter commented on June 2, 2024

Yes, I just tried with a lein run (with a main method) and lein repl and they work ok. Not an expert of nrepl w/ Eclipse, is the Quasar agent running ok? If everything seems regular, could you please try 0.6.3-SNAPSHOT as well?

from pulsar.

dehubbed avatar dehubbed commented on June 2, 2024

sure give me 1 hr

from pulsar.

dehubbed avatar dehubbed commented on June 2, 2024

0.6.3-SNAPSHOT is not on clojars, is it? should I clone the repo and build it?

from pulsar.

dehubbed avatar dehubbed commented on June 2, 2024

ok I cloned & compiled, same issue. I or anyone can make do without the Eclipse nrepl for sure, however it is a bit worrying that there should be subtle interactions like that.

from pulsar.

dehubbed avatar dehubbed commented on June 2, 2024

using clojure.tools.logging (via slf4j and log4j) and doing (debug "test") instead of (println "test") works. even though debug uses println somewhere down in its guts. ah well.

from pulsar.

circlespainter avatar circlespainter commented on June 2, 2024

I just installed Eclipse Luna for Java + CCW and I'm trying hard to reproduce it but I'm not able to, maybe I'm doing something wrong.

I'm on JDK 1.8.0_25, Mac OS X Yosemite, I tried creating a Leiningen project with Quasar/Pulsar setup, then I right-clicked it and "Leiningen/Launch Headless REPL for the project", finally in the REPL I pasted your snippet but I get "nil" as a return value and "test" in stdout without any exceptions.

Should I do something else?

from pulsar.

dehubbed avatar dehubbed commented on June 2, 2024

I'm on Ubuntu JDK 1.7. I don't have a Mac here but I can try JDK 1.8 later today.

from pulsar.

dehubbed avatar dehubbed commented on June 2, 2024

Just tried JDK 8, same thing. No idea how to reproduce this any other way. I think you can close this issue. I could reopen it should I come across further clues.

from pulsar.

circlespainter avatar circlespainter commented on June 2, 2024

Are the steps I'm following to reproduce it right? Are you doing the same things?

from pulsar.

dehubbed avatar dehubbed commented on June 2, 2024

Yes, the step are right and you are doing the same thing, other than my OS being Ubuntu which should hardly matter. Counterclockwise version is 0.31.1?

Can I send you a tgz file somehow with my bare bones Eclipse project in it that you can run unzip and run?

from pulsar.

dehubbed avatar dehubbed commented on June 2, 2024

File here: https://mega.co.nz/#!us8gFLBB!1CQ7JOp8F1HEoyOVJI2dM4AsRMMSgRSjPtT9-zAfrU4

from pulsar.

dehubbed avatar dehubbed commented on June 2, 2024

There is an Eclipse launch configuration in that package, that's what I use to launch it.

from pulsar.

circlespainter avatar circlespainter commented on June 2, 2024

Thanks, I'll have a look ASAP.

from pulsar.

circlespainter avatar circlespainter commented on June 2, 2024

Yes, CCW is 0.31.1.STABLE001.
Tried with your project and launch config (I adjusted just the path to Quasar's agent to use my home), connected to it with lein repl :connect, copied and pasted your borked.clj test content and still I get no exception.
Have you got a chance to try on some other machine / setup?

from pulsar.

dehubbed avatar dehubbed commented on June 2, 2024

Will do.

from pulsar.

dehubbed avatar dehubbed commented on June 2, 2024

Yes I tried a different machine and everything works completely fine. Up to me now to figure out what the crucial difference is! =8-O I'll keep you posted.

from pulsar.

dehubbed avatar dehubbed commented on June 2, 2024

btw related to this? #29

from pulsar.

circlespainter avatar circlespainter commented on June 2, 2024

I won't rule it out completely but I think it's unlikely as that issue was reproducible everywhere, every time and you're trying (or have tried already) with pulsar 0.6.3 which contains a fix for it.

from pulsar.

circlespainter avatar circlespainter commented on June 2, 2024

I'll close it for now, if more info will be available about reproducing it we can always reopen it.

from pulsar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.