Hello world, I have updated my IDE with 2.04, and now impossible to open my ino's files on my NAS Synology. I pointed path in IDE preference, but IDE open a blanck scktech, same when i double clic directly on ino. Before no problems. do you have an ideas ?
Thank you very mutch.
Blanks or special characters in the path.
Unstable network.
Something different we can't see as you don't provide enough evidence like screenshots and error messages.
my directory path is: 192.168.1.19/myarduino
no error messages, I can brosse my directory myarduino, but when I clic on my ino file, IDE open a new blank sketch instead of my sketch.
thank you
Are the read/write properties set correctly ?
They can affect what happens on networked drives.
Usually I would suggest against using networks to store files unless you are competant in networking.
In most cases many of us would suggest keeping them on a local drive.
This can be especially true for such as Google and Microsoft online storage etc.
An idea would be to make a copy of the NAS folder on the local drive and then point the IDE to that drive to see is that helps.
Permissions are maximum.
In fact I store my files on my NAS, because in another room of my house I have a MAC, and I have no problem opening the files on the NAS.
I think it's really related to windows, because I tested with another PC W10, and I have exactly the same problem.
yes it is a possibility...
PaulRB
March 25, 2023, 6:23pm
7
Can you open some other document, like a Word or Excel file, if it is in that same NAS folder as the .ino ?
Good remark, I just put a word/excel/pdf/jpeg, no problem I can open and modify in /myarduino.
peharpps firwall ???
Either firewall or antivirus or something similar.
As a simple test you could turn off those individually.
Once you work out the culprit you could add an EXCEPTION.
it's really a mystery, I just stopped firewall and antivirus, it's still the same
Then move the folder to the local drive and make sure you point the IDE at that.
It will rule out any unknowns.
Don't forget to restart the computer after the move / copy etc.
Thank you I going to use this solution.
That is odd. Normally I would expect a Windows network share to have a UNC path with this format:
\\<host>\<share name>\<path>
There is a known bug that causes opening sketches with UNC paths to fail:
opened 09:03AM - 04 Jan 23 UTC
topic: infrastructure
type: imperfection
topic: theia
### 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
2.0.4-nightly-20230104
### 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:
<details>
<summary><b>Click here to see info</b></summary>
<p>
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
OS: Ubuntu 22.04.1 LTS on Windows 10 x86_64
Kernel: 5.15.79.1-microsoft-standard-WSL2
Packages: 1748 (dpkg), 4 (snap)
Shell: zsh 5.8.1
Theme: Adwaita [GTK3]
Icons: Adwaita [GTK3]
Terminal: Windows Terminal
CPU: AMD Ryzen 5 4500U with Radeon Graphics (6) @ 2.370GHz
GPU: e775:00:00.0 Microsoft Corporation Device 008e
Memory: 1747MiB / 7946MiB
</p>
</details>
<a name="workaround"></a>
#### 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/en-gb/windows/map-a-network-drive-in-windows-29ce55d1-34e3-a7e2-4801-131475f9557d
#### Additional reports
- https://github.com/arduino/arduino-ide/issues/1475
- https://github.com/arduino/arduino-ide/issues/1872
- https://github.com/arduino/arduino-ide/issues/1797#issuecomment-1497036786
- https://forum.arduino.cc/t/ide-not-working-with-source-in-a-unc-path/1027968/1
- https://forum.arduino.cc/t/ide-not-working-with-source-in-a-unc-path/1027968/9
- https://forum.arduino.cc/t/ide-not-working-with-source-in-a-unc-path/1027968/11
- https://forum.arduino.cc/t/ide-not-working-with-source-in-a-unc-path/1027968/13
- https://forum.arduino.cc/t/ide-2-0-wont-open-ino-files/1032615/1
- https://forum.arduino.cc/t/ide-2-0-wont-open-ino-files/1032615/5
- https://forum.arduino.cc/t/ide-2-0-wont-open-ino-files/1032615/6
- https://forum.arduino.cc/t/ide-2-0-not-loading-old-sketches/1006159
- https://forum.arduino.cc/t/arduino-ide-wont-load-a-sketch-into-the-editor/1109867
- https://forum.arduino.cc/t/ide-wont-load-sketches/1112447
- https://forum.arduino.cc/t/save-as-doesnt-work-in-ide-2-1-0/1124209/7
- https://forum.arduino.cc/t/upgrade-from-ide-1-8-16-to-ide-2-2-1-sketches-from-nas-cannot-be-opened/1184931
### Issue checklist
- [X] I searched for previous reports in [the issue tracker](https://github.com/arduino/arduino-ide/issues?q=)
- [X] I verified the problem still occurs when using the latest [nightly build](https://www.arduino.cc/en/software#nightly-builds)
- [X] My report contains all necessary details
The workaround is to map a normal folder on your local drive to the network share, then open the sketch from that folder.
ha OK , I understand known,I could see there was something wrong.
I will leave my sketches locally with a dropbox synchro
system
Closed
September 22, 2023, 7:41am
15
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.