-
-
Notifications
You must be signed in to change notification settings - Fork 413
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
Unable to open sketches from UNC path #1797
Comments
Hi @119311 please tell us the full path of one of the sketches that won't open. |
Hi @per1234 . It looks like you didn't have enough information sketch's path is like:
|
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Thanks for the clarification.
The bug is actually in the Eclipse Theia IDE framework Arduino IDE is built on. I submitted a report to that project's repository: But I think it is reasonable for us to document the bug in this project's issue tracker as well so I think we should leave this issue open until the bug is resolved by updating the Theia version used by Arduino IDE to one that does not have the bug (we have to wait for a fix and a release before that will be possible). Even though the bug is not in the codebase hosted in this repository, that fact is not at all obvious so affected users will come here to look for an existing report rather than the Theia repository. |
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
This comment was marked as duplicate.
Isn't VSCode also based on Theia? Why doesn't it have this problem? Can you refer to VSCode's solution for Arduino IDE? |
Add a remark that opening the project from an UNC location is not possible with arduino IDE due to a persisting and long unsolved bug (see arduino/arduino-ide#1797)
I can confirm this still exists in 2.3.4 |
Describe the problem
I cannot open files in WSL
I can't open sketches either from explorer or from arduino IDE.
To reproduce
Open Arduino IDE and select Open... then choose sketch in WSL.
Expected behavior
Sketch in WSL will not be opened, but a new sketch will be opened.
Arduino IDE version
Original report
2.0.4-nightly-20230104
Last verified with
2.3.2
Operating system
Windows
Operating system version
10.0.19045.2364
Additional context
I also tried with Arduino IDE 2.0.3
My environment is as follows:
Click here to see info
Windows and WSL
WSL Version: 1.0.3.0
Kernel Version: 5.15.79.1
WSLg Version: 1.0.47
MSRDC Version: 1.2.3575
Direct3D Version: 1.606.4
DXCore Version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows Version 10.0.19045.2364
WSL distro
Workaround
Move the sketch to a different location that is not under a UNC path.
Alternatively, if you would like to continue to open sketches from the network share, you can map it to a drive on your computer. Then make sure to open the sketches from that drive instead of from the network location:
https://support.microsoft.com/windows/map-a-network-drive-in-windows-29ce55d1-34e3-a7e2-4801-131475f9557d
Additional reports
Issue checklist
The text was updated successfully, but these errors were encountered: