Skip to content
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

Running extension error #1492

Open
Mohamed-Hossam2002 opened this issue Feb 21, 2024 · 2 comments
Open

Running extension error #1492

Mohamed-Hossam2002 opened this issue Feb 21, 2024 · 2 comments

Comments

@Mohamed-Hossam2002
Copy link

Mohamed-Hossam2002 commented Feb 21, 2024

Type: Bug

I used the command palette in vs code to open the running extensions to check their activation time, then I found the following warning under the R extension:
"cannot register 'r.rpath.windows'. this property is already registered"

I don't have any path registered in r.rpath and r.rterm in vs code settings. The path is registered globally in Windows environment variables and everything is working fine.

I also didn't find anything registered in the JSON settings file for R except:

 "[r]": {
    "editor.defaultFormatter": "REditorSupport.r"
  }

So I'm not sure why this message is there. Any help on how to remove this warning message would be appreciated.

Here's a screenshot of the warning message:

issue

Extension version: 2.8.2
VS Code version: Code 1.86.2 (903b1e9d8990623e3d7da1df3d33db3e42d80eda, 2024-02-13T19:40:56.878Z)
OS version: Windows_NT x64 10.0.22631
Modes:

System Info
Item Value
CPUs 11th Gen Intel(R) Core(TM) i5-11400H @ 2.70GHz (12 x 2688)
GPU Status 2d_canvas: enabled
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
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
Load (avg) undefined
Memory (System) 15.85GB (3.45GB free)
Process Argv --crash-reporter-id 5fbe2a6c-6ae8-4789-9fe3-08c351cf55f3
Screen Reader no
VM 29%
A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
pydisww2:30959801
edj9j583:30969295
7j2b6412:30969109
bg6jg535:30958357

@Mohamed-Hossam2002 Mohamed-Hossam2002 changed the title Runniing extension error Running extension error Feb 21, 2024
@ElianHugh
Copy link
Collaborator

Hi @Mohamed-Hossam2002, do you have any other R extensions installed? Typically the warning that This property is already registered pops up when multiple extensions are trying to register the same property, in this case r.rpath.windows. I think in the past there may have been an overlap with the R debugger extension, but don't quote me on that.

In any case, I've found that the warning itself doesn't affect the running of this extension. Please let me know if it's causing further issues for you.

@Mohamed-Hossam2002
Copy link
Author

Hey @ElianHugh, I have two other R extensions installed: R debugger and R test explorer. After disabling the R debugger extension, the warning was gone indeed. If you know any other way to remove the warning without disabling the R debugger, please let me know. Nonetheless, the warning doesn't cause any problems for me as well, so I can cope with it. If any other issues arise, I'll let you know. Thanks a lot for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants