Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guile reports error in init file #370

Open
gasrodriguez opened this issue Sep 21, 2023 · 1 comment
Open

Guile reports error in init file #370

gasrodriguez opened this issue Sep 21, 2023 · 1 comment

Comments

@gasrodriguez
Copy link

I have the extension working on Mac but despite generate the midi and pdf files correctly, every time I compile it shows this error:

Guile signaled an error for the expression beginning here
\maininput not allowed outside init files

The \maininput statement is inside an init.ly file:

/opt/homebrew/Cellar/lilypond/2.24.2/share/lilypond/2.24.2/ly/init.ly

I'm using:

  • vscode
Version: 1.77.0 (Universal)
Commit: 7f329fe6c66b0f86ae1574c2911b681ad5a45d63
Date: 2023-03-29T09:57:11.797Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: 10.2.154.26-electron.0
OS: Darwin arm64 22.5.0
Sandboxed: Yes
  • lilypond
% lilypond --version
GNU LilyPond 2.24.2 (running Guile 3.0)

Copyright (c) 1996--2023 by
  Han-Wen Nienhuys <[email protected]>
  Jan Nieuwenhuizen <[email protected]>
  and others.

This program is free software.  It is covered by the GNU General Public
License and you are welcome to change it and/or distribute copies of it
under certain conditions.  Invoke as `lilypond --warranty' for more
information.
  • VSLilyPond v1.7.3
@tamlyn
Copy link

tamlyn commented May 14, 2024

I have this same problem.

VSLilyPond
v1.7.3

LilyPond 
2.24.3 (running Guile 3.0)

VSCode
Version: 1.88.1
Commit: e170252f762678dec6ca2cc69aba1570769a5d39
Date: 2024-04-10T17:43:08.196Z (1 mo ago)
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants