[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] pdf Files out of sync on mac
From: |
Richard Shann |
Subject: |
Re: [Denemo-devel] pdf Files out of sync on mac |
Date: |
Fri, 20 Dec 2013 19:20:30 +0000 |
Well, it seems that somehow the cycling between A and B is getting out
of step. You could try turning that off by not compiling in these two
lines (in print.c:78 and 79)
get_print_status()->cycle = !get_print_status()->cycle;
/*gint success =*/ g_unlink
(get_print_status()->printname_pdf[get_print_status()->cycle]);
I think these lines are only needed for Windows (which locks files so
that they can't be overwritten).
I just tested out deleting them, and there is no obvious problem on
Debian. (It may be that in some case of bad LilyPond you get some old
typeset rather than a blank ...)
Richard
On Fri, 2013-12-20 at 11:32 -0600, Jeremiah Benham wrote:
> On Fri, Dec 20, 2013 at 05:20:35PM +0000, Richard Shann wrote:
> > On Fri, 2013-12-20 at 11:10 -0600, Jeremiah Benham wrote:
> > > I created a darwin-x86 build using gub with gtk3 and rubberband. There is
> > > a problem that existed in previous mac versions (using gtk2) as well. I
> > > upgraded glib thinging that it would fix itself. Here is what I see in
> > > denemo:
> > > I launch denemo
> > > I see the progress bar pop-up on top of an evince window
> > > The progress bar seems to be stuck in an infinant loop.
> >
> > There is a possible problem here: when LilyPond is first run it caches
> > its fonts first. On Windows I have seen this take so many minutes that
> > the launch of Denemo appears to have failed.
> > It might be an idea to create a denemorc file to put in
> > the .denemo-1.1.0 directory that contains the preference to not do
> > automatic typesetting (or alter the sources so that it is not the
> > default)
> >
> > <manualtypeset>1</manualtypeset>
> >
> > is the line for this in denemorc.
> >
> > Then at least Denemo should launch and you could start investigating
> > whether it will run LilyPond successfully.
>
> Oh yes. I failed to mention that it does produce pdfs using export pdf. It
> does this without any problem at all. The progress bar comes up, the progress
> bar closes on its own, then a pop dialog tells me my pdf has been created.
> Then I can open the pdf fine using Preview (the default pdf viewer on mac
> osx).
>
> Jeremiah
> >
> > Richard
> >
> >
> >
> >
> >
> > > I kill the progress bar window
> > > Then the evince window refreshes with a blank score
> > > after entering some notes in denemo I focus on the evince window
> > > nothing happens.
> > > I hit refresh in evince...
> > >
> > > Then I get this error:
> > >
> > > alphabeticalizing the commandsVersion 1_1_0
> > > starting to generate LilyPond
> > >
> > > ** (denemo:181): WARNING **: Trying to read the pdf file
> > > file:///tmp/Denemo5qMqZo/denemoprintA.pdf gave an error: Error opening
> > > file: No such file or directory
> > >
> > > ** (denemo:181): WARNING **: Trying to read the pdf file
> > > file:///tmp/Denemo5qMqZo/denemoprintA.pdf gave an error: Error opening
> > > file: No such file or directory
> > >
> > > starting to generate LilyPond
> > > This is called when hitting the refresh button while in continuous
> > > re-typeset
> > >
> > >
> > > <><><<><><><<><><
> > > Then when I see whats being created in tmp:
> > >
> > > Jeremiah-Benhams-Mac:~ jeremiahbenham$ ls /tmp/Denemo5qMqZo/
> > > denemoprintA.ly denemoprintB.pdf
> > > denemoprintB.ly denemoprintB.ps
> > >
> > >
> > > Jeremiah
> > >
> > >
> > > _______________________________________________
> > > Denemo-devel mailing list
> > > address@hidden
> > > https://lists.gnu.org/mailman/listinfo/denemo-devel
> >
> >
- [Denemo-devel] pdf Files out of sync on mac, Jeremiah Benham, 2013/12/20
- Re: [Denemo-devel] pdf Files out of sync on mac, Richard Shann, 2013/12/20
- Re: [Denemo-devel] pdf Files out of sync on mac, Jeremiah Benham, 2013/12/20
- Re: [Denemo-devel] pdf Files out of sync on mac,
Richard Shann <=
- Re: [Denemo-devel] pdf Files out of sync on mac, Jeremiah Benham, 2013/12/21
- Re: [Denemo-devel] pdf Files out of sync on mac, Jeremiah Benham, 2013/12/21
- Re: [Denemo-devel] pdf Files out of sync on mac, Richard Shann, 2013/12/21
- Re: [Denemo-devel] pdf Files out of sync on mac, Jeremiah Benham, 2013/12/21
- Re: [Denemo-devel] pdf Files out of sync on mac, Richard Shann, 2013/12/21
- Re: [Denemo-devel] pdf Files out of sync on mac, Richard Shann, 2013/12/21
- Re: [Denemo-devel] pdf Files out of sync on mac, Jeremiah Benham, 2013/12/30