私は今lighttableとclojureを学んでいます。私はclojureスクリプトを評価しようとすると許可が拒否されるという問題があります。LighttableでClojureを評価できない
ここでエラーがあります
We couldn't connect.
Looks like there was an issue trying to connect to the project. Here's what we got:
final project: {:description A local light table project, :compile-path /opt/LightTable/resources/app/plugins/Clojure/runner/resources/target/classes, :deploy-repositories [[clojars {:url https://clojars.org/repo/, :password :gpg, :username :gpg}]], :group local-client, :resource-paths (/opt/LightTable/resources/app/plugins/Clojure/runner/resources/dev-resources /opt/LightTable/resources/app/plugins/Clojure/runner/resources/resources), :uberjar-merge-with {META-INF/plexus/components.xml leiningen.uberjar/components-merger, data_readers.clj leiningen.uberjar/clj-map-merger, #"META-INF/services/.*" [clojure.core/slurp (fn* [p1__949__951__auto__ p2__950__952__auto__] (clojure.core/str p1__949__951__auto__
p2__950__952__auto__)) clojure.core/spit]}, :name local-client, :checkout-deps-shares [:source-paths :test-paths :resource-paths :compile-path #'leiningen.core.classpath/checkout-deps-paths], :source-paths (/opt/LightTable/resources/app/plugins/Clojure/runner/resources/src), :eval-in :subprocess, :repositories [[central {:url https://repo1.maven.org/maven2/, :snapshots false}] [clojars {:url https://clojars.org/repo/}]], :test-paths (/opt/LightTable/resources/app/plugins/Clojure/runner/resources/test), :target-path /opt/LightTable/resources/app/plugins/Clojure/runner/resources/target, :prep-tasks [javac compile], :native-path /opt/LightTable/resources/app/plugins/Clojure/runner/resources/target/native, :offline? false, :root /opt/LightTable/resources/app/plugins/Clojure/runner/resources, :pedantic? ranges, :clean-targets [:target-path], :plugins [], :plugin-repositories [[central {:url https://repo1.maven.org/maven2/, :snapshots false}] [clojars {:url https://clojars.org/repo/}]], :version 0.0.1, :jar-exclusions [#"^\."], :global-vars {}, :uberjar-exclusions [#"(?i)^META-INF/[^/]*\.(SF|RSA|DSA)$"], :jvm-opts [], :dependencies ([org.clojure/clojure 1.5.1] [org.clojure/tools.nrepl 0.2.10 :exclusions ([org.clojure/clojure])] [clojure-complete/clojure-complete 0.2.3 :exclusions ([org.clojure/clojure])] [lein-light-nrepl/lein-light-nrepl 0.1.3] [lein-light-nrepl-instarepl/lein-light-nrepl-instarepl 0.3.1]), :release-tasks [[vcs assert-committed] [change version leiningen.release/bump-version release] [vcs commit] [vcs tag] [deploy] [change version leiningen.release/bump-version] [vcs commit] [vcs push]], :repl-options {:nrepl-middleware [lighttable.nrepl.handler/lighttable-ops], :init (clojure.core/swap! lighttable.nrepl.core/my-settings clojure.core/merge {:name LightTable-REPL, :project (quote {:description A local light table project, :compile-path /opt/LightTable/resources/app/plugins/Clojure/runner/resources/target/classes, :deploy-repositories [[clojars {:url https://clojars.org/repo/, :password :gpg, :username :gpg}]], :group local-client, :resource-paths (/opt/LightTable/resources/app/plugins/Clojure/runner/resources/dev-resources /opt/LightTable/resources/app/plugins/Clojure/runner/resources/resources), :uberjar-merge-with {META-INF/plexus/components.xml leiningen.uberjar/components-merger, data_readers.clj leiningen.uberjar/clj-map-merger, #"META-INF/services/.*" [clojure.core/slurp (fn* [p1__949__951__auto__ p2__950__952__auto__] (clojure.core/str p1__949__951__auto__
p2__950__952__auto__)) clojure.core/spit]}, :name local-client, :checkout-deps-shares [:source-paths :test-paths :resource-paths :compile-path #'leiningen.core.classpath/checkout-deps-paths], :source-paths (/opt/LightTable/resources/app/plugins/Clojure/runner/resources/src), :eval-in :subprocess, :repositories [[central {:url https://repo1.maven.org/maven2/, :snapshots false}] [clojars {:url https://clojars.org/repo/}]], :test-paths (/opt/LightTable/resources/app/plugins/Clojure/runner/resources/test), :target-path /opt/LightTable/resources/app/plugins/Clojure/runner/resources/target, :prep-tasks [javac compile], :native-path /opt/LightTable/resources/app/plugins/Clojure/runner/resources/target/native, :offline? false, :root /opt/LightTable/resources/app/plugins/Clojure/runner/resources, :pedantic? ranges, :clean-targets [:target-path], :plugins [], :plugin-repositories [[central {:url https://repo1.maven.org/maven2/, :snapshots false}] [clojars {:url https://clojars.org/repo/}]], :version 0.0.1, :jar-exclusions [#"^\."], :global-vars {}, :uberjar-exclusions [#"(?i)^META-INF/[^/]*\.(SF|RSA|DSA)$"], :jvm-opts [], :dependencies ([org.clojure/clojure 1.5.1] [org.clojure/tools.nrepl 0.2.10 :exclusions ([org.clojure/clojure])] [clojure-complete/clojure-complete 0.2.3 :exclusions ([org.clojure/clojure])]), :release-tasks [[vcs assert-committed] [change version leiningen.release/bump-version release] [vcs commit] [vcs tag] [deploy] [change version leiningen.release/bump-version] [vcs commit] [vcs push]], :test-selectors {:default (constantly true)}})})}, :test-selectors {:default (constantly true)}}
java.io.IOException: Permission denied. Please check your access rights for /opt/LightTable/resources/app/plugins/Clojure/runner/resources/.nrepl-port
at leiningen.repl$repl.doInvoke(repl.clj:317)
at clojure.lang.RestFn.invoke(RestFn.java:425)
at leiningen.light_nrepl$light.invoke(light_nrepl.clj:77)
at leiningen.light_nrepl$_main.doInvoke(light_nrepl.clj:85)
at clojure.lang.RestFn.applyTo(RestFn.java:137)
at leiningen.light_nrepl.main(Unknown Source)
私はそれが許可について知っているが、私は許可を変更する必要のあるフォルダ/ファイルを知りません。私はすでに私がManjaroでLighttable IDEを使用していplugins
フォルダ 各地でchownコマンドを実行し、それはあなたがプラグインLightTalbe
に は非常にそれがあなたのLightTableの構成を確認勧めのClojureとは何かを持っているよう
lighttableのバージョン/ AUR/lighttable(-git)のバージョンは?また、エラーが具体的にどのファイルがIOExceptionを発生させるかを教えてくれます。 – birdspider
Lighttable v0.8.1を使用しています。 "yaourt -S lighttable"を使ってインストールします。 – Ampersanda