[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[2.13.16] lilypond-book craches while printing help
From: |
Dmytro O. Redchuk |
Subject: |
[2.13.16] lilypond-book craches while printing help |
Date: |
Thu, 01 Apr 2010 12:04:52 +0300 |
Hi.
Now i have this:
$ lilypond-book
Traceback (most recent call last):
File "/home/dor/lilypond/usr/bin/lilypond-book", line 2215, in ?
main ()
File "/home/dor/lilypond/usr/bin/lilypond-book", line 2146, in main
files = do_options ()
File "/home/dor/lilypond/usr/bin/lilypond-book", line 2139, in do_options
opt_parser.print_help ()
File "/home/dor/lilypond/usr/lib/python2.4/optparse.py", line 1535, in
print_help
file.write(self.format_help())
UnicodeEncodeError: 'ascii' codec can't encode characters in position 326-331:
ordinal not in range(128)
And after changing line 1535 like this:
- file.write(self.format_help())
+ # yes, i do have UTF-8:
+ file.write(self.format_help().encode('utf-8'))
i have got normal output.
First, i am not sure, probably this is the problem of my installation.
So, please, i anyone can verify this --- *please do*!
Second, this must be wrong way .)
--
Dmytro O. Redchuk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [2.13.16] lilypond-book craches while printing help,
Dmytro O. Redchuk <=