lilypond-book on osx 10.4

View: New views
18 Messages — Rating Filter:   Alert me  

lilypond-book on osx 10.4

by James Bailey-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

is lilypond-book on osx 10.4 broken? I remember I had some problems before, but I don't know whta the current status is: I get these errors using 2.12.2 and 2.13.4, respectively:

2.12.2:
11:11:55 jamesebailey Downloads:lilypond-book --output=out --pdf lily-book-sample.lytex 
/Users/jamesebailey/Applications/LilyPond.app/Contents/Resources/bin/lilypond-book:32: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
Traceback (most recent call last):
  File "/Users/jamesebailey/Applications/LilyPond.app/Contents/Resources/bin/lilypond-book", line 32, in <module>
    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

2.13.4:
11:11:46 jamesebailey Downloads:~/Applications/LilyPond_devel.app/Contents/Resources/bin/lilypond-book --output=out --pdf lily-book-sample.lytex 
lilypond-book (GNU LilyPond) 2.13.4
Traceback (most recent call last):
  File "/Users/jamesebailey/Applications/LilyPond_devel.app/Contents/Resources/bin/lilypond-book", line 2123, in <module>
    main ()
  File "/Users/jamesebailey/Applications/LilyPond_devel.app/Contents/Resources/bin/lilypond-book", line 2105, in main
    chunks = do_file (files[0])
  File "/Users/jamesebailey/Applications/LilyPond_devel.app/Contents/Resources/bin/lilypond-book", line 1944, in do_file
    in_handle = file (input_fullname)
IOError: [Errno 2] No such file or directory: ''


James E. Bailey




_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: lilypond-book on osx 10.4

by Graham Percival-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, Oct 25, 2009 at 11:14:20AM +0100, James E. Bailey wrote:
>    is lilypond-book on osx 10.4 broken? I remember I had some problems
>    before, but I don't know whta the current status is: I get these errors
>    using 2.12.2 and 2.13.4, respectively:

If you're going to use the unstable development version, then use
the latest one.  Various things have changed in the OSX package
from 2.13.4 to 2.13.6.

Cheers,
- Graham


_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: lilypond-book on osx 10.4

by James Bailey-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 25.10.2009, at 12:16, Graham Percival wrote:

On Sun, Oct 25, 2009 at 11:14:20AM +0100, James E. Bailey wrote:
   is lilypond-book on osx 10.4 broken? I remember I had some problems
   before, but I don't know whta the current status is: I get these errors
   using 2.12.2 and 2.13.4, respectively:

If you're going to use the unstable development version, then use
the latest one.  Various things have changed in the OSX package
from 2.13.4 to 2.13.6.

Cheers,
- Graham

Well, I wasn't really planning on using the unstable development version, I just happened to have it on my computer. But, does this mean that the current release version of lilypond-book doesn't work, or is there something else I can do to get it to work?

James E. Bailey




_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: lilypond-book on osx 10.4

by James Bailey-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 25.10.2009, at 12:16, Graham Percival wrote:

On Sun, Oct 25, 2009 at 11:14:20AM +0100, James E. Bailey wrote:
   is lilypond-book on osx 10.4 broken? I remember I had some problems
   before, but I don't know whta the current status is: I get these errors
   using 2.12.2 and 2.13.4, respectively:

If you're going to use the unstable development version, then use
the latest one.  Various things have changed in the OSX package
from 2.13.4 to 2.13.6.

Cheers,
- Graham

And, for completeness' sake, here's the error output for 2.13.6:

06:49:15 jamesebailey lilypond snippets:~/Applications/LilyPond_devel.app/Contents/Resources/bin/lilypond-book 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/tmpVfRKhx.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 tmpVfRKhx.aux.
textwidth=345.0pt
columnsep=10.0pt
(./tmpVfRKhx.aux) )
No pages of output.
Transcript written on tmpVfRKhx.log.
Dissecting...
/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


James E. Bailey




_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: lilypond-book on osx 10.4

by Graham Percival-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Mon, Oct 26, 2009 at 06:52:17AM +0100, James E. Bailey wrote:
>    On 25.10.2009, at 12:16, Graham Percival wrote:
>      If you're going to use the unstable development version, then use
>      the latest one.  Various things have changed in the OSX package
>      from 2.13.4 to 2.13.6.
>
>    And, for completeness' sake, here's the error output for 2.13.6:

