Skip to content

Unable to open image with URI encoded character in name #96689

@jamesots

Description

@jamesots

Issue Type: Bug

If I try to open an image with a name such as 'test-%41.png' it says 'An error occurred while loading the image'.

In the developer console, the following error is shown:

Error: Unable to read file '/Users/james.ots/test-A.jpg' (EntryNotFound (FileSystemError): Error: ENOENT: no such file or directory, open '/Users/james.ots/test-A.jpg')
    at e.doReadAsFileStream (fileService.ts:457)

VS Code version: Code 1.44.2 (ff91584, 2020-04-16T17:07:18.473Z)
OS version: Darwin x64 19.4.0

System Info
Item Value
CPUs Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz (4 x 2300)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
metal: disabled_off
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: unavailable_off
rasterization: enabled
skia_renderer: disabled_off_ok
video_decode: enabled
viz_display_compositor: enabled_on
viz_hit_test_surface_layer: disabled_off_ok
webgl: enabled
webgl2: enabled
Load (avg) 3, 3, 4
Memory (System) 8.00GB (0.08GB free)
Process Argv -psn_0_147492
Screen Reader no
VM 0%
Extensions: none

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bughelp wantedIssues identified as good community contribution opportunitiesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions