[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: convert-ly can't cope with accented filename
From: |
John Mandereau |
Subject: |
Re: convert-ly can't cope with accented filename |
Date: |
Tue, 05 Jan 2010 08:37:29 +0100 |
Le mardi 05 janvier 2010 à 08:03 +1100, Nick Payne a écrit :
> Try to run convert-ly on a file with an accented name and I get the
> following:
>
> > convert-ly --edit "/home/nick/lilypond/Bésard_preludio.ly"
> convert-ly (GNU LilyPond) 2.13.10
> Traceback (most recent call last):
> File "/usr/local/lilypond/usr/bin/convert-ly", line 337, in ?
> main ()
> File "/usr/local/lilypond/usr/bin/convert-ly", line 331, in main
> do_one_file (f)
> File "/usr/local/lilypond/usr/bin/convert-ly", line 233, in do_one_file
> ly.stderr_write (_ ("Processing `%s\'... ") % infile_name)
> File
> "/usr/local/lilypond/usr/share/lilypond/current/python/lilylib.py", line
> 59, in stderr_write
> encoded_write (sys.stderr, s)
> File
> "/usr/local/lilypond/usr/share/lilypond/current/python/lilylib.py", line
> 51, in encoded_write
> f.write (s.encode (f.encoding or 'utf_8'))
> UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 33:
> ordinal not in range(128)
This is a bug, the real question for fixing it is: how to figure out the
encoding of the filesystem in Python?
Thanks for the report,
John
signature.asc
Description: Ceci est une partie de message numériquement signée
- Re: convert-ly can't cope with accented filename,
John Mandereau <=