bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Issue 894 in lilypond: lilypond-book fails from the command-line in OSX


From: lilypond
Subject: Issue 894 in lilypond: lilypond-book fails from the command-line in OSX 10.4
Date: Thu, 05 Nov 2009 17:58:15 +0000

Status: Accepted
Owner: address@hidden
Labels: Type-Defect Priority-Low

New issue 894 by address@hidden: lilypond-book fails from the command-line in OSX 10.4
http://code.google.com/p/lilypond/issues/detail?id=894

The shipped version of LilyPond uses python 2.6.2 which does not work for
lilypond-book.

The error is as follows:
/Users/jamesebailey/Applications/LilyPond_devel.app/Contents/Resources/bin/lilypond-book:1258:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
  from md5 import md5
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 md5 import md5
  File "/Users/jamesebailey/lib/python2.6/md5.py", line 10, in <module>
    from hashlib import md5
  File "/Users/jamesebailey/lib/python2.6/hashlib.py", line 136, in <module>
    md5 = __get_builtin_constructor('md5')
  File "/Users/jamesebailey/lib/python2.6/hashlib.py", line 63, in
__get_builtin_constructor
    import _md5
ImportError: No module named _md5

Currently, a workaround is to install python 2.4.6 and point convert-ly to it.

--
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]