Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Unable to open sketches from UNC path #1797

Open
Labels
topic: infrastructureRelated to project infrastructure topic: theiaRelated to the Theia IDE framework type: imperfectionPerceived defect in any part of project
@119311

Description

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

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

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

Related

Issue checklist

  • I searched for previous reports in the issue tracker
  • I verified the problem still occurs when using the latest nightly build
  • My report contains all necessary details

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic: infrastructureRelated to project infrastructure topic: theiaRelated to the Theia IDE framework type: imperfectionPerceived defect in any part of project

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /