On Fri, 2014-01-17 at 18:00 +0100, Éloi Rivard wrote: > I can look at this if next week if you give me the file that make it > fails.
I've been looking at it. If you just let it choose what part of the score to use for the thumbnail it picks a couple of bars at the start of the first staff. This fails for the score concerned because there is a second voice on the first staff. Selecting both voices and calling Score->Set Thumbnail From Selection the thumbnailer then works ok. The script that selects what to thumbnail by default should check for voices ... I've logged a bug report for this. Richard > > > 2014/1/17 Richard Shann <[email protected]> > On Fri, 2014-01-17 at 15:56 +0100, Éloi Rivard wrote: > > 2014/1/15 Richard Shann <[email protected]> > > Is it a requirement of gtk_init() that a > > display exists? I hope not. > > > > > > It is. Gtk cannot be initialized on Travis. > > However, it seems that you are right and that we can use > GtkTextBuffer > > without initializing Gtk. > > > > I fixed the thumbnailer, and created a test to prevent > future > > regressions. Can you please test ? > > > Very interesting. At first I saw the usual error messages > Gtk - CRITICAL: gtk_widget_show: assertion `GTK_IS_WIDGET > (widget)' failed > > > and so on when I closed a score (i.e. coming from the > thumbnail run of > denemo). So I installed the denemo in the system > (/usr/local/bin) and > tried the same score - same error. > Then switched to another user. That user got a simple file to > thumbnail > ok. > Then I switched back to myself, and found that the simple file > *did* > thumbnail ok, but the original (fairly complex) file did not. > > I suspect the complex file fails because the thumbnailer is > trying to > compile just a few bars of the score and these may not compile > separately. If so, it is a red herring, though it is very > strange that > gtk error messages should result (could this be an attempt to > popup some > error dialog?) > > I'll look into it further, but, on the whole I think you may > have > cleared the regression. > > Richard > > > > > > -- > Éloi Rivard - [email protected] > > « On perd plus à être indécis qu'à se tromper. » > _______________________________________________ Denemo-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/denemo-devel
