Git Product home page Git Product logo

Comments (9)

jeanas avatar jeanas commented on September 24, 2024 1

Did I do it wrong?

You wrote test.py instead of test.ly :D

from frescobaldi.

jeanas avatar jeanas commented on September 24, 2024

All versions of LilyPond are normally supported. I am running LilyPond 2.23.14 without problems. I'm not a Frescobaldi dev, but I can ask a few questions to try to know more: what other version(s) of LilyPond do you have? Does this happen on every LilyPond file, including the simplest files like \version "2.23.14" { c' }? Can you try running LilyPond in the command line to see if it works?

from frescobaldi.

nvictor avatar nvictor commented on September 24, 2024

Sorry for the late reply @jean-abou-samra.

Here's the output from command line.

➜  Projects cd lilypond-2.23.14 
➜  lilypond-2.23.14 ls
bin  etc  lib  libexec  licenses  share  test.ly
➜  lilypond-2.23.14 cat test.ly        
\version "2.23.14" { c' }
➜  lilypond-2.23.14 ./bin/lilypond test.py
GNU LilyPond 2.23.14 (running Guile 2.2)
warning: cannot find file: `test.py'
fatal error: failed files: "test.py"
➜  lilypond-2.23.14 cd bin             
➜  bin ./lilypond ../test.py
GNU LilyPond 2.23.14 (running Guile 2.2)
warning: cannot find file: `../test.py'
fatal error: failed files: "../test.py"
➜  bin mv ../test.ly .                                        
➜  bin ./lilypond test.py   
GNU LilyPond 2.23.14 (running Guile 2.2)
warning: cannot find file: `test.py'
fatal error: failed files: "test.py"

It's complaining about not being able to find the input file. Did I do it wrong?

from frescobaldi.

nvictor avatar nvictor commented on September 24, 2024

@jean-abou-samra Double post. Sorry. But it occurred to me that the working directory was probably wrong. So I did

➜  lilypond-2.23.14 PATH=. ./bin/lilypond test.ly 
GNU LilyPond 2.23.14 (running Guile 2.2)
Processing `test.ly'
Parsing...
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `test.pdf'...
Success: compilation successfully completed
➜  lilypond-2.23.14 ls
bin  etc  lib  libexec  licenses  share  test.ly  test.pdf

This was what I got.

from frescobaldi.

fedelibre avatar fedelibre commented on September 24, 2024

@nvictor Are you using the flatpak package of Frescobaldi? (I see the versions in your specs are the same)

If the answer is yes, how did you add version 2.23.14? BTW, I'm building a new Frescobaldi flatpak including v2.23.14 right now.

from frescobaldi.

nvictor avatar nvictor commented on September 24, 2024

@fedelibre That is correct! I added 2.23.14 by going to the settings.
lilypond

I unzipped the version in a folder.

from frescobaldi.

fedelibre avatar fedelibre commented on September 24, 2024

You might notice the weird path recorded by Frescobaldi: /run/user/1000/doc/.... It means that you put the lilypond binaries in a path where Frescobaldi flatpak doesn't have full permissions, so lilypond binary won't work. You have two options:

  1. Move the binaries in one of the supported locations: ~/Documents, ~/Downloads, ~/Music (see flatpak manifest).
  2. Use the Flatseal app to grant the permissions for the directory you're currently using.

This issue has been recently discussed here.

from frescobaldi.

nvictor avatar nvictor commented on September 24, 2024

@jean-abou-samra oh my god! 😮

@fedelibre Thanks will try that!

from frescobaldi.

nvictor avatar nvictor commented on September 24, 2024

@jean-abou-samra @fedelibre it worked after I moved the binaries to ~/Downloads 👍 👍

Thanks a lot for your help!

from frescobaldi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.