On Wed, Mar 6, 2013 at 8:05 AM, Knut Petersen <knut_peter...@t-online.de> wrote: > File "sources/ly2video-0.4.1/ly2video.py", line 148, in getAbsolutePitch > return LySrc.get(self.filename).getAbsolutePitch(self) > File "sources/ly2video-0.4.1/ly2video.py", line 80, in get > cls.cache[filename] = LySrc(filename) > File "sources/ly2video-0.4.1/ly2video.py", line 87, in __init__ > self.initParser(document) > File "sources/ly2video-0.4.1/ly2video.py", line 95, in initParser > language, keyPitch = ly.tools.languageAndKey(document) > File "/home/knut/sources/ly2video-0.4.1/ly/tools.py", line 322, in > languageAndKey > for token in tokens: > File "/home/knut/sources/ly2video-0.4.1/ly/tokenize.py", line 693, in > tokens > for token in super(LineColumnMixin, self).tokens(text, pos): > File "/home/knut/sources/ly2video-0.4.1/ly/tokenize.py", line 218, in > tokens > yield self.Unparsed(text[pos:m.start()], pos) > File "/home/knut/sources/ly2video-0.4.1/ly/tokenize.py", line 296, in > __new__ > obj = unicode.__new__(cls, value) > UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: > ordinal not in range(128) > > Any idea what could be broken?
It sounds like your .ly input file is not 8-bit clean - is it UTF-encoded? And it seems that ly2video does not support that yet. Probably you have an accent somewhere in the text; if you could remove that it will probably work. It's also worth trying with latest git version which has many improvements. If you find the same problem there too, please file a new issue and I will try to fix. _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user