denemo-devel
[Top][All Lists]
Advanced

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

Re: 17 & 20 November Downloads


From: Richard Shann
Subject: Re: 17 & 20 November Downloads
Date: Mon, 22 Nov 2021 17:26:33 +0000
User-agent: Evolution 3.38.3-1

On Mon, 2021-11-22 at 16:51 +0000, Joe Wilkinson wrote:
>  
>  
> On 22/11/2021 16:28, Richard Shann wrote:
> On Mon, 2021-11-22 at 15:46 +0000, Joe Wilkinson wrote:
>  
> >  
> >  
> > On 22/11/2021 14:40, Richard Shann wrote:
> > On Sun, 2021-11-21 at 16:58 +0000, Richard Shann wrote:
> >  
> >  
> > > On Sun, 2021-11-21 at 15:15 +0000, Joe Wilkinson wrote:
> > >  
> > >  
> > > > Hi Richard,
> > > > I have attached a simple file.
> > > > I don’t know what you mean by saying put lilypond in the
> > > > preferences
> > > > but I tried just the word lilypond (should it have been
> > > > lilypond-
> > > > windows.exe?)
> > > I've just tested out and I see that under windows the default it
> > > to
> > > have the whole path (including drive:) ending in lilypond-
> > > windows.exe
> > > so my suggestion was overly sketchy, sorry!
> > > Perhaps you could do an test: in the folder .denemo-2.5.6 there
> > > should
> > > be a file denemorcV2 and the first entry after Config is a line
> > > like
> > > this:
> > > 
> > > 
> > >     <lilypath>Z:\home\rshann\mxe\mxe\usr\i686-w64-
> > > mingw32.shared\bin\lilypond-windows.exe</lilypath> 
> > > 
> > > if you delete this entire line then start denemo then look in
> > > prefs
> > > you should find it has re-made the entry.
> > > If you copy that and then test (using command.com) with
> > > 
> > > dir Z:\home\rshann\mxe\mxe\usr\i686-w64-
> > > mingw32.shared\bin\lilypond-
> > > windows.exe
> > > 
> > > to see if it exists and indeed test that
> > > 
> > > Z:\home\rshann\mxe\mxe\usr\i686-w64-mingw32.shared\bin\lilypond-
> > > windows.exe myfile.ly
> > > 
> > > actually works for some simple LilyPond file myfile.ly (such as
> > > 
> > > { c d e}
> > > 
> > > which should typeset three notes then we will be closer to the
> > > truth
> > > no
> > > doubt - at the moment I admit I'm baffled by the symptoms.
> > I found a way to make it clearer what is going on: the attached
> > batch
> > file runs the windows application notepad passing it the name of
> > the
> > LilyPond file as the 8th parameter. So placing this somewhere
> > convenient and setting the Edit->Change Preferences->Externals-
> >  
> >  
> > > lilypond to the full path to this batch file. You should get
> > > Notepad 
> > > popping up immediately you OK the pref change, as Denemo tried to
> > > determine the version, just dismiss Notepad and then try to
> > > typeset.
> >   I get this: 
> [ "The LilyPond executable program %s was not found - no typesetting
> will be possible"), prefs->lilypath->str]
> 
> 
> this is strictly speaking misleading - it is the result of running
> the
> named program with the parameter "--version" which fails to return a
> version leading to that message. So it is ok if you are actually
> running WordPad rather than lilypond-windows.exe.
> 
>  
> > But direct invocation of the RunNotepad.bat file in a
> > command window works fine, so the file exists and the path is OK.
> > 
> > This will cause Denemo to start notepad with the LilyPond filename
> > as
> > the filename (denemoprintA.ly or denemoprintB.ly).
> > Unfortunately Notepad appends .txt to the filename so it does not
> > find
> > the .ly file, however you may be able to see the name of the file
> > it
> > is
> > trying to open. It will hang "typesetting" until you dismiss
> > Notepad
> > when it will return and the typesetting will be declared a failure.
> > 
> > The file is in C:\users\yourname\AppData\Temp\DenemoXXXXXX or some
> > such.
> > I tried with Notepad and Notepad++ and neither was recognised.
> So when you change the preference you will get the "The LilyPond
> executable program ..." message straight away, ignore that. Then try
> to
> typeset and the program (Notepad or whatever) should start. Below you
> report that this happened with Oct 20 version. But are you saying
> here
> that it does *not* happen with later versions?
> 
> 
>  
> > If you have some other editor or other program that does not alter
> > the
> > passed in filename (e.g. change the batch file to prompt the user
> > with
> > the filename?) then that would be better.
> > 
> > Anyway, if Notepad does not start or the file it should be looking
> > at
> > does not exist then we have would have narrowed down the problem.
> >   As far as I can see Denemo is no longer recognising the pointer
> > to
> > the lilypond file or your batch file.
> >  Whichever value I put in the External Preferences seems to provoke
> > the response as above.
> >  October20 Download is still fine.
> >  If I do as requested above (with wordpad instead of notepad) in
> > the
> > October 20 edition, Wordpad is invoked when I try to change
> > preferences External and press OK
> >  Then trying to Typeset again invokes Wordpad with the message that
> [C:\Users\joean\AppData\Local\Temp\Denemo_XXXXXX\denemoprintB
> Cannot find this file....]
> 
> So with Oct 20 version we can tell that Denemo has invoked the
> Wordpad
> with parameter (probably) 
> 
> C:\Users\joean\AppData\Local\Temp\Denemo_XXXXXX\denemoprintB.ly
> 
> as intended, but which WordPad has re-interpreted as .txt and refused
> to open. So that is a working version.
> 
> But, as I say - does this not happen with later versions? I've tested
> on Windows 10 and wine and all appears to be well with the overnight
> version in this respect.
>   I just tried again and OK produced the box with the file not found
> error. 
>  And Typeset failed with instruction in Red to check Lilypond window
> which concluded:
>  Typesetting ...Error launching lilypond! Message is Failed to
> execute helper program (No such file or directory)
 ... but no Notepad appearing I presume. So this does sound like Denemo
is failing to launch anything. I've noticed that Windows batch files
get an extra parameter, so the RunNotepad should reference %9 not %8 -
using %9 Notepad succeeds in opening the output lilypond file. When
running a version which fails does Denemo actually generate a (new)
file 

C:\Users\joean\AppData\Local\Temp\Denemo_XXXXXX\denemoprintB.ly

to check, use the cmd.com or tell the file manager to show "hidden
files" as AppData is hidden by windows by default.
> Presumably there are others using Windows and the development
> version. 
> Am I the only one with problems??

You are the only reporting it - I know of two Windows 10 machines that
are ok with the overnight build.

Richard









reply via email to

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