Git Product home page Git Product logo

Comments (7)

samaaron avatar samaaron commented on May 23, 2024

Hi Edmund,

could you try not using the latest nrepl, but the version that's included by default in the most recent lein 2 preview (10 I believe).

from emacs-live.

ejackson avatar ejackson commented on May 23, 2024

beta10, yeah, I started with that and observe the same behaviour.

from emacs-live.

samaaron avatar samaaron commented on May 23, 2024

How are you starting the nREPL server from your own application? It looks like you don't have complete.core on the classpath of the remote machine.

I guess the issue is that autocomplete doesn't gracefully degrade if the remote machine doesn't have the correct dependencies, or isn't able to inject them automatically...

from emacs-live.

ejackson avatar ejackson commented on May 23, 2024

^^^ Actually looking at the dependencies for lein2 its now using nrepl RC1

[INFO] leiningen:leiningen:jar:2.0.0-SNAPSHOT
[INFO] +- leiningen-core:leiningen-core:jar:2.0.0-SNAPSHOT:compile
[INFO] | +- org.clojure:clojure:jar:1.4.0:compile
[INFO] | +- classlojure:classlojure:jar:0.6.6:compile
[INFO] | | - useful:useful:jar:0.8.3-alpha8:compile
[INFO] | | - org.clojure:tools.macro:jar:0.1.1:compile
[INFO] | +- robert:hooke:jar:1.1.2:compile
[INFO] | - com.cemerick:pomegranate:jar:0.0.13:compile
[INFO] | +- org.sonatype.aether:aether-api:jar:1.13.1:compile
[INFO] | +- org.sonatype.aether:aether-util:jar:1.13.1:compile
[INFO] | +- org.sonatype.aether:aether-impl:jar:1.13.1:compile
[INFO] | | - org.sonatype.aether:aether-spi:jar:1.13.1:compile
[INFO] | +- org.sonatype.aether:aether-connector-file:jar:1.13.1:compile
[INFO] | +- org.sonatype.aether:aether-connector-wagon:jar:1.13.1:compile
[INFO] | | +- org.codehaus.plexus:plexus-classworlds:jar:2.4:compile
[INFO] | | +- org.codehaus.plexus:plexus-utils:jar:2.0.7:compile
[INFO] | | - org.sonatype.sisu:sisu-inject-plexus:jar:2.2.3:compile
[INFO] | | - org.sonatype.sisu:sisu-inject-bean:jar:2.2.3:compile
[INFO] | | - org.sonatype.sisu:sisu-guice:jar:no_aop:3.0.3:compile
[INFO] | +- org.apache.maven:maven-aether-provider:jar:3.0.4:compile
[INFO] | | +- org.apache.maven:maven-model:jar:3.0.4:compile
[INFO] | | +- org.apache.maven:maven-model-builder:jar:3.0.4:compile
[INFO] | | | - org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[INFO] | | +- org.apache.maven:maven-repository-metadata:jar:3.0.4:compile
[INFO] | | - org.codehaus.plexus:plexus-component-annotations:jar:1.5.5:compile
[INFO] | +- org.apache.maven.wagon:wagon-provider-api:jar:2.2:compile
[INFO] | - org.apache.maven.wagon:wagon-http:jar:2.2:compile
[INFO] | - org.apache.maven.wagon:wagon-http-shared4:jar:2.2:compile
[INFO] | - org.jsoup:jsoup:jar:1.6.1:compile
[INFO] +- org.clojure:data.xml:jar:0.0.3:compile
[INFO] +- bultitude:bultitude:jar:0.1.7:compile
[INFO] +- org.apache.maven.indexer:indexer-core:jar:4.1.3:compile
[INFO] | +- org.apache.maven.indexer:indexer-artifact:jar:4.1.3:compile
[INFO] | +- org.apache.lucene:lucene-core:jar:3.6.1:compile
[INFO] | - org.apache.lucene:lucene-highlighter:jar:3.6.1:compile
[INFO] | +- org.apache.lucene:lucene-memory:jar:3.6.1:compile
[INFO] | - org.apache.lucene:lucene-queries:jar:3.6.1:compile
[INFO] | - jakarta-regexp:jakarta-regexp:jar:1.4:compile
[INFO] +- reply:reply:jar:0.1.2:compile
[INFO] | +- jline:jline:jar:2.8:compile
[INFO] | +- org.thnetos:cd-client:jar:0.3.6:compile
[INFO] | | +- clj-http-lite:clj-http-lite:jar:0.2.0:compile
[INFO] | | - cheshire:cheshire:jar:4.0.3:compile
[INFO] | | +- com.fasterxml.jackson.core:jackson-core:jar:2.0.6:compile
[INFO] | | - com.fasterxml.jackson.dataformat:jackson-dataformat-smile:jar:2.0.6:compile
[INFO] | +- clj-stacktrace:clj-stacktrace:jar:0.2.4:compile
[INFO] | +- org.clojure:tools.nrepl:jar:0.2.0-RC1:compile
[INFO] | +- org.clojure:tools.cli:jar:0.2.1:compile
[INFO] | +- com.cemerick:drawbridge:jar:0.0.6:compile
[INFO] | +- trptcolin:versioneer:jar:0.1.0:compile
[INFO] | +- clojure-complete:clojure-complete:jar:0.2.2:compile
[INFO] | - org.clojars.trptcolin:sjacket:jar:0.1.1:compile
[INFO] | +- net.cgrand:regex:jar:1.1.0:compile
[INFO] | - net.cgrand:parsley:jar:0.9.1:compile
[INFO] - clj-http:clj-http:jar:0.5.8:compile
[INFO] +- org.apache.httpcomponents:httpcore:jar:4.2.2:compile
[INFO] +- org.apache.httpcomponents:httpclient:jar:4.2.2:compile
[INFO] | - commons-logging:commons-logging:jar:1.1.1:compile
[INFO] +- org.apache.httpcomponents:httpmime:jar:4.2.2:compile
[INFO] +- commons-codec:commons-codec:jar:1.6:compile
[INFO] +- commons-io:commons-io:jar:2.4:compile
[INFO] - slingshot:slingshot:jar:0.10.3:compile

from emacs-live.

ejackson avatar ejackson commented on May 23, 2024

I agree with your diagnosis. I'll try to bring ninjudd's complete.core onto the classpath on the server machine and see if that sorts it. Thanks.

from emacs-live.

ejackson avatar ejackson commented on May 23, 2024

That did the trick, thanks as always Sam !!

from emacs-live.

samaaron avatar samaaron commented on May 23, 2024

You're very welcome :-)

from emacs-live.

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.