bug-lilypond
[Top][All Lists]
Advanced

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

Re: blanks in file names and convert-ly or midi2ly


From: Luc
Subject: Re: blanks in file names and convert-ly or midi2ly
Date: Tue, 9 Jan 2007 13:09:36 +0100

All these tricks with escaping, (double-) quoting and others unfortunately do not work.

I have implement a small program (in Notepad++) which just copies the ly-file to a file with a name python can handle, invokes convert-ly and copies it back... but I'm not sure this is the "correct" place to do it.

Luc

----- Original Message ----- From: "Mats Bengtsson" <address@hidden>
To: "Luc" <address@hidden>
Cc: <address@hidden>
Sent: Monday, January 08, 2007 7:34 PM
Subject: Re: blanks in file names and convert-ly or midi2ly


I don't have a Windows box in front of me right now, but
you could try
convert-ly -e file\ one
or
convert-ly -e "file\ one"

Of course, an alternative is to rename the file.

  /Mats

Luc wrote:

Under Windows XP, running [convert-ly "file One"] (with a blank in the file name) I get the following errors:

convert-ly.py (GNU LilyPond) 2.11.9
convert-ly.py: error: cannot open file: `file'
convert-ly.py: error: cannot open file: `One'


Similarly, [midi2ly "file One"] produces errors:

Traceback (most recent call last):
 File "C:\Programme\LilyPond\usr\bin\midi2ly.py", line 987, in ?
   main()
 File "C:\Programme\LilyPond\usr\bin\midi2ly.py", line 985, in main
   convert_midi (f, o)
File "C:\Programme\LilyPond\usr\bin\midi2ly.py", line 813, in convert_midi
   str = open (in_file).read ()
IOError: [Errno 2] No such file or directory: 'file'


Working for a longer time with LilyPond and considering the frequent upgrades it becomes crucial to have such utilities working
Thanks!
Luc
_______________________________________________
bug-lilypond mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-lilypond



--
=============================================
Mats Bengtsson
Signal Processing
Signals, Sensors and Systems
Royal Institute of Technology
SE-100 44  STOCKHOLM
Sweden
Phone: (+46) 8 790 8463 Fax:   (+46) 8 790 7260
Email: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================






reply via email to

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