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

"The editor could not be opened because the file was not found." - Related To Symbolic Links? #100

Open
vindicatorr opened this issue Dec 31, 2022 · 0 comments

Comments

@vindicatorr
Copy link

Type: Bug

This MAY be a CMake extension issue... Let me know if it is. (I was about to post this in vscode-cpptools, before deciding this may be the correct place)

Using the Matter project (linked is the actual path that MAY be the issue), I encounter the error in the title when trying to view the "PROBLEMS" error related file.

For example, the file it's referring to, it thinks is at /<pathToGetTo>/connectedhomeip/config/esp32/third_party/connectedhomeip/src/messaging/tests/TestReliableMessageProtocol.cpp, when in reality, the path is /home/userName/<pathToGetTo>/connectedhomeip/config/esp32/third_party/connectedhomeip/src/messaging/tests/TestReliableMessageProtocol.cpp.

I've no idea why it does that.
The CMake/Build output doesn't seem right either: [build] ../../../../../../../<pathTo>/connectedhomeip/config/esp32/third_party/connectedhomeip/src/messaging/tests/TestReliableMessageProtocol.cpp:369:27: error:<...>
I went to my project path, and tried to ls that path, and it wasn't found.
I then went to the build dir in the project path, and ls still wasn't finding the path.
I then did pwd and counted the dirs back, and it does seem off, and I'm not sure if the symbolic links the Matter project uses may be messing the pathing (or rather vscode-cpptools (or cmake) hadn't taken it into consideration).

Extension version: 0.0.17
VS Code version: Code - OSS 1.72.0 (c4722f1bb292284e0437eb7547808a5788fe6430, 2022-09-02T06:52:06.316Z)
OS version: Linux x64 6.0.1-dirty
Modes:
Sandboxed: No

System Info
Item Value
CPUs Intel(R) Core(TM) i3-4130 CPU @ 3.40GHz (4 x 3392)
GPU Status 2d_canvas: enabled
canvas_oop_rasterization: disabled_off
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_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
Load (avg) 1, 1, 1
Memory (System) 7.23GB (1.21GB free)
Process Argv --ms-enable-electron-run-as-node
Screen Reader no
VM 0%
DESKTOP_SESSION plasma
XDG_CURRENT_DESKTOP KDE
XDG_SESSION_DESKTOP KDE
XDG_SESSION_TYPE x11
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

1 participant