Am Samstag, 12. Juni 2010, um 20:07:06 schrieb Colin Campbell:
> Still breaking, Reinhold, at least for me. Here are the last few lines
> 
> of the console:
> > /home/colin/lilypond-git/scripts/build/out/help2man out/lilypond-book
> > > out/lilypond-book.1
> > langdefs.py: warning: lilypond-doc gettext domain not found.
> > Traceback (most recent call last):
> >   File "out/lilypond-book", line 86, in <module>
> >     import book_base as BookBase
> >   File "/home/colin/lilypond-git/python/out/book_base.py", line 4, in
> > <module>
> >     import book_snippets as BookSnippet
> >   File "/home/colin/lilypond-git/python/out/book_snippets.py", line
> > 12, in <module>
> >     warning = ly.warning
> > AttributeError: 'module' object has no attribute 'warning'

Hmm, that's really strange... lilylib.py contains warning:

def warning (s):
    stderr_write (program_name + ": " + _ ("warning: %s") % s + '\n')

def error (s):
    stderr_write (program_name + ": " + _ ("error: %s") % s + '\n')

progress = stderr_write


Furthermore, on your installation, python seems to be able to access 
ly.progress (the line before ly.warning), but fails for ly.warning...

Can you try removing /home/colin/lilypond-git/python/out/*.pyc ? It might be 
that python is still using some old byte-compiled *.pyc files rather than 
loading the new versions from *.py...

Cheers,
Reinhold
-- 
------------------------------------------------------------------
Reinhold Kainhofer, [email protected], http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org

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

Reply via email to