Re: lilypond-book -2

2012-01-13 Thread Trevor Daniels


Graham, you wrote Friday, January 13, 2012 8:41 AM


As a cheap experiment, could you add this:
   ### EXPERIMENTAL HACK: see if this makes mingw behave better?
   time.sleep(1)
immediately between the
   proc = ...
and
   (parameter_string, error_string) = proc.communicate ()
lines?

oh, and add:
import time
somewhere near the top of the file.


Gives the same error:

Traceback (most recent call last):
 File "c:/program files/lilypond/usr/bin/lilypond-book.py", line 739, in ?
   main ()
 File "c:/program files/lilypond/usr/bin/lilypond-book.py", line 722, in 
main

   chunks = do_file (files[0])
 File "c:/program files/lilypond/usr/bin/lilypond-book.py", line 595, in 
do_fil

e
   global_options.formatter.init_default_snippet_options (source)
 File "c:\program 
files\lilypond\usr\share\lilypond\current\python\book_texinfo

.py", line 292, in init_default_snippet_options
   texinfo_defaults = get_texinfo_width_indent (source, 
self.global_options);
 File "c:\program 
files\lilypond\usr\share\lilypond\current\python\book_texinfo

.py", line 226, in get_texinfo_width_indent
   time.sleep(1)
IOError: (0, 'Error')
Lilypond-book returned code 1

Trevor


___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: lilypond-book -2

2012-01-13 Thread Graham Percival
On Fri, Jan 13, 2012 at 08:41:14AM +, Graham Percival wrote:
> I don't expect it to work, so I'm writing a more intrusive hack to
> hopefully avoid this... but I'd be delighted to junk the larger
> hack if that can make it work.

sorry, ignore that.  I'm building a new binary with a better fix,
and should have it uploaded in 10 minutes.

- Graham

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: lilypond-book -2

2012-01-13 Thread Graham Percival
On Thu, Jan 12, 2012 at 09:02:51AM -, Trevor Daniels wrote:
> 
> IOError: (0, 'Error')
> Lilypond-book returned code 1

Thanks, working on fixes.

As a cheap experiment, could you add this:
### EXPERIMENTAL HACK: see if this makes mingw behave better?
time.sleep(1)
immediately between the
proc = ...
and
(parameter_string, error_string) = proc.communicate ()
lines?

oh, and add:
import time
somewhere near the top of the file.

I don't expect it to work, so I'm writing a more intrusive hack to
hopefully avoid this... but I'd be delighted to junk the larger
hack if that can make it work.

- Graham

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


Re: lilypond-book -2

2012-01-12 Thread Trevor Daniels


Graham, you wrote Thursday, January 12, 2012 6:22 AM



I expect to have that sleep(0.001) error.  I do not expect any
other errors.

http://lilypond.org/~graham/lilypond-2.15.25-2.mingw.exe

What's the exact error you see when you try this one?  I
know/expect that it barfs in threading.py, but I need to know what
in the lilypond code calls that.


lilypond-book.py (GNU LilyPond) 2.15.25
Reading 
C:/Users/Trevor/LilyPond-git/Documentation/notation/contemporary.itely..

.
Running texi2pdf on file c:\users\trevor\appdata\local\temp\tmpwxztgo.texi 
to de

tect default page settings.

Traceback (most recent call last):
 File "c:/program files/lilypond/usr/bin/lilypond-book.py", line 739, in ?
   main ()
 File "c:/program files/lilypond/usr/bin/lilypond-book.py", line 722, in 
main

   chunks = do_file (files[0])
 File "c:/program files/lilypond/usr/bin/lilypond-book.py", line 595, in 
do_file

   global_options.formatter.init_default_snippet_options (source)
 File "c:\program 
files\lilypond\usr\share\lilypond\current\python\book_texinfo

.py", line 289, in init_default_snippet_options
   texinfo_defaults = get_texinfo_width_indent (source, 
self.global_options);
 File "c:\program 
files\lilypond\usr\share\lilypond\current\python\book_texinfo

.py", line 224, in get_texinfo_width_indent
   (parameter_string, error_string) = proc.communicate ()
 File "/usr/lib/python2.4/subprocess.py", line 773, in communicate
 File "/usr/lib/python2.4/threading.py", line 418, in start
IOError: (0, 'Error')
Lilypond-book returned code 1

Trevor 



___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel


lilypond-book -2

2012-01-11 Thread Graham Percival
I expect to have that sleep(0.001) error.  I do not expect any
other errors.

http://lilypond.org/~graham/lilypond-2.15.25-2.mingw.exe

What's the exact error you see when you try this one?  I
know/expect that it barfs in threading.py, but I need to know what
in the lilypond code calls that.

Cheers,
- Graham

___
lilypond-devel mailing list
lilypond-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-devel