On 29.10.2009, at 12:14, John Mandereau wrote:
Le mercredi 28 octobre 2009 à 19:34 +0100, James E. Bailey a écrit :
downgrading to python 2.4.6 solved the problem and lilypond-book
works
perfectly now. Whom do I talk to to have this updated in the
distributed binary? Or is this not a feasible option because 10.5 and
10.6 don't have this problem?
Downgrading Python is a workaround, but it's not a solution. Does
replacing
from md5 import md5
by
from hashlib import md5
in /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/
Resources/bin/lilypond-book help?
Best,
John
The problem exists still:
18:18:05 jamesebailey lilypond snippets:~/Applications/
LilyPond_devel.app/Contents/Resources/bin/lilypond-book -o=out lily-
book-sample.lytex
lilypond-book (GNU LilyPond) 2.13.6
Reading lily-book-sample.lytex...
Running latex...This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7)
%&-line parsing enabled.
entering extended mode
(/tmp/tmpsGGIV7.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax,
dumylang, noh
yphenation, basque, danish, dutch, finnish, french, german, ngerman,
hungarian,
italian, bokmal, nynorsk, polish, portuguese, spanish, swedish,
ukenglish, loa
ded.
(/usr/local/texlive/2008basic/texmf-dist/tex/latex/base/article.cls
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
(/usr/local/texlive/2008basic/texmf-dist/tex/latex/base/size10.clo))
No file tmpsGGIV7.aux.
textwidth=345.0pt
columnsep=10.0pt
(./tmpsGGIV7.aux) )
No pages of output.
Transcript written on tmpsGGIV7.log.
Dissecting...
Traceback (most recent call last):
File "/Users/jamesebailey/Applications/LilyPond_devel.app/Contents/
Resources/bin/lilypond-book", line 2136, in <module>
main ()
File "/Users/jamesebailey/Applications/LilyPond_devel.app/Contents/
Resources/bin/lilypond-book", line 2118, in main
chunks = do_file (files[0])
File "/Users/jamesebailey/Applications/LilyPond_devel.app/Contents/
Resources/bin/lilypond-book", line 2022, in do_file
do_process_cmd (chunks, input_fullname, global_options)
File "/Users/jamesebailey/Applications/LilyPond_devel.app/Contents/
Resources/bin/lilypond-book", line 1851, in do_process_cmd
outdated = [c for c in snippets if c.is_outdated
(options.lily_output_dir, output_files)]
File "/Users/jamesebailey/Applications/LilyPond_devel.app/Contents/
Resources/bin/lilypond-book", line 1379, in is_outdated
found, missing = self.all_output_files (output_dir, current_files)
File "/Users/jamesebailey/Applications/LilyPond_devel.app/Contents/
Resources/bin/lilypond-book", line 1314, in all_output_files
base = self.basename()
File "/Users/jamesebailey/Applications/LilyPond_devel.app/Contents/
Resources/bin/lilypond-book", line 1270, in basename
cs = self.get_checksum ()
File "/Users/jamesebailey/Applications/LilyPond_devel.app/Contents/
Resources/bin/lilypond-book", line 1258, in get_checksum
from hashlib import md5
File "/Users/jamesebailey/lib/python2.5/hashlib.py", line 133, in
<module>
md5 = __get_builtin_constructor('md5')
File "/Users/jamesebailey/lib/python2.5/hashlib.py", line 60, in
__get_builtin_constructor
import _md5
ImportError: No module named _md5
James E. Bailey
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-user