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

Error retrieving line history from UNC path #1087

Closed
AnrDaemon opened this issue Aug 3, 2020 · 8 comments
Closed

Error retrieving line history from UNC path #1087

AnrDaemon opened this issue Aug 3, 2020 · 8 comments
Assignees
Labels
bug Something isn't working verified ✔ Verified
Milestone

Comments

@AnrDaemon
Copy link

Issue Type: Bug

Have repo located on UNC path.
Try to get line history.

Boom…

Unable to open 'create-validator.php (7625aea) ⟷ create-validator.php (d65a66e)': Unable to read file 'gitlens://7625aea/DAEMON-EC.DARKDRAGON.LAN/anrdaemon/Documents/git-projects/create-validator/create-validator.php?{"path":"//DAEMON-EC.DARKDRAGON.LAN/anrdaemon/Documents/git-projects/create-validator/create-validator.php","ref":"7625aea5dcd542555cfa67205ffaa2f9203b06dc","repoPath":"//DAEMON-EC.DARKDRAGON.LAN/anrdaemon/Documents/git-projects/create-validator"}' (Error: Unable to resolve non-existing file 'gitlens://7625aea/DAEMON-EC.DARKDRAGON.LAN/anrdaemon/Documents/git-projects/create-validator/create-validator.php?{"path":"//DAEMON-EC.DARKDRAGON.LAN/anrdaemon/Documents/git-projects/create-validator/create-validator.php","ref":"7625aea5dcd542555cfa67205ffaa2f9203b06dc","repoPath":"//DAEMON-EC.DARKDRAGON.LAN/anrdaemon/Documents/git-projects/create-validator"}').

Same effect for any other "GitLens: changes".

Extension version: 10.2.2
VS Code version: Code 1.47.3 (91899dcef7b8110878ea59626991a18c8a6a1b3e, 2020-07-23T13:12:49.994Z)
OS version: Windows_NT x64 6.1.7601

System Info
Item Value
CPUs Intel(R) Core(TM) i5-3550 CPU @ 3.30GHz (4 x 3303)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
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) undefined
Memory (System) 15.96GB (4.98GB free)
Process Argv \DAEMON-EC.DARKDRAGON.LAN\anrdaemon\Documents\caduceus\cadu-x5-gui
Screen Reader no
VM 0%
@egfx-notifications
Copy link
Contributor

I can confirm this, same problem here.
Once I move the affected repository to a local drive, it works again.

Extension version: 10.2.2
VS Code version: Code 1.47.3 (91899dcef7b8110878ea59626991a18c8a6a1b3e, 2020-07-23T13:12:49.994Z)
OS version: Windows_NT x64 10.0.16299

System Info
Item Value
CPUs Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz (4 x 3504)
GPU Status 2d_canvas: enabled
flash_3d: enabled
flash_stage3d: enabled
flash_stage3d_baseline: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
protected_video_decode: enabled
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) undefined
Memory (System) 15.88GB (5.88GB free)
Process Argv
Screen Reader no
VM 0%

@mikes-gh
Copy link

mikes-gh commented Oct 15, 2020

Same here

Gitlens 10.2.2
#1045 (comment)
fixed it for me but we need an official fix.

FWIW I am using a UNC path as my dev is on a text only linux box.

Unable to open 'invfe53gst.et (3d166c2) ⟷ invfe53gst.et (0cee44d)': Unable to read file 'gitlens://3d166c2/aesrocc/home/ROCCTEST/fldedit/invfe53gst.et?{"path":"//aesrocc/home/ROCCTEST/fldedit/invfe53gst.et","ref":"3d166c201da099633882366b3a0ce9fb79a361b2","repoPath":"//aesrocc/home/ROCCTEST"}' (Error: Unable to resolve non-existing file 'gitlens://3d166c2/aesrocc/home/ROCCTEST/fldedit/invfe53gst.et?{"path":"//aesrocc/home/ROCCTEST/fldedit/invfe53gst.et","ref":"3d166c201da099633882366b3a0ce9fb79a361b2","repoPath":"//aesrocc/home/ROCCTEST"}').

eamodio added a commit that referenced this issue Nov 30, 2020
Adds Mike Surcouf to contributors in README
@eamodio eamodio self-assigned this Nov 30, 2020
@eamodio eamodio added the bug Something isn't working label Nov 30, 2020
@eamodio eamodio added this to the Soon™ milestone Nov 30, 2020
@eamodio eamodio added the needs-verification Request for community verification label Nov 30, 2020
@eamodio
Copy link
Member

eamodio commented Nov 30, 2020

Can you please verify this fix in the latest insiders version?

You can install the insiders version from here.

@mikes-gh
Copy link

Tested using debug of main.
All working fine.
Testing scenarios

UNC path Windows 10
Local path Windows 10
Local path macOS

@AnrDaemon
Copy link
Author

Cautiously declare this working. Thanks!

@egfx-notifications
Copy link
Contributor

Works for me

@eamodio eamodio added pending-release Resolved but not yet released to the stable edition verified ✔ Verified and removed needs-verification Request for community verification labels Dec 4, 2020
@eamodio eamodio closed this as completed Dec 6, 2020
@mkanet
Copy link

mkanet commented Dec 17, 2020

Working for me. I've always had this issue ever since I started working from home. I used to think the issue was an anomaly caused by VPN. The GitLens Insiders fixed it!

@eamodio eamodio removed the pending-release Resolved but not yet released to the stable edition label Dec 24, 2020
@eamodio eamodio modified the milestones: Soon™, Shipped Dec 24, 2020
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working verified ✔ Verified
Projects
None yet
Development

No branches or pull requests

5 participants