Ok, evidently it's still a problem in 2.13.6.  At this point, we
could either wait and see if anybody posts a patch, send an email
to the bug list in the hopes that it will get added to the
tracker, or (in this particular case) you can add it to the
tracker yourself after checking to make sure it's not already in
there.

Cheers,
- Graham


_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: lilypond-book on osx 10.4

by Patrick McCarty-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2009-10-26, James E. Bailey wrote:
>
> And, for completeness' sake, here's the error output for 2.13.6:
>
> [snip]

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

What happens if you prepend the location of the included python binary
to your PATH?  I think it's in

  LilyPond.app/Contents/MacOS

?

-Patrick


_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: lilypond-book on osx 10.4

by James Bailey-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 27.10.2009, at 08:58, Patrick McCarty wrote:

On 2009-10-26, James E. Bailey wrote:

And, for completeness' sake, here's the error output for 2.13.6:

[snip]

/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

What happens if you prepend the location of the included python binary
to your PATH?  I think it's in

  LilyPond.app/Contents/MacOS

?

-Patrick

Can you be a bit more explicit on the path of that binary? My own python is at ~/bin/ and in LilyPond.app/Contents/MacOS/, I only have LilyPond.

James E. Bailey




_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: lilypond-book on osx 10.4

by James Bailey-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 26.10.2009, at 22:09, Graham Percival wrote:

On Mon, Oct 26, 2009 at 06:52:17AM +0100, James E. Bailey wrote:
   On 25.10.2009, at 12:16, Graham Percival wrote:
     If you're going to use the unstable development version, then use
     the latest one.  Various things have changed in the OSX package
     from 2.13.4 to 2.13.6.

   And, for completeness' sake, here's the error output for 2.13.6:

Ok, evidently it's still a problem in 2.13.6.  At this point, we
could either wait and see if anybody posts a patch, send an email
to the bug list in the hopes that it will get added to the
tracker, or (in this particular case) you can add it to the
tracker yourself after checking to make sure it's not already in
there.

Cheers,
- Graham

Yeah, I'll do that, I just wanted to make sure there isn't an existing workaround that anyone knew of before I added it.

James E. Bailey




_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: lilypond-book on osx 10.4

by James Bailey-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 27.10.2009, at 08:58, Patrick McCarty wrote:

On 2009-10-26, James E. Bailey wrote:

And, for completeness' sake, here's the error output for 2.13.6:

[snip]

/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

What happens if you prepend the location of the included python binary
to your PATH?  I think it's in

  LilyPond.app/Contents/MacOS

?

-Patrick

Ah, I just realised you meant with the development version (it's not the main version I use, so I didn't think about it). I still have the md5 problem:

19:13:40 jamesebailey lilypond snippets:which python
/Users/jamesebailey/Applications/LilyPond_devel.app/Contents/MacOS//python
19:14:24 jamesebailey lilypond snippets:~/Applications/LilyPond_devel.app/Contents/Resources/bin/lilypond-book 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/tmp3fOBCU.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 tmp3fOBCU.aux.
textwidth=345.0pt
columnsep=10.0pt
(./tmp3fOBCU.aux) )
No pages of output.
Transcript written on tmp3fOBCU.log.
Dissecting...
/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


James E. Bailey




_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: lilypond-book on osx 10.4

by Patrick McCarty-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Oct 27, 2009 at 11:14 AM, James E. Bailey
<derhindemith@...> wrote:

>
> Ah, I just realised you meant with the development version (it's not the
> main version I use, so I didn't think about it). I still have the md5
> problem:
> 19:13:40 jamesebailey lilypond snippets:which python
> /Users/jamesebailey/Applications/LilyPond_devel.app/Contents/MacOS//python
> 19:14:24 jamesebailey lilypond
> snippets:~/Applications/LilyPond_devel.app/Contents/Resources/bin/lilypond-book
> 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/tmp3fOBCU.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 tmp3fOBCU.aux.
> textwidth=345.0pt
> columnsep=10.0pt
> (./tmp3fOBCU.aux) )
> No pages of output.
> Transcript written on tmp3fOBCU.log.
> Dissecting...
> /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

I wish I could help more with this, but I can't reproduce your
problem.  IWBN if I had access to Mac OSX 10.4 machine, but I don't.

