Re: midi2ly error
Martin Tarenskeen schreef op di 22-03-2011 om 08:47 [+0100]: > But please try the attached example (testmidi.mid). Nice bug. Fixed in HEAD. Thanks, Jan -- Jan Nieuwenhuizen | GNU LilyPond http://lilypond.org Freelance IT http://JoyofSource.com | Avatar® http://AvatarAcademy.nl ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Midi2ly Error
It's a known problem for windows. http://code.google.com/p/lilypond/issues/detail?id=834 The info about different midi programs is interesting, though, and might help somebody fix it. If you can duplicate the problem using a very simply score (1 staff, 1 note, with 2 or 3 different programs), could you attach those files to that bug report? Sorry, - Graham On Sun, May 16, 2010 at 02:07:11PM -0700, Jonathan Townes wrote: > I'm encountering problems with midi2ly. I receive the error below when > running midi2ly on midi files exported from Reaper, a DAW. I receive > no error when converting midi files created by Lilypond or Anvil > Studio, a midi only program. Any insight or suggestions for exporting > midi would be greatly appreciated. > > C:\Documents and Settings\jt\Desktop>midi2ly Test8.mid > Traceback (most recent call last): > File "C:\Program Files\LilyPond\usr\bin\midi2ly.py", line 991, in ? > main() > File "C:\Program Files\LilyPond\usr\bin\midi2ly.py", line 989, in main > convert_midi (f, o) > File "C:\Program Files\LilyPond\usr\bin\midi2ly.py", line 823, in > convert_midi > for (dur, num, den) in global_options.allowed_tuplets: > SystemError: > /main/src/gub/target/mingw/src/python-2.4.5/Objects/listobject.c:255: > bad argument to internal function > > > Lilypond version 2.2.13-1 (Windows XP) > > ___ > lilypond-user mailing list > lilypond-user@gnu.org > http://lists.gnu.org/mailman/listinfo/lilypond-user ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Midi2ly Error
Yes, and that's why I asked you to create tiny midi files with the different programs, and to upload them to that particular bug report. If the files only contain one note, it'll be easier to examine them for differences (if necessary, byte-by-byte). - Graham On Sun, May 16, 2010 at 02:15:51PM -0700, Jonathan Townes wrote: > Graham, > It must be something in the header of the files, because I don't see > much difference in looking at the event lists of midi files created in > Lilypond and other problems. > -Jonathan > > On Sun, May 16, 2010 at 2:11 PM, Graham Percival > wrote: > > It's a known problem for windows. > > http://code.google.com/p/lilypond/issues/detail?id=834 > > > > The info about different midi programs is interesting, though, and > > might help somebody fix it. If you can duplicate the problem > > using a very simply score (1 staff, 1 note, with 2 or 3 different > > programs), could you attach those files to that bug report? > > > > Sorry, > > - Graham > > > > > > On Sun, May 16, 2010 at 02:07:11PM -0700, Jonathan Townes wrote: > >> I'm encountering problems with midi2ly. I receive the error below when > >> running midi2ly on midi files exported from Reaper, a DAW. I receive > >> no error when converting midi files created by Lilypond or Anvil > >> Studio, a midi only program. Any insight or suggestions for exporting > >> midi would be greatly appreciated. > >> > >> C:\Documents and Settings\jt\Desktop>midi2ly Test8.mid > >> Traceback (most recent call last): > >> File "C:\Program Files\LilyPond\usr\bin\midi2ly.py", line 991, in ? > >> main() > >> File "C:\Program Files\LilyPond\usr\bin\midi2ly.py", line 989, in main > >> convert_midi (f, o) > >> File "C:\Program Files\LilyPond\usr\bin\midi2ly.py", line 823, in > >> convert_midi > >> for (dur, num, den) in global_options.allowed_tuplets: > >> SystemError: > >> /main/src/gub/target/mingw/src/python-2.4.5/Objects/listobject.c:255: > >> bad argument to internal function > >> > >> > >> Lilypond version 2.2.13-1 (Windows XP) > >> > >> ___ > >> lilypond-user mailing list > >> lilypond-user@gnu.org > >> http://lists.gnu.org/mailman/listinfo/lilypond-user > > ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: Midi2ly Error
Jonathan Townes-2 wrote: > > I'm encountering problems with midi2ly. I receive the error below when > running midi2ly on midi files exported from Reaper, a DAW. I receive > no error when converting midi files created by Lilypond or Anvil > Studio, a midi only program. Any insight or suggestions for exporting > midi would be greatly appreciated. > > C:\Documents and Settings\jt\Desktop>midi2ly Test8.mid > Traceback (most recent call last): > File "C:\Program Files\LilyPond\usr\bin\midi2ly.py", line 991, in ? > main() > File "C:\Program Files\LilyPond\usr\bin\midi2ly.py", line 989, in main > convert_midi (f, o) > File "C:\Program Files\LilyPond\usr\bin\midi2ly.py", line 823, in > convert_midi > for (dur, num, den) in global_options.allowed_tuplets: > SystemError: > /main/src/gub/target/mingw/src/python-2.4.5/Objects/listobject.c:255: > bad argument to internal function > > > Lilypond version 2.2.13-1 (Windows XP) > > are you sure you're using the correct version? problems with midi2ly often occur when - the filename contains blanks - the directory contains blanks best is to make sure you run midi2ly from the directory where the file is. (use CD … to go there) if the filename contains blanks, include it in quadruple double-quotes () hth -- View this message in context: http://old.nabble.com/Midi2ly-Error-tp28577377p28577881.html Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com. ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly error
klaas moerman <[EMAIL PROTECTED]> writes: > I just installed lilypond using a debian package > midifile into a .ly file, midi2Ly gives me an error: > How can I fix this? File a bug with debian, see http://bugs.debian.org Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly error
Jan Nieuwenhuizen <[EMAIL PROTECTED]> writes: > klaas moerman <[EMAIL PROTECTED]> writes: > >> I just installed lilypond using a debian package > >> midifile into a .ly file, midi2Ly gives me an error: > >> How can I fix this? > > File a bug with debian, see http://bugs.debian.org It's also in Fedora Core 5. Klaas, if you need a wordk-around just email me. -- Johan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly error
Johan Vromans <[EMAIL PROTECTED]> writes: > It's also in Fedora Core 5. > Klaas, if you need a wordk-around just email me. Workaround? Why isn't this fixed in Fedora? [Where is LilyPond's bug page with Fedora, I cannot find the word Bug on http://fedora.redhat.com or any of its subpages I tried and, http://bugs.fedora.redhat.com does not exist either?] Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly error
[Quoting Jan Nieuwenhuizen, on December 16 2006, 15:44, in "Re: midi2ly error"] > Johan Vromans <[EMAIL PROTECTED]> writes: > > > It's also in Fedora Core 5. > > > Klaas, if you need a wordk-around just email me. > > Workaround? Why isn't this fixed in Fedora? It appears that midi2ly miscalculates the location of its module library. I don't have the faintest idea whether this is a midi2ly problem, or a Python problem. It could be a Fedora problem, although it also appears in Debian. (My work-around is to eliminate the location calculation and hard code the real location where the module is. That's why I don't call it a "solution".) > [Where is LilyPond's bug page with Fedora, I cannot find the word Bug > on http://fedora.redhat.com or any of its subpages I tried and, > http://bugs.fedora.redhat.com does not exist either?] https://bugzilla.redhat.com -- Johan ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly error
Jan Nieuwenhuizen wrote: Johan Vromans <[EMAIL PROTECTED]> writes: It's also in Fedora Core 5. Klaas, if you need a wordk-around just email me. Workaround? Why isn't this fixed in Fedora? [Where is LilyPond's bug page with Fedora, I cannot find the word Bug on http://fedora.redhat.com or any of its subpages I tried and, http://bugs.fedora.redhat.com does not exist either?] This problem only exists in the 2.8.x packages included in FC5. In FC6, the 2.10.x packages don't have this problem. A bug has already been filed (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219254). I figured I would fix it by upgrading to 2.10.2, but the build on PPC failed with the following (after I had already closed the bug): adding font directory: /builddir/build/BUILD/lilypond-2.10.2/out/bin/../share/lilypond/2.10.2/fonts/type1/Building font database. *** buffer overflow detected ***: /builddir/build/BUILD/lilypond-2.10.2/out/bin/lilypond terminated Any ideas? I noticed that on this page: http://lilypond.org/doc/v2.10/Documentation/topdocs/INSTALL.html, it says that guile 1.8.0 is required to run, but 1.6.7 is required to build 2.10 (the configure script says it's 1.6.7, but in versions >=2.10.1, it fails the check on FC5 because it detects the version as 1.6). Is it correct? Is it possible that having an old version of guile could be causing the crash? If I need to go back to 2.8.x, are the changes listed in the bug report adequate? Quentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly error
Jan Nieuwenhuizen wrote: Johan Vromans <[EMAIL PROTECTED]> writes: It's also in Fedora Core 5. Klaas, if you need a wordk-around just email me. Workaround? Why isn't this fixed in Fedora? [Where is LilyPond's bug page with Fedora, I cannot find the word Bug on http://fedora.redhat.com or any of its subpages I tried and, http://bugs.fedora.redhat.com does not exist either?] This problem only exists in the 2.8.x packages included in FC5. In FC6, the 2.10.x packages don't have this problem. A bug has already been filed (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219254). I figured I would fix it by upgrading to 2.10.2, but the build on PPC failed with the following (after I had already closed the bug): adding font directory: /builddir/build/BUILD/lilypond-2.10.2/out/bin/../share/lilypond/2.10.2/fonts/type1/Building font database. *** buffer overflow detected ***: /builddir/build/BUILD/lilypond-2.10.2/out/bin/lilypond terminated Any ideas? If I need to go back to 2.8.x, are the changes listed in the bug report adequate? Quentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly error
Quentin Spencer escreveu: > Jan Nieuwenhuizen wrote: >> Johan Vromans <[EMAIL PROTECTED]> writes: >> >> >>> It's also in Fedora Core 5. >>> >> >> >>> Klaas, if you need a wordk-around just email me. >>> >> >> Workaround? Why isn't this fixed in Fedora? >> >> [Where is LilyPond's bug page with Fedora, I cannot find the word Bug >> on http://fedora.redhat.com or any of its subpages I tried and, >> http://bugs.fedora.redhat.com does not exist either?] >> >> > > This problem only exists in the 2.8.x packages included in FC5. In FC6, > the 2.10.x packages don't have this problem. A bug has already been > filed (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219254). I > figured I would fix it by upgrading to 2.10.2, but the build on PPC > failed with the following (after I had already closed the bug): > > adding font directory: > /builddir/build/BUILD/lilypond-2.10.2/out/bin/../share/lilypond/2.10.2/fonts/type1/Building > font database. > > *** buffer overflow detected ***: Hi, can you run the crashing command in GDB and send a stacktrace of the error? Furthermore, I've put up an experimental Linux/PPC build at http://lilypond.org/download/binaries/linux-ppc/lilypond-2.11.2-3.linux-ppc.sh can you check if that works for you? -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-design.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly error
Han-Wen Nienhuys wrote: Quentin Spencer escreveu: Jan Nieuwenhuizen wrote: Johan Vromans <[EMAIL PROTECTED]> writes: It's also in Fedora Core 5. Klaas, if you need a wordk-around just email me. Workaround? Why isn't this fixed in Fedora? [Where is LilyPond's bug page with Fedora, I cannot find the word Bug on http://fedora.redhat.com or any of its subpages I tried and, http://bugs.fedora.redhat.com does not exist either?] This problem only exists in the 2.8.x packages included in FC5. In FC6, the 2.10.x packages don't have this problem. A bug has already been filed (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219254). I figured I would fix it by upgrading to 2.10.2, but the build on PPC failed with the following (after I had already closed the bug): adding font directory: /builddir/build/BUILD/lilypond-2.10.2/out/bin/../share/lilypond/2.10.2/fonts/type1/Building font database. *** buffer overflow detected ***: Hi, can you run the crashing command in GDB and send a stacktrace of the error? Furthermore, I've put up an experimental Linux/PPC build at http://lilypond.org/download/binaries/linux-ppc/lilypond-2.11.2-3.linux-ppc.sh can you check if that works for you? Unfortunately, I don't have direct access to any PPC hardware, including those used by the Fedora build system (I can only submit batch jobs to a queue). So, I'm not sure I can do much more unless someone else has a PPC with FC5 (it appears that this doesn't happen with FC6). Quentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly error
Quentin Spencer wrote: Han-Wen Nienhuys wrote: Quentin Spencer escreveu: Jan Nieuwenhuizen wrote: Johan Vromans <[EMAIL PROTECTED]> writes: It's also in Fedora Core 5. Klaas, if you need a wordk-around just email me. Workaround? Why isn't this fixed in Fedora? [Where is LilyPond's bug page with Fedora, I cannot find the word Bug on http://fedora.redhat.com or any of its subpages I tried and, http://bugs.fedora.redhat.com does not exist either?] This problem only exists in the 2.8.x packages included in FC5. In FC6, the 2.10.x packages don't have this problem. A bug has already been filed (https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=219254). I figured I would fix it by upgrading to 2.10.2, but the build on PPC failed with the following (after I had already closed the bug): adding font directory: /builddir/build/BUILD/lilypond-2.10.2/out/bin/../share/lilypond/2.10.2/fonts/type1/Building font database. *** buffer overflow detected ***: Hi, can you run the crashing command in GDB and send a stacktrace of the error? Furthermore, I've put up an experimental Linux/PPC build at http://lilypond.org/download/binaries/linux-ppc/lilypond-2.11.2-3.linux-ppc.sh can you check if that works for you? Unfortunately, I don't have direct access to any PPC hardware, including those used by the Fedora build system (I can only submit batch jobs to a queue). So, I'm not sure I can do much more unless someone else has a PPC with FC5 (it appears that this doesn't happen with FC6). Actually, I now realize there is a stack trace of the error in the build log, which can be found at: http://buildsys.fedoraproject.org/logs/fedora-5-extras/23882-lilypond-2.10.2-2.fc5/ppc/build.log I hope this is helpful. Quentin ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly error
Quentin Spencer escreveu: >> Unfortunately, I don't have direct access to any PPC hardware, >> including those used by the Fedora build system (I can only submit >> batch jobs to a queue). So, I'm not sure I can do much more unless >> someone else has a PPC with FC5 (it appears that this doesn't happen >> with FC6). > > Actually, I now realize there is a stack trace of the error in the build > log, which can be found at: > http://buildsys.fedoraproject.org/logs/fedora-5-extras/23882-lilypond-2.10.2-2.fc5/ppc/build.log This is actually a fontconfig problem. FcGlobalCacheSave doesn't even exist in fontconfig 2.4 -- Han-Wen Nienhuys - [EMAIL PROTECTED] - http://www.xs4all.nl/~hanwen LilyPond Software Design -- Code for Music Notation http://www.lilypond-design.com ___ lilypond-user mailing list lilypond-user@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-user
Re: midi2ly error message
Guido Milanese writes: > The question regards an error message of midi2ly: > > File "/usr//bin/midi2ly", line 43, in ? > import midi > ImportError: No module named midi > > I read how to solve it in Windows, but what about Linux? > Which file is the script looking for? And where can I download the > file from? > The version of lilypond I am running is 1.7.14. There should be a file /usr/share/lilypond/1.7.14/python/midi.so. It should be included in your binary package. The lilypond download page says that 2.0.1 is available for Mandrake; please try that. Jan. -- Jan Nieuwenhuizen <[EMAIL PROTECTED]> | GNU LilyPond - The music typesetter http://www.xs4all.nl/~jantien | http://www.lilypond.org ___ Lilypond-user mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/lilypond-user