Newbie trying to get Frescobaldi 3.0 to work

187 views
Skip to first unread message

William Zeitler

unread,
May 15, 2017, 1:10:46 PM5/15/17
to Frescobaldi
I'm starting with the equivalent of 'hello world' just to make sure my install is working.

I've installed Lilypond 2.18.2 and Frescobaldi 3.0 on my Win7 machine.

I copied a simple example from the 'net:

\header {
  \version "2.18.2"
  title = ""
  composer = ""
  tagline = \markup {
    Engraved at
    \simple #(strftime "%Y-%m-%d" (localtime (current-time)))
    with \with-url #"http://lilypond.org/"
    \line { LilyPond \simple #(lilypond-version) (http://lilypond.org/) }
  }
}

upper = \relative c'' {
  \clef treble
  \key c \major
  \time 4/4

  a4 b c d
}

lower = \relative c {
  \clef bass
  \key c \major
  \time 4/4

  a2 c
}

\score {
  \new PianoStaff <<
    \set PianoStaff.instrumentName = #"Piano  "
    \new Staff = "upper" \upper
    \new Staff = "lower" \lower
  >>
  \layout { }
}

When I compile it I get:

Starting lilypond-windows.exe 2.18.2 [Untitled.ly]...

Processing `C:/Users/william/Documents/Untitled.ly'

Parsing...

Interpreting music...

Preprocessing graphical objects...

Finding the ideal number of pages...

Fitting music on 1 page...

Drawing systems...

Layout output to `Untitled.ps'...

Converting to `./Untitled.pdf'...

warning: `(gs -q -dNOSAFER -dDEVICEWIDTHPOINTS=595.28 -dDEVICEHEIGHTPOINTS=841.89 -dCompatibilityLevel=1.4 -dNOPAUSE -dBATCH -r1200 -sDEVICE=pdfwrite -sOutputFile=./Untitled.pdf -c.setpdfwrite -fUntitled.ps)' failed (1)


fatal error: failed files: "C:/Users/william/Documents/Untitled.ly"

Exited with return code 1.


The 'gs' (ghostscript?) looks suspicious, but I'm not finding any such prerequisites for Frescobaldi when I RTFM. What am I missing?


THANK YOU IN ADVANCE!



Knute Snortum

unread,
May 16, 2017, 10:34:34 AM5/16/17
to fresc...@googlegroups.com
It's definitely not Frescobaldi.  It's probably something in the way LilyPond is set up.  I would first try uninstalling and reinstalling LilyPond.  If that doesn't work, try posting to the LilyPond users mailing list.  (http://lilypond.org/contact.html)

Something else to consider:  The mailing list likes you to post tiny examples, that is, an example that has the error but is as small as possible.  This could be a good exercise in debugging LilyPond.  You also could start with a truly tiny input file and see if that compiles:

\version "2.18.2"
{ c' c' c' c' }


---
Knute Snortum
(via Gmail)

Urs Liska

unread,
May 16, 2017, 10:43:55 AM5/16/17
to fresc...@googlegroups.com



Am 16.05.2017 um 16:34 schrieb Knute Snortum:
It's definitely not Frescobaldi. 

I wouldn't say this is 100% sure.
The error message comes from LilyPond, yes, and it indicates a version mismatch regarding Ghostscript.

On Linux this could happen because Frescobaldi called the lilypond executable directly and not through the wrapper script that is created during installation.
When I investigated for a patch feedback suggested that this issue couldn't occur on Windows.


It's probably something in the way LilyPond is set up.  I would first try uninstalling and reinstalling LilyPond.  If that doesn't work, try posting to the LilyPond users mailing list.  (http://lilypond.org/contact.html)

I would *first* try to compile a file directly with LilyPond and not through Frescobaldi. This may narrow down the culprit.

Urs

William Zeitler

unread,
May 19, 2017, 3:32:11 PM5/19/17
to Frescobaldi
Trying the suggested super-simple example instead (namely)

\version "2.18.2"
{ c' c' c' c' }

I also uninstalled/reinstalled the latest LilyPond (2.18.2-1). 

I still get the same error, including from the command line. so my next step is to post on the LilyPond user group. Thanks for the help! 

g...@ursliska.de

unread,
May 19, 2017, 4:01:10 PM5/19/17
to William Zeitler, Frescobaldi


Am 19. Mai 2017 21:32:11 MESZ schrieb William Zeitler <wwze...@gmail.com>:
>
>>
>> Trying the suggested super-simple example instead (namely)
>>
>
>\version "2.18.2"
>{ c' c' c' c' }
>
>I also uninstalled/reinstalled the latest LilyPond (2.18.2-1).
>
>I still get the same error, including from the command line.

How is LilyPond registered in Frescobaldi? (Did ask that already?)

Urs

> so my next
>
>step is to post on the LilyPond user group. Thanks for the help!

--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

SoundsFromSound

unread,
May 31, 2017, 7:58:27 AM5/31/17
to Frescobaldi

I have seen that sort of error before and I believe it has to do with the PDF step of the process. I can't remember how I resolved it, but I'm 99% sure it's related to the PDF portion of the engraving process. Something was needed to be tweaked or installed I think to make the PDF step work.

I'll see if I can find out what I fixed it with.
Reply all
Reply to author
Forward
0 new messages