I thought at first that Python 2.6 was bundled in the darwin
installers now, but I'm not so sure.  Is the python executable in your
LilyPond_devel.app/Contents/MacOS just a wrapper or something?
Because I see that the md5 library in your backtrace is part of a
separate Python installation.


-Patrick


_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: lilypond-book on osx 10.4

by James Bailey-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 28.10.2009, at 03:23, Patrick McCarty wrote:

On Tue, Oct 27, 2009 at 11:14 AM, James E. Bailey

Ah, I just realised you meant with the development version (it's not the
main version I use, so I didn't think about it). I still have the md5
problem:
19:13:40 jamesebailey lilypond snippets:which python
/Users/jamesebailey/Applications/LilyPond_devel.app/Contents/MacOS//python
19:14:24 jamesebailey lilypond
snippets:~/Applications/LilyPond_devel.app/Contents/Resources/bin/lilypond-book
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/tmp3fOBCU.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 tmp3fOBCU.aux.
textwidth=345.0pt
columnsep=10.0pt
(./tmp3fOBCU.aux) )
No pages of output.
Transcript written on tmp3fOBCU.log.
Dissecting...
/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

I wish I could help more with this, but I can't reproduce your
problem.  IWBN if I had access to Mac OSX 10.4 machine, but I don't.

I thought at first that Python 2.6 was bundled in the darwin
installers now, but I'm not so sure.  Is the python executable in your
LilyPond_devel.app/Contents/MacOS just a wrapper or something?
Because I see that the md5 library in your backtrace is part of a
separate Python installation.


-Patrick

I've kind of solved the problem by installing python version 2.4.6. I figured since I was getting module deprecated warnings, I'd go back to the earliest usable version and see what happens. I get a .tex file output at least.

James E. Bailey




_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: lilypond-book on osx 10.4

by James Bailey-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 28.10.2009, at 08:13, James E. Bailey wrote:


On 28.10.2009, at 03:23, Patrick McCarty wrote:

On Tue, Oct 27, 2009 at 11:14 AM, James E. Bailey

Ah, I just realised you meant with the development version (it's not the
main version I use, so I didn't think about it). I still have the md5
problem:
19:13:40 jamesebailey lilypond snippets:which python
/Users/jamesebailey/Applications/LilyPond_devel.app/Contents/MacOS//python
19:14:24 jamesebailey lilypond
snippets:~/Applications/LilyPond_devel.app/Contents/Resources/bin/lilypond-book
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/tmp3fOBCU.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 tmp3fOBCU.aux.
textwidth=345.0pt
columnsep=10.0pt
(./tmp3fOBCU.aux) )
No pages of output.
Transcript written on tmp3fOBCU.log.
Dissecting...
/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

I wish I could help more with this, but I can't reproduce your
problem.  IWBN if I had access to Mac OSX 10.4 machine, but I don't.

I thought at first that Python 2.6 was bundled in the darwin
installers now, but I'm not so sure.  Is the python executable in your
LilyPond_devel.app/Contents/MacOS just a wrapper or something?
Because I see that the md5 library in your backtrace is part of a
separate Python installation.


-Patrick

I've kind of solved the problem by installing python version 2.4.6. I figured since I was getting module deprecated warnings, I'd go back to the earliest usable version and see what happens. I get a .tex file output at least.

James E. Bailey




Okay, yeah, that solved the problem. 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?

James E. Bailey




_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: lilypond-book on osx 10.4

by Graham Percival-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Oct 28, 2009 at 07:34:31PM +0100, James E. Bailey wrote:
> Okay, yeah, that solved the problem. 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?

This assumes that we have anybody working in this area.  We do
not.

I suppose that I'm dealing with release issues at the moment, but
I think the python thing comes from the lilypad package
generation.  Hmm, perhaps now that we have python in the lilypond
app, the scripts should use #!/path/to/lilypond/python rather than
#!/usr/bin/env python.  Then again, maybe this is already done.

If I wasn't struggling to keep up with daily maintenance stuff...
well, if wasn't doing that, I'd be working on the new website.
So let's say that if I wasn't dealing with daily maintenance and
the new website was finished, I'd look into this.


