PyCharm remote development not starting

已回答

PyCharm starts acting weird after I use the Pycharm remote for a couple of months (incorrectly removes newlines, doesn't allow me to type, wrong autocompletions). Then, I cannot connect to the server anymore because it is not responding. I tried to kill local processes on the server and start again. I also tried to delete the .cache/RemoteDev directory and deploy it again. 

I connect using PyCharm → Remote Development → SSH

The error I get is the following: 

Could not get host jstack:
Details:
An error occurred while executing command: 'get-jstack --ide-path=/g/kosinski/dima/JetBrains/RemoteDev/dist/dc51b8de7aeac_pycharm-professional-242.23726.56 --project-path=/g/kosinski/dima/PycharmProjects/AlphaPulldown'
Exit code: 1

The full logs output is below:

2025-03-04 09:27:46,408    INFO    uname -sm
    stdout:
    Linux x86_64
2025-03-04 09:27:49,634    INFO    echo $SHELL
    stdout:
    /bin/bash
2025-03-04 09:27:52,483    INFO    uname -sm
    stdout:
    Linux x86_64
2025-03-04 09:27:55,528    INFO    echo $SHELL
    stdout:
    /bin/bash
2025-03-04 09:27:58,602    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ echo\ \$HOME
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    /home/dmolodenskiy
2025-03-04 09:28:04,334    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ echo\ \$XDG_CACHE_HOME
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
2025-03-04 09:28:10,460    WARN    exit code: 1    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ test\ -f\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
2025-03-04 09:28:16,233    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ dirname\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker
2025-03-04 09:28:22,874    WARN    exit code: 129 (SIGHUP)    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ ls\ -la\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker
2025-03-04 09:28:23,156    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ mkdir\ -p\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
2025-03-04 09:28:28,874    INFO    dd of=/home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56.5959571596625.tmp
    stdout:
    stdout used for binary data
    stderr:
    4760+0 records in
    4760+0 records out
    2437120 bytes (2.4 MB, 2.3 MiB) copied, 0.272903 s, 8.9 MB/s
2025-03-04 09:28:32,312    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ mv\ -v\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56.5959571596625.tmp\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    renamed '/home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56.5959571596625.tmp' -> '/home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56'
2025-03-04 09:28:38,243    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ chmod\ 755\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
2025-03-04 09:28:44,131    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ test\ -f\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
2025-03-04 09:28:49,755    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ test\ -x\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
2025-03-04 09:28:55,516    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ get-sha256\ --path=/home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56
2025-03-04 09:29:01,212    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ get-path\ --path=cache
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    /home/dmolodenskiy/.cache/JetBrains
2025-03-04 09:29:06,961    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ get-path\ --path=config
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    /home/dmolodenskiy/.config/JetBrains
2025-03-04 09:29:12,612    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ exists\ --path=/home/dmolodenskiy/.cache/JetBrains
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    true
2025-03-04 09:29:18,474    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ exists\ --path=/home/dmolodenskiy/.config/JetBrains
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    true
2025-03-04 09:29:24,877    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ lock-support
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
2025-03-04 09:29:31,183    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ available-memory
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    2109024608
2025-03-04 09:29:36,865    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ cpu-count
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    128
2025-03-04 09:29:42,980    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ port-forwarding-test
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    41835
2025-03-04 09:29:49,314    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ readlink\ --path=/g/kosinski/dima/PycharmProjects/AlphaPulldown
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    /g/kosinski/dima/PycharmProjects/AlphaPulldown
2025-03-04 09:29:55,221    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ get-path\ --path=cache
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    /home/dmolodenskiy/.cache/JetBrains
2025-03-04 09:30:01,016    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ get-path\ --path=config
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    /home/dmolodenskiy/.config/JetBrains
2025-03-04 09:30:06,768    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ exists\ --path=/home/dmolodenskiy/.cache/JetBrains
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    true
2025-03-04 09:30:12,590    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ exists\ --path=/home/dmolodenskiy/.config/JetBrains
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    true
2025-03-04 09:30:18,172    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ get-path\ --path=cache
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    /home/dmolodenskiy/.cache/JetBrains
2025-03-04 09:30:24,514    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ get-path\ --path=config
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    /home/dmolodenskiy/.config/JetBrains
2025-03-04 09:30:30,360    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ available-space\ --path=/home/dmolodenskiy/.cache/JetBrains
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    2563704356864
2025-03-04 09:30:35,963    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ available-space\ --path=/home/dmolodenskiy/.config/JetBrains
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    1950745624576
2025-03-04 09:30:41,594    WARN    exit code: 1    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ host-status\ --ide-path=/g/kosinski/dima/JetBrains/RemoteDev/dist/dc51b8de7aeac_pycharm-professional-242.23726.56\ --project-path=/g/kosinski/dima/PycharmProjects/AlphaPulldown
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    {"type":"error","errorCode":"CommandError","data":"Command /g/kosinski/dima/JetBrains/RemoteDev/dist/dc51b8de7aeac_pycharm-professional-242.23726.56/bin/remote-dev-server.sh failed.\nStdout: \nStderr: \n\nCaused by: fork/exec /g/kosinski/dima/JetBrains/RemoteDev/dist/dc51b8de7aeac_pycharm-professional-242.23726.56/bin/remote-dev-server.sh: no such file or directory"}
    [command is repeated 8 more times]
2025-03-04 09:31:42,164    INFO    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ backend-status-alive\ --project-path=/g/kosinski/dima/PycharmProjects/AlphaPulldown
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    false
2025-03-04 09:31:48,239    WARN    exit code: 1    /bin/bash -lc echo\ REMOTE_EXEC_OUTPUT_MARKER_\ \&\&\ /home/dmolodenskiy/.cache/JetBrains/RemoteDev/remote-dev-worker/remote-dev-worker_fcf8a611ab8f9110082dc5a71cb4e287dc9ee35120fb7880e4e56e6b92abec56\ product-code\ --ide-path=/g/kosinski/dima/JetBrains/RemoteDev/dist/dc51b8de7aeac_pycharm-professional-242.23726.56
    stdout:
    REMOTE_EXEC_OUTPUT_MARKER_
    {"type":"error","errorCode":"CommandError","data":"/g/kosinski/dima/JetBrains/RemoteDev/dist/dc51b8de7aeac_pycharm-professional-242.23726.56/build.txt doesn't exist"}

==== FAILURES ====
The following exception failed the deployment
com.jetbrains.gateway.ssh.deploy.DeployException:
Details:
An error occurred while executing command: 'product-code --ide-path=/g/kosinski/dima/JetBrains/RemoteDev/dist/dc51b8de7aeac_pycharm-professional-242.23726.56'
Exit code: 1
    at com.jetbrains.gateway.ssh.DeployFlowUtil$fullDeployCycleImpl$2.invokeSuspend(DeployFlowUtil.kt:308)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
    at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Caused by: com.jetbrains.gateway.ssh.deploy.DeployException:
Details:
An error occurred while executing command: 'product-code --ide-path=/g/kosinski/dima/JetBrains/RemoteDev/dist/dc51b8de7aeac_pycharm-professional-242.23726.56'
Exit code: 1
    at com.jetbrains.gateway.ssh.DeployFlowUtil$fullDeployCycleImpl$2.invokeSuspend(DeployFlowUtil.kt:303)
    ... 8 more
Caused by: com.jetbrains.gateway.ssh.deploy.DeployException:
Details:
An error occurred while executing command: 'product-code --ide-path=/g/kosinski/dima/JetBrains/RemoteDev/dist/dc51b8de7aeac_pycharm-professional-242.23726.56'
Exit code: 1
    at com.jetbrains.gateway.ssh.DeployFlowUtil$fullDeployCycleImpl$2.invokeSuspend(DeployFlowUtil.kt:301)
    ... 8 more
Caused by: com.jetbrains.gateway.ssh.RemoteCommandException:
Details:
An error occurred while executing command: 'product-code --ide-path=/g/kosinski/dima/JetBrains/RemoteDev/dist/dc51b8de7aeac_pycharm-professional-242.23726.56'
Exit code: 1
    at com.jetbrains.gateway.ssh.GoHighLevelHostAccessor.createException(GoHighLevelHostAccessor.kt:272)
    at com.jetbrains.gateway.ssh.GoHighLevelHostAccessor.callAndGetError(GoHighLevelHostAccessor.kt:218)
    at com.jetbrains.gateway.ssh.GoHighLevelHostAccessor.access$callAndGetError(GoHighLevelHostAccessor.kt:38)
    at com.jetbrains.gateway.ssh.GoHighLevelHostAccessor$callAndGetError$2.invokeSuspend(GoHighLevelHostAccessor.kt)
    ... 8 more

==== ENVIRONMENT ====
INSTALLED PRODUCTS
    

AVAILABLE MEMORY
    2011,32GB

==== DIAGNOSTIC ERRORS ====
Collecting fixes for fixer com.jetbrains.gateway.ssh.deploy.fixes.LogDownloadDiagnosticProvider@867d52b failed with an exception: com.jetbrains.gateway.ssh.RemoteCommandException:
Details:
An error occurred while executing command: 'product-code --ide-path=/g/kosinski/dima/JetBrains/RemoteDev/dist/dc51b8de7aeac_pycharm-professional-242.23726.56'
Exit code: 1
com.jetbrains.gateway.ssh.RemoteCommandException:
Details:
An error occurred while executing command: 'product-code --ide-path=/g/kosinski/dima/JetBrains/RemoteDev/dist/dc51b8de7aeac_pycharm-professional-242.23726.56'
Exit code: 1
    at com.jetbrains.gateway.ssh.GoHighLevelHostAccessor.createException(GoHighLevelHostAccessor.kt:272)
    at com.jetbrains.gateway.ssh.GoHighLevelHostAccessor.callAndGetError(GoHighLevelHostAccessor.kt:218)
    at com.jetbrains.gateway.ssh.GoHighLevelHostAccessor.access$callAndGetError(GoHighLevelHostAccessor.kt:38)
    at com.jetbrains.gateway.ssh.GoHighLevelHostAccessor$callAndGetError$2.invokeSuspend(GoHighLevelHostAccessor.kt)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
    at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
    at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

Could not get host jstack:
Details:
An error occurred while executing command: 'get-jstack --ide-path=/g/kosinski/dima/JetBrains/RemoteDev/dist/dc51b8de7aeac_pycharm-professional-242.23726.56 --project-path=/g/kosinski/dima/PycharmProjects/AlphaPulldown'
Exit code: 1
0

Hello, Dmitry Molodenskiy. Could you please collect (Help | Collect Logs and Diagnostic Data) the IDE logs, share the archive via the JetBrains Uploads service, and write me the ID you receive? I want to check if any additional details related to the problem are reported in the logs. 

0

Hi Olga and thanks for the quick reply!

The id is the following:

Upload id: 2025_03_04_WREYbTgj2U1Aj6nrg7UpB9 (file: gateway-logs-20250304-0932296313430559538515140.zip)

 

0

Thank you for sharing the logs. 

The problem you encountered seems to be related to the lack of Dev Container plugin classes in the Gateway installation. Could you please update your Gateway to the latest available version, 2024.3.3? 

0

Yes, I've just realized that my Gateway version called from PyCharm is older than the Gateway I have installed system-wide.

The one from PyCharm:

JetBrains Gateway 2024.1
Build #GW-241.14494.241, built on March 4, 2025

Runtime version: 17.0.10+8-b1207.12 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 15.3.1
GC: G1 Young Generation, G1 Old Generation
Memory: 512M
Cores: 8
Registry:
 debugger.new.tool.window.layout=true
 ide.experimental.ui=true
 

The system one:

JetBrains Gateway 2024.3.3
Build #GW-243.24978.56, built on February 13, 2025
Runtime version: 21.0.6+8-b631.39 aarch64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.lwawt.macosx.LWCToolkit
macOS 15.3.1
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 2048M
Cores: 8
Metal Rendering is ON
Registry:
 ide.experimental.ui=true
 

with the latter everything works as expected, thank you!

0

sorry, I'm having the same problem again (after I installed the GitHub copilot plugin; could that be the reason?..)

Upload id: 2025_03_04_3Tmwn9nh5wZYmaaeoyEWit (file: gateway-logs-20250304-16521010495281621450204215.zip)

Many thanks for your help!

0

Dmitry Molodenskiy, do you use old PyCharm version? If so, is it possible for you to update?

In the logs you shared, I see that the IDE on the remote host (IDE backend) was shut down:

2025-03-04 16:49:03,389 [1936228]   WARN - #c.j.g.s.GoHighLevelHostAccessor - The status command provided error result.
Error code: CommandError
Error:
Command /g/kosinski/dima/JetBrains/RemoteDev/dist/f508a3c349077_pycharm-professional-251.23536.40/bin/remote-dev-server.sh failed.
Stdout: IDE is being shut down
Stderr: 
Caused by: exit status 16

Is it possible for you to connect to the remote host and share the ~/.cache/JetBrains/<product><versions>/log/idea.log file from there?

0

Ok, I have no clue what is going on, but today it all just works fine from the Gateway 2024.3.3 :-)

Just in case I uploaded the remote host log file, maybe you could find something useful in there.

Upload id: 2025_03_05_wypKA3u8fotrkUznookLXC (file: idea.log)

Many thanks again for all your quick and professional help!

0

Thank you for the update; glad the problem is gone.

In the backend logs you shared, I see suspicious entries related to the IDE directories paths, for example:

idea.system.path=/home/<username1>/.cache/JetBrains/PyCharm2025.1 -> /g/<username2>/JetBrains/PyCharm2025.1

Is there some network disk or the IDE distribution is used by several persons? It may be the reason for the problems you encountered. 

0

that is right, I develop at remote HPC with the limited space at home directory, so I created a softlink to the network disk ~/.cache/JetBrains → /g/<username>/JetBrains with bigger disk capabilities. This disk is indeed used by many other people, but supposed to be fast. Do you think it will be more stable if I use /home instead? Is there some environment variable I can set to change the default path for .cache/JetBrains directory?

Thank you!

0

Do you think it will be more stable if I use /home instead?

 

Yes, I'd suggest using it instead and downloading your IDE distribution (IDE backend) directly to your user home directory. If there are several users having access to the same IDE distribution files, it may disrupt the normal Remote Development flow and lead to unexpected results.

0

请先登录再写评论。