-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error identifying terminal #1459
Comments
Hi, I have a similar issue when trying to attach R to the terminal. I am now with the released version of VS code (v1.85.0). The output says: .vsc.attach()
Fatal error: cannot create 'R_TempDir' I am posting here because it looks related. Yet I am working from a remote cluster with |
Hi, were you able to fix it? I am running into exactly the same error message |
Previously this error had its root cause in a bug in VS Code itself. #385 I wonder if that bug has reappeared. @jooyoungseo Thank you for reporting this! @camilogarciabotero I think that's probably a different bug. @tomasnobrega Would you be able to post the screenshot too? Thank you. |
@xinzhuohkust Thank you! @jooyoungseo @tomasnobrega @xinzhuohkust Have you noticed any pattern to when this happens? After using VS Code for a while, after closing several terminals, only when using remote etc.? |
My issue was related to intermediate files in the find . -type d -name 'Rtmp*' -exec rm -r -v {} \; |
I get the same error as @xinzhuohkust: After I kill the currently active R terminal and then try to run a line from my R script using "Command + Enter," the command does not execute as expected. However, if I manually open a new terminal, type "R" to start an R session, and then use "Command + Enter," I can run lines from my script without any problems. I'm not sure why this is happening, but it appears that the automatic creation of a new R terminal after killing the previous one is not functioning correctly. VSCode Version: 1.87.0 (Universal) |
Not sure if anything was made, but this issue is not happening with me anymore. I didn't change anything on my end, not that I am aware anyways. |
Hi guys, I faced this issue again. I spent a lot of hours trying to come up with the underlying cause and I think I have finally identified it. The two conflicting terminals are "zsh" and "Python zsh". For me, the issue is related with the interaction between VSCode Python extension and R extension. I recently used Python in my work, I think it "woke up" the python extension and made the error happen. If I deactivate the Python extension, R extension works fine. I believe the Python extension makes another terminal and this is creating a bug with how the I am sorry but coding the solution is outside my expertise, however if someone could please look into it, I would be very grateful. I also think this is something that can happen to more people, since it only requires having both extensions together |
This should be solved now thanks to #1511. Thank you @tomasnobrega! |
Type: Bug
It looks like there is an error identifying my R terminal when executing R command. I am attaching the screen shot below.
Extension version: 2.8.2
VS Code version: Code - Insiders 1.85.0-insider (af28b32d7e553898b2a91af498b1fb666fdebe0c, 2023-12-06T11:15:22.766Z)
OS version: Windows_NT x64 10.0.22631
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
A/B Experiments
The text was updated successfully, but these errors were encountered: