Lilypond Python on Windows

2005-11-16 Thread Sven Axelsson
Lilypond 2.7.17 on Windows XP. I seems like the included Python installation has some problems. I'm not sure of the general problem, but specifically it fails to load the struct module from the lib-dynload folder. Maybe all dynloaded modules fail, I haven't checked that much. Perhaps it would be n

Re: Lilypond Python on Windows

2005-11-16 Thread Jan Nieuwenhuizen
Sven Axelsson writes: > but specifically it fails to load the struct module from the > lib-dynload folder. > Maybe all dynloaded modules fail, I haven't checked that much. Can you please do some more checking. Do any other DLLs work, such as math, midi ? > Perhaps it would be nice if the insta

Re: Lilypond Python on Windows

2005-11-17 Thread Sven Axelsson
On 17/11/05, Jan Nieuwenhuizen <[EMAIL PROTECTED]> wrote: > Sven Axelsson writes: > > > but specifically it fails to load the struct module from the > > lib-dynload folder. > > > Maybe all dynloaded modules fail, I haven't checked that much. > > Can you please do some more checking. Do any other D

Re: Lilypond Python on Windows

2005-11-17 Thread Jan Nieuwenhuizen
Sven Axelsson writes: > found. Testing with > import cPickle, datetime, math, md5, struct; > all fails with ImportError: No module named . > > The midi module, which is in usr/bin works, however. > > And this is because - all the modules are present in usr/bin as well, > but named XXX.so.exe.

Re: Lilypond Python on Windows

2005-11-17 Thread Sven Axelsson
On 17/11/05, Jan Nieuwenhuizen <[EMAIL PROTECTED]> wrote: > Sven Axelsson writes: > > Ideally, Lilypond wouldn't change the file associations at all > [snip] > > Then we could have .bat files that does the same under Windows. > > Until now, no-one has managed to produce .BAT files for us that work

Re: Lilypond Python on Windows

2005-11-17 Thread Sven Axelsson
On 17/11/05, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: > Sven Axelsson wrote: > > Okay, I'll have a look. But wouldn't this be .bat files that basically > > only looks something like > > > > rem lilypond-book.bat > > c:\\usr\bin\python.exe lilypond-book.py %1 %2 %3 %4 %5 %6 %7 %8 %9 > > > > yes,

Re: Lilypond Python on Windows

2005-11-17 Thread Han-Wen Nienhuys
Sven Axelsson wrote: Okay, I'll have a look. But wouldn't this be .bat files that basically only looks something like rem lilypond-book.bat c:\\usr\bin\python.exe lilypond-book.py %1 %2 %3 %4 %5 %6 %7 %8 %9 yes, basically. Unfortunately typically is "Program Files", which has spaces. Differ

Re: Lilypond Python on Windows

2005-11-17 Thread Han-Wen Nienhuys
Sven Axelsson wrote: On 17/11/05, Han-Wen Nienhuys <[EMAIL PROTECTED]> wrote: Sven Axelsson wrote: Okay, I'll have a look. But wouldn't this be .bat files that basically only looks something like rem lilypond-book.bat c:\\usr\bin\python.exe lilypond-book.py %1 %2 %3 %4 %5 %6 %7 %8 %9 yes,

Re: Lilypond Python on Windows

2005-11-17 Thread Jan Nieuwenhuizen
Sven Axelsson writes: > Really? I have never seen a version that doesn't work with double > quotes around the full path. See this http://lists.gnu.org/archive/html/lilypond-devel/2005-06/msg00086.html and other threads with windows programmer Russ Jorgensen. We had generated BAT files for

Re: Lilypond Python on Windows

2005-11-17 Thread Sven Axelsson
On 17/11/05, Jan Nieuwenhuizen <[EMAIL PROTECTED]> wrote: > Sven Axelsson writes: > > > Really? I have never seen a version that doesn't work with double > > quotes around the full path. > > See this > > http://lists.gnu.org/archive/html/lilypond-devel/2005-06/msg00086.html > > and other thread

Re: Lilypond Python on Windows

2005-11-17 Thread Jan Nieuwenhuizen
Sven Axelsson writes: > OK. Those are long threads dealing with many different issues. Yes, we had a lot of issues to overcome. > Forward slashes does work > (sometimes) in paths on NT based Windows, but not at all in the > others. Also I spotted things like > > PATH="c:\path1\;c:\path2\" > I g

Re: Lilypond Python on Windows

2006-07-04 Thread Dewdman42
anks -- View this message in context: http://www.nabble.com/Lilypond-Python-on-Windows-tf567756.html#a5174300 Sent from the Gnu - Lilypond - Bugs forum at Nabble.com. ___ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond

Re: Lilypond Python on Windows

2006-07-05 Thread Simon Dahlbacka
Anyway, I'll try to pick through the various threads and figure it out, but if someone has any info about the current architecture of lilypond launching python, how python finds the libraries it needs, etc..you could save me a lot of time to understand the issues. [Some ramblings about python

Re: Lilypond Python on Windows

2006-07-05 Thread Simon Dahlbacka
hmm. looking closer reveals that a lot if not all of the files found in d:\lilypond\usr\lib\python2.4\lib-dynload also exist in d:\lilypond\usr\bin, with differing filesizes, judging on sizes I'd guess that lib-dynload contains debug versions while release versions in bin. and while d:\lilypond\us

Re: Lilypond Python on Windows

2006-07-07 Thread Han-Wen Nienhuys
Simon Dahlbacka schreef: Anyway, I'll try to pick through the various threads and figure it out, but if someone has any info about the current architecture of lilypond launching python, how python finds the libraries it needs, etc..you could save me a lot of time to understand the issues. [S