Luc wrote:
under windows xp I get errors too with midi2ly when the filename contains
spaces like in yours - see yourself:

C:\>midi2ly "C:\Dokumente und
Einstellungen\user1\Anwendungsdaten\Bach-Brandenbu
rg 3 - 1- Oktav Seite1.mid"

Traceback (most recent call last):
  File "C:\Programme\LilyPondDevel\usr\bin\midi2ly.py", line 991, in ?
    main()
  File "C:\Programme\LilyPondDevel\usr\bin\midi2ly.py", line 989, in main
    convert_midi (f, o)
  File "C:\Programme\LilyPondDevel\usr\bin\midi2ly.py", line 810, in
convert_mid
i
    str = open (in_file).read ()
IOError: [Errno 2] No such file or directory: 'C:\\Dokumente'

So a solution could be to move that file to another directory and replace
the spaces in the filename by underscores or so.
Isn't it easier to use the folder where the file is placed, as the working directory:
cd "C:\Dokumente und Einstellungen\user1\Anwendungsdaten\"
then there should be no need to move the files around. You still might have to rename
the file to avoid the spaces in the file name itself, though.

   /Mats


_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user




--
=============================================
        Mats Bengtsson
        Signal Processing
        School of Electrical Engineering
        Royal Institute of Technology (KTH)
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
       Fax:   (+46) 8 790 7260
        Email: [EMAIL PROTECTED]
        WWW: http://www.s3.kth.se/~mabe
=============================================



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to