This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-14
Channels
- # announcements (10)
- # architecture (3)
- # atom-editor (1)
- # babashka (53)
- # babashka-sci-dev (118)
- # beginners (74)
- # biff (10)
- # calva (13)
- # clara (13)
- # clerk (20)
- # clj-commons (17)
- # clj-kondo (6)
- # cljdoc (19)
- # cljs-dev (3)
- # clojars (2)
- # clojure (63)
- # clojure-art (2)
- # clojure-europe (68)
- # clojure-nl (1)
- # clojure-norway (6)
- # clojure-uk (3)
- # clojured (19)
- # clojurescript (34)
- # clr (1)
- # cursive (11)
- # emacs (12)
- # fulcro (3)
- # helix (2)
- # holy-lambda (2)
- # honeysql (27)
- # hyperfiddle (36)
- # malli (2)
- # off-topic (72)
- # polylith (4)
- # rdf (20)
- # re-frame (20)
- # reitit (4)
- # rewrite-clj (14)
- # shadow-cljs (17)
- # slack-help (2)
- # tools-deps (36)
- # xtdb (3)
Whoa! Is this solid, @cfleming? https://github.com/cursive-ide/mouse-copy Last I knew it was WIP. This would be awesome. 😹
I get "build successfule", but the exceptions thrown give me pause:
$ ./gradlew buildPlugin
Downloading
.........10%..........20%..........30%.........40%..........50%..........60%.........70%..........80%..........90%..........100%
Welcome to Gradle 6.3!
Here are the highlights of this release:
- Java 14 support
- Improved error messages for unexpected failures
For more details see
Starting a Gradle Daemon (subsequent builds will be faster)
> Configure project :
[gradle-intellij-plugin :mouse-copy] Cannot read builtin registry cache. Run with --debug option to get more log output
> Task :compileKotlin
w: Runtime JAR files in the classpath should have the same version. These files were found in the classpath:
/Users/kennethtilton/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.2.1/a3f8c1e5b23dacbb6515571c2d97b455643d766d/ideaIC-2020.2.1/lib/kotlin-reflect-1.3.70.jar (version 1.3)
/Users/kennethtilton/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.4.0/63e75298e93d4ae0b299bb869cf0c627196f8843/kotlin-stdlib-1.4.0.jar (version 1.4)
/Users/kennethtilton/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.4.0/1c752cce0ead8d504ccc88a4fed6471fd83ab0dd/kotlin-stdlib-common-1.4.0.jar (version 1.4)
w: Consider providing an explicit dependency on kotlin-reflect 1.4 to prevent strange errors
w: Some runtime JAR files in the classpath have an incompatible version. Consider removing them from the classpath
w: /Users/kennethtilton/dev/mouse-copy/src/main/kotlin/mouse/Copy.kt: (139, 29): 'getter for modifiers: Int' is deprecated. Deprecated in Java
> Task :buildSearchableOptions
Download
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.util.ReflectionUtil to field java.awt.event.InvocationEvent.runnable
WARNING: Please consider reporting this to the maintainers of com.intellij.util.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2023-03-14 09:48:32,997 [ 2768] WARN - j.internal.DebugAttachDetector - Unable to start DebugAttachDetector, please add `--add-exports java.base/jdk.internal.vm=ALL-UNNAMED` to VM options
Starting searchable options index builder
2023-03-14 09:48:36,388 [ 6159] WARN - ConfigurableExtensionPointUtil - ignore deprecated groupId: language for id: preferences.language.Kotlin.scripting
Warning: the fonts "Times" and "Times" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
2023-03-14 09:48:37,270 [ 7041] WARN - nSystem.impl.ActionManagerImpl - keymap "Xcode" not found [Plugin: com.intellij]
Warning: the fonts "Times" and "Times" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
Warning: the fonts "Times" and "Times" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
2023-03-14 09:48:54,966 [ 24737] WARN - .intellij.util.EnvironmentUtil - can't get shell environment
java.util.concurrent.CompletionException: java.lang.RuntimeException: command [/bin/zsh, -l, -i, -c, '/Users/kennethtilton/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.2.1/a3f8c1e5b23dacbb6515571c2d97b455643d766d/ideaIC-2020.2.1/bin/printenv.py' '/var/folders/zl/tyjfph_92ws1z65_7mbtbdxc0000gn/T/intellij-shell-env.1413640429114384007.tmp']
exit code:127 text:0 out:env: python: No such file or directory
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1702)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.RuntimeException: command [/bin/zsh, -l, -i, -c, '/Users/kennethtilton/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.2.1/a3f8c1e5b23dacbb6515571c2d97b455643d766d/ideaIC-2020.2.1/bin/printenv.py' '/var/folders/zl/tyjfph_92ws1z65_7mbtbdxc0000gn/T/intellij-shell-env.1413640429114384007.tmp']
exit code:127 text:0 out:env: python: No such file or directory
at com.intellij.util.EnvironmentUtil$ShellEnvReader.runProcessAndReadOutputAndEnvs(EnvironmentUtil.java:299)
at com.intellij.util.EnvironmentUtil$ShellEnvReader.readShellEnv(EnvironmentUtil.java:227)
at com.intellij.util.EnvironmentUtil.getShellEnv(EnvironmentUtil.java:187)
at com.intellij.util.EnvironmentUtil.lambda$loadEnvironment$0(EnvironmentUtil.java:77)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
... 7 more
Searchable options index builder completed
BUILD SUCCESSFUL in 2m 3s
11 actionable tasks: 11 executed
I'll check my gradle installation.Reinstall with brew, now at gradle 8.0.2, same story:
$ ./gradlew buildPlugin
> Task :buildSearchableOptions
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by com.intellij.util.ReflectionUtil to field java.awt.event.InvocationEvent.runnable
WARNING: Please consider reporting this to the maintainers of com.intellij.util.ReflectionUtil
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
2023-03-14 09:56:51,732 [ 2218] WARN - j.internal.DebugAttachDetector - Unable to start DebugAttachDetector, please add `--add-exports java.base/jdk.internal.vm=ALL-UNNAMED` to VM options
Starting searchable options index builder
2023-03-14 09:56:53,320 [ 3806] WARN - ConfigurableExtensionPointUtil - ignore deprecated groupId: language for id: preferences.language.Kotlin.scripting
Warning: the fonts "Times" and "Times" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
2023-03-14 09:56:54,413 [ 4899] WARN - nSystem.impl.ActionManagerImpl - keymap "Xcode" not found [Plugin: com.intellij]
Warning: the fonts "Times" and "Times" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
Warning: the fonts "Times" and "Times" are not available for the Java logical font "Serif", which may have unexpected appearance or behavior. Re-enable the "Times" font to remove this warning.
2023-03-14 09:57:12,101 [ 22587] WARN - .intellij.util.EnvironmentUtil - can't get shell environment
java.util.concurrent.CompletionException: java.lang.RuntimeException: command [/bin/zsh, -l, -i, -c, '/Users/kennethtilton/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.2.1/a3f8c1e5b23dacbb6515571c2d97b455643d766d/ideaIC-2020.2.1/bin/printenv.py' '/var/folders/zl/tyjfph_92ws1z65_7mbtbdxc0000gn/T/intellij-shell-env.10666519714318429630.tmp']
exit code:127 text:0 out:env: python: No such file or directory
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314)
at java.base/java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1702)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.RuntimeException: command [/bin/zsh, -l, -i, -c, '/Users/kennethtilton/.gradle/caches/modules-2/files-2.1/com.jetbrains.intellij.idea/ideaIC/2020.2.1/a3f8c1e5b23dacbb6515571c2d97b455643d766d/ideaIC-2020.2.1/bin/printenv.py' '/var/folders/zl/tyjfph_92ws1z65_7mbtbdxc0000gn/T/intellij-shell-env.10666519714318429630.tmp']
exit code:127 text:0 out:env: python: No such file or directory
at com.intellij.util.EnvironmentUtil$ShellEnvReader.runProcessAndReadOutputAndEnvs(EnvironmentUtil.java:299)
at com.intellij.util.EnvironmentUtil$ShellEnvReader.readShellEnv(EnvironmentUtil.java:227)
at com.intellij.util.EnvironmentUtil.getShellEnv(EnvironmentUtil.java:187)
at com.intellij.util.EnvironmentUtil.lambda$loadEnvironment$0(EnvironmentUtil.java:77)
at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
... 7 more
Searchable options index builder completed
BUILD SUCCESSFUL in 30s
11 actionable tasks: 2 executed, 9 up-to-date
I went ahead and tried it, no luck, although the error makes it sound like the build itself might have been fine:
Plugin 'Mouse Copy' (version '1.0-SNAPSHOT') is not compatible with the current version of the IDE, because it requires build 202.* or older but the current build is IC-231.5920.14
Let me know if there is anything I can do to make this happen. Thx!I'm having trouble with a shadow-cljs REPL where I cannot load some of my namespaces into it with the 'Load File in REPL' action. They fail with a cyclic dependency warning around :as-alias
requires. I can load them with an explicit (require '[...])
in my REPL, but that's rather a faff. Is this a known issue?
It seems that a custom REPL command of (load-file "~file-path")
will work around the issue for now. You can even bind a shortcut to it.
Not sure if it’s the same in cljs as in clj - but i’ve disabled “Load out-of-date file dependencies transitively” and that fixes it for clj
There was a bug around this which I fixed a while back: https://github.com/cursive-ide/cursive/issues/2690. I’ll check in my shadow project to see if I can repro that.