Skip to content

Failure in handling long path on network share. #44

@lcerman

Description

@lcerman

There is a problem with long path on network share. It seems universal. I observe it with WSL path or network drive mapped from a Linux host to a letter:

The internal viewer does not open (Cannot finish operation because of too long name), right clicking and selecting "Edit in Notepad" works just fine:

T:\home\lcerman\presser_foot_identification\data\results\bernina_vs_eccam,78classes,grouped22A22529C,tune,crop_size=352x260,lr=0.01,gama,mirrored,fro=True,efficientnet-lite-b2,ft=True,bs=32,pooling=average,decay=1e-05,do=0.1,epochs=20,2024-03-02T20-25-17\stdout

I have a folder in the WSL container with several images like this:
\\wsl.localhost\Ubuntu-22.04\home\lukas\presser_foot_syntetic_images\output\384x384\45434301_syntetic_eevee_static\pf_images_45434301_4_2024_03_02_20_11_43\im_prsm=Metal10,prsx=0.000,prh=128,fabm=Fabric7,fabr=0,fabmx=0.185,fabmy=0.029,lf=0.024,lb=0.023,lsa=73,lsp=40,camrz=0.000,ft=-4.png

The image thumbnails are not rendered, the internal viewer does not open the image (Cannot finish operation because of too long). Opening the same folder in Windows Expolorer works just fine. It shows the thumbnails and I could view the images in the default windows image viewer.

My setup:
Windows 11 Pro, Version 10.0.22631 Build 22631
Altap Salamander 4.0
reg:\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\LongPathsEnabled is set to 1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions