[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Issue 1054 in lilypond: lilypond-book crashes trying to print localized
From: |
lilypond |
Subject: |
Issue 1054 in lilypond: lilypond-book crashes trying to print localized help message (ubuntu) |
Date: |
Fri, 02 Apr 2010 12:52:29 +0000 |
Status: Accepted
Owner: ----
Labels: Type-Scripts Priority-Medium OpSys-Linux
New issue 1054 by brownian.box: lilypond-book crashes trying to print
localized help message (ubuntu)
http://code.google.com/p/lilypond/issues/detail?id=1054
2.13.17-1, gives 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)
-------------------------------------------
However "LANG=C lilypond-book" goes ok.
With no errors i can start it in ether way:
1) $ ~/lilypond/usr/bin/lilypond-book
2) after changing «exec "/home/dor/lilypond/usr/bin/python"» to «exec
python» in ~/bin/lilypond-book
3) after changing «file.write(self.format_help())» to
«file.write(self.format_help().encode('utf-8'))» (yes, i'm using UTF-8) in
~/lilypond/usr/lib/python2.4/optparse.py line 1535
I guess, it's not an ubuntu-only-specific issue.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Issue 1054 in lilypond: lilypond-book crashes trying to print localized help message (ubuntu),
lilypond <=