Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/clojure/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法评估Lighttable中的Clojure_Clojure - Fatal编程技术网

无法评估Lighttable中的Clojure

无法评估Lighttable中的Clojure,clojure,Clojure,我正在学习lighttable和clojure。但我有一个问题,当我尝试评估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/LightT

我正在学习lighttable和clojure。但我有一个问题,当我尝试评估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)
我知道这是关于权限的,但我不知道应该更改哪个文件夹/文件的权限。我已经在所有的插件文件夹中做了chown 我在Manjaro使用Lighttable IDE

 Please check your access rights for /opt/LightTable/resources/app/plugins/Clojure/runner/resources/.nrepl-port
看起来它与您有关,LightTalbe中的clojure插件 强烈建议检查您的LightTable配置

看起来它与您有关,LightTalbe中的clojure插件
强烈建议检查LightTable的配置

可能与根本原因不同,因为您的配置似乎不在MacOS上,但由于应用程序移位,同样的错误也会出现

在MacIS的最新版本中,有一个名为App Translocation的安全功能,可在只读文件系统上运行应用,请参阅和

Light Table权限错误将涉及路径/private/var/folders/../AppTranslocation


要解决此问题,请将LightTable.app和light都放在/Applications文件夹中。对于每个应用程序,请完成允许未签名应用程序的过程。然后,启动LightTable.app,而不是启动LightTable.app,这也将启动控制台窗口

可能不是相同的根本原因,因为您的应用程序似乎不在MacOS上,但由于应用程序易位,同样的错误也会出现

在MacIS的最新版本中,有一个名为App Translocation的安全功能,可在只读文件系统上运行应用,请参阅和

Light Table权限错误将涉及路径/private/var/folders/../AppTranslocation


要解决此问题,请将LightTable.app和light都放在/Applications文件夹中。对于每个应用程序,请完成允许未签名应用程序的过程。然后,启动LightTable.app,而不是启动LightTable.app,这也将启动控制台窗口

哪个版本的lighttable/哪个版本的AUR/lighttable git?-此外,该错误还具体告诉您,我使用的是Lighttable v0.8.1,而我只是通过yaourt-S Lighttable安装了IOExceptionOni,Lighttable的哪个版本/AUR/Lighttable git的哪个版本?-另外,该错误还具体告诉您IOExceptionI使用的是Lighttable v0.8.1,我只是通过yaourt-S Lighttable安装了它。我检查了它,但没有找到任何名为.nrepl port的文件。我已经显示了隐藏文件also@MochamadLuckyPradana没有找到任何名为.nrepl port的文件,我猜这是因为程序无法创建一个,因为权限不足。我向我的用户发送了邮件@birdspiderI也检查了它,但我没有找到任何名为.nrepl port的文件。我已经显示了隐藏文件also@MochamadLuckyPradana没有找到任何名为.nrepl port的文件,我想这是因为程序无法创建一个,因为权限不足。我向我的用户@birdspiders做了更改,也解决了我的问题。然而,这对最终用户来说是一次非常糟糕的体验。解决了我的问题。然而,对于终端用户来说,这是一种非常糟糕的体验。