lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] Ticket 507 dis


From: Auto mailings of changes to Lily Issues via Testlilyissues-auto
Subject: [Lilypond-auto] [LilyIssues-auto] [testlilyissues:issues] Ticket 507 discussion
Date: Sat, 11 Aug 2018 05:47:05 -0000

On 2018-08-09 08:41, James Lowe wrote:

Sorry this took so long for me to get back to you.

More research tells me that it is not lilypond that is at fault here
but Windows.

Windows cmd does not support UNC paths.

That should not be relevant, though. That at most limits the ability for the current working directory to be a UNC path, without first mapping it to a drive letter. But it really should not affect the ability to invoke LilyPond and pass in a UNC path for the input file. As an aside, PowerShell does not have the same working directory limitation, and you can cd to a UNC path as you wish.

But back to the issue, if LilyPond is ultimately calling CreateFile passing in the file path as specified in the command-line arguments, it should be able to open a UNC-based path providing there are no permissions issues. What I would suspect is some quirkiness with MinGW/MSYS and Posix paths such that LilyPond is not generating the correct API call.

As such, what would be interesting is to get a Process Monitor capture of the failing case. That way, we can see which specific file I/O calls failed and with which errors. Unfortunately, I no longer use the Windows version of LilyPond, so I cannot immediately test this on my setup without having to set up a VM first. If it is possible to run LilyPond in a portable mode without installation, then that would save significant time getting a test environment.

-- Aaron Hill


[issues:#507] Windows: Lilypond cannot manage UNC paths

Status: Accepted
Labels: Opsys_Windows
Created: Mon Nov 05, 2007 02:28 PM UTC by Anonymous
Last Updated: Sat Aug 11, 2018 05:45 AM UTC
Owner: nobody

Originally created by: *anonymous

Originally created by: address@hidden

I am trying to double-click a .ly file that is in a network share. When I
do so, the following log file is created:

------------
# -*-compilation-*-
warning: can't find file:
`\\server\fgasper\my_docs\Scores\editions\conditor3-alt_lyrics.ly'
error: failed files:
"\\\\server\\fgasper\\my_docs\\Scores\\editions\\conditor3-alt_lyrics.ly"
------------

If I copy the file to my Windows desktop and double-click on it there,
everything works as normal.


Sent from sourceforge.net because address@hidden is subscribed to https://sourceforge.net/p/testlilyissues/issues/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/testlilyissues/admin/issues/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Testlilyissues-auto mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/testlilyissues-auto

reply via email to

[Prev in Thread] Current Thread [Next in Thread]