Possible Bug: Unable to run Gradle Run Configuration on unix SSH target for windows host
已回答
I have just created a new kotlin multiplatform project. It should be executed on a Raspberry Pi running Raspberry Pi OS, while I'm developing on my Windows PC. So I created a new Gradle Run Configuration and set the target to connect to my Pi over SSH (I'm using rsync, if this is relevant).
When running the configuration I get this output:
Connecting to raspberrypi...
Set up uploading volume file://E:\JetBrains\Toolbox\IntelliJ IDEA Ultimate\plugins\gradle\lib ==> ssh://raspberrypi/home/paul/Sequencer/oN4VjezcxJ
Set up uploading volume file://E:\JetBrains\Toolbox\IntelliJ IDEA Ultimate\lib ==> ssh://raspberrypi/home/paul/Sequencer/aXnA969RNi
Set up uploading volume file://D:\Paul\Development\Projects\Sequencer ==> ssh://raspberrypi/home/paul/Sequencer/r3tMSgLNrz
Copied E:\JetBrains\Toolbox\IntelliJ IDEA Ultimate\lib\external-system-rt.jar
Copied E:\JetBrains\Toolbox\IntelliJ IDEA Ultimate\plugins\gradle\lib\gradle-tooling-extension-api.jar
Copied E:\JetBrains\Toolbox\IntelliJ IDEA Ultimate\plugins\gradle\lib\gradle.jar
Copied E:\JetBrains\Toolbox\IntelliJ IDEA Ultimate\plugins\gradle\lib\gradle-wrapper-8.2.jar
57,33 MB have been transferred...
Copied E:\JetBrains\Toolbox\IntelliJ IDEA Ultimate\plugins\gradle\lib\gradle-api-impldep-8.2.jar
56,18 MB have been transferred...
Copied E:\JetBrains\Toolbox\IntelliJ IDEA Ultimate\plugins\gradle\lib\gradle-api-8.2.jar
56,25 MB have been transferred...
Copied E:\JetBrains\Toolbox\IntelliJ IDEA Ultimate\lib\util-8.jar
Skipped D:\Paul\Development\Projects\Sequencer\.gradle
Skipped D:\Paul\Development\Projects\Sequencer\.idea
Skipped D:\Paul\Development\Projects\Sequencer\build
Copied D:\Paul\Development\Projects\Sequencer\.gitignore
Copied D:\Paul\Development\Projects\Sequencer\build.gradle.kts
Copied D:\Paul\Development\Projects\Sequencer\gradle\wrapper\gradle-wrapper.jar
Copied D:\Paul\Development\Projects\Sequencer\gradle\wrapper\gradle-wrapper.properties
Copied D:\Paul\Development\Projects\Sequencer\gradle.properties
Copied D:\Paul\Development\Projects\Sequencer\gradlew
Copied D:\Paul\Development\Projects\Sequencer\gradlew.bat
Copied D:\Paul\Development\Projects\Sequencer\settings.gradle.kts
Copied D:\Paul\Development\Projects\Sequencer\src\nativeMain\kotlin\Main.kt
Running Gradle on SSH...
bash: line 1: cd: \home\paul\Sequencer\r3tMSgLNrz: No such file or directory
bash: line 1: /home/paul/E:\JetBrains\Toolbox\IntelliJ IDEA Ultimate\jbr/bin/java: No such file or directory
This are the files on the PI:
paul@raspberrypi:~/Sequencer $ ls
7Qs8zt5nNT aXnA969RNi CiFdoI6oeP dh8OolsgmS J0V6xhoK55 J6c6bCHOO7 Kgy93BUCzR O1CY14O2A7 oN4VjezcxJ r3tMSgLNrz
I guess this error comes from the wrong file separators used, or am I missing something?
Is this an bug in Intellij? Has anybody of you had a similar problem before?
请先登录再写评论。
Hello, Paul Methfessel. Unfortunately, it looks like a known bug that hasn't been fixed yet. Could you please check if disabling Rsync helps?