Code Monkey home page Code Monkey logo

Comments (6)

alexander-yakushev avatar alexander-yakushev commented on August 22, 2024

I'm not completely sure, but it seems to me signal handlers depend on things in sun.* packages which are not available on Android devices. Without them it is not possible to stop execution via Ctrl-C and stuff like that. I will give it another look, but it's not so drastic. And I can't change it to Warning because it's REPLy who prints it, not lein-droid.

from lein-droid.

Profpatsch avatar Profpatsch commented on August 22, 2024

Is it normal to land on reply.eval-modes.nrepl=>?
What about that VerifyError?

I can’t seem to switch to my app’s namespace, too:

reply.eval-modes.nrepl=> (all-ns)
([…] #<Namespace de.profpatsch.droidtest.main> #<Namespace clojure.template>)

reply.exports=> (in-ns de.profpatsch.droidtest.main)
CompilerException java.lang.ClassNotFoundException: de.profpatsch.droidtest.main, compiling:(NO_SOURCE_PATH:1) 

reply.exports=> 

from lein-droid.

alexander-yakushev avatar alexander-yakushev commented on August 22, 2024

in-ns is a function and takes symbol as an argument. You should use (in-ns 'de.profpatsch.droidtest.main). It is mentioned in the tutorial.

As for REPLy errors I didn't focus much on them as they don't seem to hamper anything.

from lein-droid.

Profpatsch avatar Profpatsch commented on August 22, 2024

Oh look. I made an idiot out of myself again…

Ok, off to learning Clojure well.

from lein-droid.

alexander-yakushev avatar alexander-yakushev commented on August 22, 2024

Don't take it too close, everyone has to start somewhere ;)

I'll keep the issue open, so I don't forget to look into the handlers message one more time.

from lein-droid.

alexander-yakushev avatar alexander-yakushev commented on August 22, 2024

As of REPLy 0.2.1, only Unable to set signal handlers. message persists. As mentioned earlier, this is due to Android lacking sun.* packages, and REPLy relying on them to set signal handlers for terminal interaction.

Landing into reply.eval-modes.nrepl=> no longer happens, as user namespace is being successfully created and switched into.

I close this issue as wontfix because implementing custom signal handlers in REPLy exclusively for Android isn't worth the trouble, and the error message is absolutely harmless.

from lein-droid.

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.