As you start dealing with bugs, I hope you won't be disappointed.
Regardless of how nicely you write up the bugs and how carefully
you tag them in the issue tracker, there's only approximately a
20% that the bug will be fixed in the first 3 months.  After that,
the chance drops to about 5-10%.
(estimates from empirical bug data over the past couple of years)

There's no short-term solution to this.  The long-term solution is
to attract more developers.  I of course have some plans for this,
but they're on hold because I need to do so many mundane things.

Cheers,
- Graham


_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: lilypond-book on osx 10.4

by James Bailey-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 29.10.2009, at 00:40, Graham Percival wrote:

On Wed, Oct 28, 2009 at 07:34:31PM +0100, James E. Bailey wrote:
Okay, yeah, that solved the problem. 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?

This assumes that we have anybody working in this area.  We do
not.

Figured as much

I suppose that I'm dealing with release issues at the moment, but
I think the python thing comes from the lilypad package
generation.  Hmm, perhaps now that we have python in the lilypond
app, the scripts should use #!/path/to/lilypond/python rather than
#!/usr/bin/env python.  Then again, maybe this is already done.

Last I checked, they use env python

As you start dealing with bugs, I hope you won't be disappointed.
Regardless of how nicely you write up the bugs and how carefully
you tag them in the issue tracker, there's only approximately a
20% that the bug will be fixed in the first 3 months.  After that,
the chance drops to about 5-10%.
(estimates from empirical bug data over the past couple of years)

Ha! I've been a (partially) silent observer of lilypond development for at least a year now. I have zero expectations, hopes, or desires when it comes to issues being resolved. My only question at this point is, do I add this to the tracker with a known workaround or what? I mainly only concern myself with ways of getting the output that I need regardless of the issue in question.

James E. Bailey




_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: lilypond-book on osx 10.4

by James Bailey-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On 28.10.2009, at 19:34, James E. Bailey wrote:
I thought at first that Python 2.6 was bundled in the darwin
installers now, but I'm not so sure.  Is the python executable in your
LilyPond_devel.app/Contents/MacOS just a wrapper or something?
Because I see that the md5 library in your backtrace is part of a
separate Python installation.


-Patrick

I've kind of solved the problem by installing python version 2.4.6. I figured since I was getting module deprecated warnings, I'd go back to the earliest usable version and see what happens. I get a .tex file output at least.

James E. Bailey




Okay, yeah, that solved the problem. 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?

James E. Bailey




2.6.2 is bundled in the darwin installer, however, anything later than 2.4.6 will not work. I just tested with 2.5.4
James E. Bailey




_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: lilypond-book on osx 10.4

by John Mandereau-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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


_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

signature.asc (204 bytes) Download Attachment

Re: lilypond-book on osx 10.4

by James Bailey-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


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@...
http://lists.gnu.org/mailman/listinfo/lilypond-user

Re: lilypond-book on osx 10.4

by Graham Percival-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Oct 29, 2009 at 01:44:54AM +0100, James E. Bailey wrote:
>    On 29.10.2009, at 00:40, Graham Percival wrote:
>
>      I suppose that I'm dealing with release issues at the moment, but
>      I think the python thing comes from the lilypad package
>      generation.  Hmm, perhaps now that we have python in the lilypond
>      app, the scripts should use #!/path/to/lilypond/python rather than
>      #!/usr/bin/env python.  Then again, maybe this is already done.
>
>    Last I checked, they use env python

Try changing that to point to the python that's bundled with
lilypond.  If that one fails, then we should change the scripts or
bundle hashlib or whatever.

>      As you start dealing with bugs, I hope you won't be disappointed.
>
>    Ha! I've been a (partially) silent observer of lilypond development for at
>    least a year now. I have zero expectations, hopes, or desires when it
>    comes to issues being resolved.

Well, you probably have *desires*.  But I know what you're trying
to say.  :)

> My only question at this point is, do I
>    add this to the tracker with a known workaround or what? I mainly only
>    concern myself with ways of getting the output that I need regardless of
>    the issue in question.

Adding something to the tracker with a known workaround is
perfectly fine, but for this specific issue, I'd wait a few days
to see if the above recommendation fixes it.  Basically, as long
as we're actively discussing it, there's no point adding it to the
tracker.  If the discussion dies, then definitely add it.

Cheers,
- Graham


_______________________________________________
lilypond-user mailing list
lilypond-user@...
http://lists.gnu.org/mailman/listinfo/lilypond-user