[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lilypond-user
Subject:    Re: 2,21,4 released
From:       Pierre Perol-Schneider <pierre.schneider.paris () gmail ! com>
Date:       2020-07-31 20:30:59
Message-ID: CAPHOTuX3+1QmnmdSBAcpqB-cnZ5tzOpApVueZYWiNJU3mcW7Ug () mail ! gmail ! com
[Download RAW message or body]

Yep Jonas, it works like a charm here!!

Le ven. 31 juil. 2020 =C3=A0 21:39, Jonas Hahnfeld <hahnjo@hahnjo.de> a =C3=
=A9crit :

> Here's a second attempt that falls back to copying the file contents in
> case the PDF file is opened like Frescobaldi does:
> https://cloud.hahnjo.de/index.php/s/9XBmyp9rKMRfYJM
> It works in my tests, but please double-check on your systems.
>
> Jonas
>
> Am Donnerstag, den 30.07.2020, 15:49 +0200 schrieb Pierre Perol-
> Schneider:
> > Thank you Jonas.
> > Unfortunately, it fails every second attempt, as v.2.21.4:
> > test: \version "2.21.5" { c'}
> >
> > Starting lilypond-windows.exe 2.21.5 [Untitled]...
> > Processing
> `C:/Users/Pierre/AppData/Local/Temp/frescobaldi-g1lth8gp/tmpmt7elx5h/
> document.ly'
> > Parsing...
> > Interpreting music...
> > Preprocessing graphical objects...
> > Finding the ideal number of pages...
> > Fitting music on 1 page...
> > Drawing systems...
> > Converting to `document.pdf'...
> > fatal error: cannot rename `document-tmp-2708837.283386.pdf' to
> `document.pdf'
> > Exited with return code 1.
> >
> > Cheers,
> > Pierr
> >
> > Le jeu. 30 juil. 2020 =C3=A0 15:22, Jonas Hahnfeld <hahnjo@hahnjo.de> a
> =C3=A9crit :
> > > Am Dienstag, den 28.07.2020, 20:57 +0200 schrieb Jonas Hahnfeld:
> > > > Am Dienstag, den 28.07.2020, 17:28 +0200 schrieb Pierre Perol-
> > > > Schneider:
> > > > > Hi All,
> > > > > Under W10, the compilation fails after the second attempt:
> > > > >
> > > > > Starting lilypond-windows.exe 2.21.4 [Untitled]...
> > > > > Processing
> > > > >
> `C:/Users/Pierre/AppData/Local/Temp/frescobaldi-8tj7w61h/tmp0qsn12pu/
> > > > > document.ly'
> > > > > Parsing...
> > > > > Interpreting music...
> > > > > Preprocessing graphical objects...
> > > > > Finding the ideal number of pages...
> > > > > Fitting music on 1 page...
> > > > > Drawing systems...
> > > > > Converting to `document.pdf'...
> > > > > C:/Program Files (x86)/LilyPond
> > > > > 2-21-4/usr/share/lilypond/current/scm/lily.scm:567:7: In procedur=
e
> > > > > delete-file in expression (delete-file dst):
> > > > > C:/Program Files (x86)/LilyPond
> > > > > 2-21-4/usr/share/lilypond/current/scm/lily.scm:567:7: Permission
> denied
> > > > > Exited with return code 1.
> > > > >
> > > > > But works at the third attempt (but fails at the 4th etc.)
> > > >
> > > > I can reproduce this behavior for every compilation when the PDF fi=
le
> > > > is opened with Edge. I guess Frescobaldi opens the PDF by default,
> but
> > > > releases the file after an aborted compilation?
> > > > Tracked in https://gitlab.com/lilypond/lilypond/-/issues/6016
> > >
> > > Pierre, and all others using Windows: Could you give the following
> > > version a try? https://cloud.hahnjo.de/index.php/s/wKx3Wb822CKQsq6
> > > (Note: While the installer says 2.21.5, this is not at all what the
> > > final 2.21.5 will looks like. It's just current master with the fix
> > > below, so use with care!)
> > >
> > > This has a potential fix for the described problem by using some othe=
r
> > > functionality to move files:
> > > https://gitlab.com/lilypond/lilypond/-/merge_requests/291 This works
> > > for me with files opened by Edge.
> > > Testing with Frescobaldi would be appreciated, and also with special
> > > characters in file names. I tried to model this after the code
> > > Masamichi-san wrote in March, but I'm not sure I understand what it's
> > > really needed for?
> > >
> > > Jonas
> >
> >
>

[Attachment #3 (text/html)]

<div dir="ltr">Yep Jonas, it works like a charm here!!  

</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le  ven. 31 \
juil. 2020 Ã   21:39, Jonas Hahnfeld &lt;<a \
href="mailto:hahnjo@hahnjo.de">hahnjo@hahnjo.de</a>&gt; a écrit  \
:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px \
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Here&#39;s a second \
attempt that falls back to copying the file contents in<br> case the PDF file is \
opened like Frescobaldi does:<br> <a \
href="https://cloud.hahnjo.de/index.php/s/9XBmyp9rKMRfYJM" rel="noreferrer" \
target="_blank">https://cloud.hahnjo.de/index.php/s/9XBmyp9rKMRfYJM</a><br> It works \
in my tests, but please double-check on your systems.<br> <br>
Jonas<br>
<br>
Am Donnerstag, den 30.07.2020, 15:49 +0200 schrieb Pierre Perol-<br>
Schneider:<br>
&gt; Thank you Jonas.<br>
&gt; Unfortunately, it fails every second attempt, as v.2.21.4:<br>
&gt; test: \version &quot;2.21.5&quot; { c&#39;}<br>
&gt; <br>
&gt; Starting lilypond-windows.exe 2.21.5 [Untitled]...<br>
&gt; Processing `C:/Users/Pierre/AppData/Local/Temp/frescobaldi-g1lth8gp/tmpmt7elx5h/<a \
href="http://document.ly" rel="noreferrer" target="_blank">document.ly</a>&#39;<br> \
&gt; Parsing...<br> &gt; Interpreting music...<br>
&gt; Preprocessing graphical objects...<br>
&gt; Finding the ideal number of pages...<br>
&gt; Fitting music on 1 page...<br>
&gt; Drawing systems...<br>
&gt; Converting to `document.pdf&#39;...<br>
&gt; fatal error: cannot rename `document-tmp-2708837.283386.pdf&#39; to \
`document.pdf&#39;<br> &gt; Exited with return code 1.<br>
&gt; <br>
&gt; Cheers,<br>
&gt; Pierr<br>
&gt; <br>
&gt; Le jeu. 30 juil. 2020 Ã  15:22, Jonas Hahnfeld &lt;<a \
href="mailto:hahnjo@hahnjo.de" target="_blank">hahnjo@hahnjo.de</a>&gt; a écrit \
:<br> &gt; &gt; Am Dienstag, den 28.07.2020, 20:57 +0200 schrieb Jonas Hahnfeld:<br>
&gt; &gt; &gt; Am Dienstag, den 28.07.2020, 17:28 +0200 schrieb Pierre Perol-<br>
&gt; &gt; &gt; Schneider:<br>
&gt; &gt; &gt; &gt; Hi All,<br>
&gt; &gt; &gt; &gt; Under W10, the compilation fails after the second attempt:<br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; Starting lilypond-windows.exe 2.21.4 [Untitled]...<br>
&gt; &gt; &gt; &gt; Processing<br>
&gt; &gt; &gt; &gt; `C:/Users/Pierre/AppData/Local/Temp/frescobaldi-8tj7w61h/tmp0qsn12pu/<br>
 &gt; &gt; &gt; &gt; <a href="http://document.ly" rel="noreferrer" \
target="_blank">document.ly</a>&#39;<br> &gt; &gt; &gt; &gt; Parsing...<br>
&gt; &gt; &gt; &gt; Interpreting music...<br>
&gt; &gt; &gt; &gt; Preprocessing graphical objects...<br>
&gt; &gt; &gt; &gt; Finding the ideal number of pages...<br>
&gt; &gt; &gt; &gt; Fitting music on 1 page...<br>
&gt; &gt; &gt; &gt; Drawing systems...<br>
&gt; &gt; &gt; &gt; Converting to `document.pdf&#39;...<br>
&gt; &gt; &gt; &gt; C:/Program Files (x86)/LilyPond<br>
&gt; &gt; &gt; &gt; 2-21-4/usr/share/lilypond/current/scm/lily.scm:567:7: In \
procedure<br> &gt; &gt; &gt; &gt; delete-file in expression (delete-file dst):<br>
&gt; &gt; &gt; &gt; C:/Program Files (x86)/LilyPond<br>
&gt; &gt; &gt; &gt; 2-21-4/usr/share/lilypond/current/scm/lily.scm:567:7: Permission \
denied<br> &gt; &gt; &gt; &gt; Exited with return code 1.<br>
&gt; &gt; &gt; &gt; <br>
&gt; &gt; &gt; &gt; But works at the third attempt (but fails at the 4th etc.)<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; I can reproduce this behavior for every compilation when the PDF \
file<br> &gt; &gt; &gt; is opened with Edge. I guess Frescobaldi opens the PDF by \
default, but<br> &gt; &gt; &gt; releases the file after an aborted compilation?<br>
&gt; &gt; &gt; Tracked in <a \
href="https://gitlab.com/lilypond/lilypond/-/issues/6016" rel="noreferrer" \
target="_blank">https://gitlab.com/lilypond/lilypond/-/issues/6016</a><br> &gt; &gt; \
<br> &gt; &gt; Pierre, and all others using Windows: Could you give the following<br>
&gt; &gt; version a try? <a \
href="https://cloud.hahnjo.de/index.php/s/wKx3Wb822CKQsq6" rel="noreferrer" \
target="_blank">https://cloud.hahnjo.de/index.php/s/wKx3Wb822CKQsq6</a><br> &gt; &gt; \
(Note: While the installer says 2.21.5, this is not at all what the<br> &gt; &gt; \
final 2.21.5 will looks like. It&#39;s just current master with the fix<br> &gt; &gt; \
below, so use with care!)<br> &gt; &gt; <br>
&gt; &gt; This has a potential fix for the described problem by using some other<br>
&gt; &gt; functionality to move files: <br>
&gt; &gt; <a href="https://gitlab.com/lilypond/lilypond/-/merge_requests/291" \
rel="noreferrer" target="_blank">https://gitlab.com/lilypond/lilypond/-/merge_requests/291</a> \
This works<br> &gt; &gt; for me with files opened by Edge.<br>
&gt; &gt; Testing with Frescobaldi would be appreciated, and also with special<br>
&gt; &gt; characters in file names. I tried to model this after the code<br>
&gt; &gt; Masamichi-san wrote in March, but I&#39;m not sure I understand what \
it&#39;s<br> &gt; &gt; really needed for?<br>
&gt; &gt; <br>
&gt; &gt; Jonas<br>
&gt; <br>
&gt; <br>
</blockquote></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic