question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

function posix(path) in designspaceLib does not work with Windows UNC path

See original GitHub issue

On Windows UNC (Uniform Naming Convention) paths have the following form:
\\SERVER\SHARE\FOLDER-NAME\FILE-NAME or
\\IP-ADDRESS\SHARE\FOLDER-NAME\FILE-NAME
the possix function translates this to SERVER/SHARE/FOLDER-NAME/FILE-NAME. Therefore all path attributes for sources and instances are invalid if a DesignSpaceDocument is loaded via an UNC path.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
anthrotypecommented, May 13, 2021

The designspace spec says only relative paths are allowed, so that would basically exclude UNC paths

filename: required, string. A path to the source file, relative to the root path of this document. The path can be at the same level as the document or lower.

0reactions
anthrotypecommented, May 13, 2021

I meged #2306, thank you

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why UNC Path does not work inside the Network?
Hi,I Have three DC on my Network which I recently upgraded two of my DC`s from 2003 to Win 2008 Server R2 ,one...
Read more >
How are WSL POSIX paths converted to UNC for Windows ...
I believe: /init handles the conversion of the working directory that gets passed to the Windows executable. When a path starts with a...
Read more >
UNC path lost with Path constructor - Python Help
A rooted path is resolved against the drive or UNC share of the current working directory. WindowsPath should retain the UNC absolute nature...
Read more >
Using -d option with unc-pathes on windows
I've been working with the exiftool GUI a long time. ... The problem is likely due to how Perl handles UNC paths.
Read more >
Path.GetFileName Returns empty string for folders or files in ...
The problem is related to UNC paths where the folder or file that is being ... i'd say the problem lies somewhere in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found