Re: Frescobaldi: errors with 2.23.80

2022-11-01 Thread Jean Abou Samra

Le 01/11/2022 à 22:23, Knute Snortum a écrit :

(I'm hoping this is the best place to post Frescobaldi issues.)

I have found that Frescobaldi emits errors when in the Layout Control
view with Display control points checked.




Remember this?

https://github.com/frescobaldi/frescobaldi/issues/1378#issuecomment-879393706

Just don't use this Frescobaldi feature in 2.23.80, use the new
\vshape command instead. This feature is slated to be removed
when LilyPond 2.24 is released because \vshape obviates it.

Best,
Jean




Frescobaldi: errors with 2.23.80

2022-11-01 Thread Knute Snortum
(I'm hoping this is the best place to post Frescobaldi issues.)

I have found that Frescobaldi emits errors when in the Layout Control
view with Display control points checked.  The first error has to do
with the new way Guile 2 deals with the format function. This is my
proposed fix:

--- a/frescobaldi_app/layoutcontrol/debug-layout-options.ly
+++ b/frescobaldi_app/layoutcontrol/debug-layout-options.ly
@@ -50,8 +50,8 @@ debugLayoutOptions =
   ;; based on the current LilyPond version
   (lambda (filename)
 (if lily-version-new
-(ly:parser-include-string (format "\\include \"./~a\"" filename))
-(ly:parser-include-string parser (format "\\include
\"./~a\"" filename))
+(ly:parser-include-string (format #f "\\include \"./~a\""
filename))
+(ly:parser-include-string parser (format #f "\\include
\"./~a\"" filename))
 ;; include the optional custom file first.
 ;; This way it can for example define configuration variables.
 (if (ly:get-option 'debug-custom-file)

The format function now has #f as the first argument.  But this leads
to another error in Frescobaldi which I have attached.

Any 2.23.80 LilyPond source will cause the error in Frescobaldi, even:

\version "2.23.80"
{c' c' c' c'}

--
Knute Snortum
Processing `/tmp/frescobaldi-7wxtzsl7/tmpain8aecz/document.ly'
Parsing...[/home/knute/lilypond/lilypond-2.23.80/share/lilypond/2.23.80/ly/init.ly
Using `nederlands' note names...[[/home/knute/git-repos/frescobaldi/frescobaldi_app/layoutcontrol/debug-layout-options.ly[/home/knute/git-repos/frescobaldi/frescobaldi_app/layoutcontrol/./lilypond-version-predicates.ily][[/home/knute/git-repos/frescobaldi/frescobaldi_app/layoutcontrol/./display-control-points.ily
/home/knute/git-repos/frescobaldi/frescobaldi_app/layoutcontrol/./display-control-points.ily:58:2:
 error: Guile signaled an error for the expression beginning here
#
 (cond ((not (defined? 'debug-control-points-line-thickness))
/home/knute/lilypond/lilypond-2.23.80/share/lilypond/2.23.80/scm/lily/lily.scm  
15 #
In 
/home/lily/lilypond-2.23.80/release/binaries/lilypond/build/out/share/lilypond/current/scm/lily/lily.scm:
   876:16 14 (lilypond-main _)
905:4 13 (lilypond-all _)
In srfi/srfi-1.scm:
640:9 12 (for-each # ?)
In 
/home/lily/lilypond-2.23.80/release/binaries/lilypond/build/out/share/lilypond/current/scm/lily/lily.scm:
915:9 11 (_ "/tmp/frescobaldi-7wxtzsl7/tmpain8aecz/document.ly")
In ice-9/boot-9.scm:
    829:9 10 (catch ly-file-failed # ?)
In unknown file:
   9 (ly:parse-file "/tmp/frescobaldi-7wxtzsl7/tmpain8aecz/d?")
   8 (apply-smob/1 #)
In ice-9/eval.scm:
   721:20  7 (primitive-eval (cond ((not (defined? (quote #))) (?
In ice-9/psyntax.scm:
  1261:22  6 (expand-top-sequence ((cond ((not (defined? #)) (? _ ?)
In ice-9/boot-9.scm:
   222:17  5 (map1 (#))
In ice-9/psyntax.scm:
  1435:12  4 (_ _ _)
  1085:24  3 (expand-sequence (#) ?)
  1435:12  2 (dobody (#) ?)
In ice-9/boot-9.scm:
   751:25  1 (dispatch-exception 0 syntax-error (#f "definition i?" ?))
In unknown file:
   0 (apply-smob/1 # syntax-error ?)
Syntax error:
/home/knute/git-repos/frescobaldi/frescobaldi_app/layoutcontrol/./display-control-points.ily:59:8:
 definition in expression context, where definitions are not allowed, in form 
(define debug-control-points-line-thickness 0.05)
Exited with return code 1.


Frescobaldi and Python 3.11

2022-10-23 Thread Jean Abou Samra

Hi,

Frescobaldi is facing an issue that prevents it from launching
under Python 3.11 beta.

https://github.com/frescobaldi/frescobaldi/issues/1453

Python 3.11.0 will be released tomorrow, and it's a matter
of weeks until Fedora 37 is also released, with Python 3.11.0.
Thus the Frescobaldi Fedora package will be unusable soon
on current Fedora versions. (The upstream Fedora issue is
https://bugzilla.redhat.com/show_bug.cgi?id=2121995).

Of course, over time, other distributions will start switching
to Python 3.11 as well.

I'm just raising this significant issue here for visibility,
in case there are PyQt experts out there who have time
and interest to track down this bug.

Thanks,
Jean




Re: Frescobaldi preferences location (windows)

2022-10-18 Thread K. Blum

Hi Simon,

Am 18.10.2022 um 15:45 schrieb lilypond-user-requ...@gnu.org:


Can anyone point me in the direction of the configuration
file/directory/database on Windows?

Thanks, kind regards,
sb



in the Windows registry, there is a folder that seems to contain all
configuration settings:
Computer\HKEY_CURRENT_USER\SOFTWARE\frescobaldi

Probably it appears at a second location, a sub-path of
Computer\HKEY_USERS

As far as I know, one of them is just a copy of the other.

Cheers,
Klaus




Frescobaldi preferences location (windows)

2022-10-18 Thread Simon Bailey
Hi,

I'm in the horrible situation of having to setup a new (windows)
laptop, as the display on the old one has b0rked. So, I need to
reinstall Lilypond and Frescobaldi. I'd spent quite a bit of time
tweaking the Frescobaldi preferences to exactly how I wanted them, and
don't really want to have to go through all of that again.

Can anyone point me in the direction of the configuration
file/directory/database on Windows?

Thanks, kind regards,
sb

-- 
Do not meddle in the affairs of trombonists, for they are subtle and
quick to anger.



Re: Lilypond/Frescobaldi on Mac Os 12

2022-10-07 Thread Mark Mathias
On Thu, Oct 6, 2022 at 2:56 PM Jean Abou Samra  wrote:

> Le 06/10/2022 à 14:27, Mark Mathias a écrit :
> > I am introducing an orchestra teacher friend to Lilypond/Frescobaldi.
> > We tried to install Lilypond on a Mac Os 12 notebook, but got an error
> > message saying Lilypond wasn't compatible with that version. Our next
> > step will be to install it on her home PC, but at some point it would
> > be nice to be able to use her Mac at work with Lilypond.
> >
> > Is there anything we can do besides wait? If that is the case, does
> > anyone have an idea of how long the wait will be?
>
>
>
>
> LilyPond 2.22, the latest stable version, does not have official
> 64-bit binaries, but as Thomas said, you can get around this by
> installing from MacPorts.
>
> Alternatively, you could use the latest unstable version, 2.23.13,
> for which 64-bit binaries are provided officially. See
> https://lilypond.org/development.html
>
> The next stable release, LilyPond 2.24, will have 64-bit official
> binaries and is planned to come around mid-December if all goes
> well.
>
> Best,
> Jean
>


Thank you so much, Jean and Thomas!

I'm embarrassed to say, I read that info on the website, but didn't really
"get it" since I'm not a Mac person and neither is she. We'll explore the
MacPorts solution together.

Blessings!
Mark

Beautiful music is God's love made audible.


Re: Lilypond/Frescobaldi on Mac Os 12

2022-10-06 Thread Jean Abou Samra

Le 06/10/2022 à 14:27, Mark Mathias a écrit :
I am introducing an orchestra teacher friend to Lilypond/Frescobaldi. 
We tried to install Lilypond on a Mac Os 12 notebook, but got an error 
message saying Lilypond wasn't compatible with that version. Our next 
step will be to install it on her home PC, but at some point it would 
be nice to be able to use her Mac at work with Lilypond.


Is there anything we can do besides wait? If that is the case, does 
anyone have an idea of how long the wait will be?





LilyPond 2.22, the latest stable version, does not have official
64-bit binaries, but as Thomas said, you can get around this by
installing from MacPorts.

Alternatively, you could use the latest unstable version, 2.23.13,
for which 64-bit binaries are provided officially. See
https://lilypond.org/development.html

The next stable release, LilyPond 2.24, will have 64-bit official
binaries and is planned to come around mid-December if all goes
well.

Best,
Jean




Re: Lilypond/Frescobaldi on Mac Os 12

2022-10-06 Thread Thomas Scharkowski



> Am 06.10.2022 um 14:27 schrieb Mark Mathias :
> 
> I am introducing an orchestra teacher friend to Lilypond/Frescobaldi. We 
> tried to install Lilypond on a Mac Os 12 notebook, but got an error message 
> saying Lilypond wasn't compatible with that version. Our next step will be to 
> install it on her home PC, but at some point it would be nice to be able to 
> use her Mac at work with Lilypond. 
> 
> Is there anything we can do besides wait? If that is the case, does anyone 
> have an idea of how long the wait will be?
> 
> As always, thank you!
> Mark

Hi Mark,

on my MacBook M1 / macOS 12.6 both LilyPond and Frescobaldi run fine; I 
installed with MacPorts though.

Thomas


Lilypond/Frescobaldi on Mac Os 12

2022-10-06 Thread Mark Mathias
I am introducing an orchestra teacher friend to Lilypond/Frescobaldi. We
tried to install Lilypond on a Mac Os 12 notebook, but got an error message
saying Lilypond wasn't compatible with that version. Our next step will be
to install it on her home PC, but at some point it would be nice to be able
to use her Mac at work with Lilypond.

Is there anything we can do besides wait? If that is the case, does anyone
have an idea of how long the wait will be?

As always, thank you!
Mark


Re: Alternative to Frescobaldi

2022-09-04 Thread Andrew Bernard
I have compiled a set of step by step instructions for getting point and 
click going with gvim on Alma Linux. I'll start a new thread as this one 
is becoming longish.


Andrew




Re: Alternative to Frescobaldi

2022-09-04 Thread David Wright
TL;DR

You need to follow Usage, §4.1.1 for evince to call
lilypond-invoke-editor successfully.

On Sat 03 Sep 2022 at 08:49:11 (+0100), J Martin Rushton wrote:
> On Fri, 2022-09-02 at 19:53 -0500, David Wright wrote:
> > On Fri 02 Sep 2022 at 22:46:01 (+0100), J Martin Rushton wrote:
> > > On Fri, 2022-09-02 at 16:17 -0500, David Wright wrote:
> > > > On Fri 02 Sep 2022 at 21:43:25 (+0100), J Martin Rushton wrote:
> > > > > I've just spent another couple of hours clearing out previous
> > > > > attempts
> > > > > to get Frescobaldi running and attempting to sort out its
> > > > > dependency
> > > > > hell.
> > > > > 
> > > > > Is there any alternative to Frescobaldi?
> > > > 
> > > > An editor (emacs) + LilyPond + PDF viewer (xpdf).
> > > > (My choices in parentheses.)
> > > > 
> > > > > I'm running AlmaLinux 8.6 if that helps.
> > > > 
> > > > Not a great deal; does it mean that F~ isn't part of the
> > > > distribution?
> > > > 
> > > My preference is for vi, but yes, that's what I've been using for
> > > the
> > > last couple of years since F~ stopped working.  What I miss though
> > > is
> > > the back link from the score to the source, and the MIDI playback.
> > 
> > 0. Which PDF viewer, and which version of LP?
> 
> Evince
> $ lilypond -v
> GNU LilyPond 2.22.1
> ...
> 
> > 
> > 1. Does the PDF have the textedit URLs?
> >$ grep -a textedit foo.pdf
> >/URI(textedit:///tmp/restpos.ly:4:16:17)>>
> >  ………
> 
> Yes
> 
> > 2. Does the PDF viewer see them? Look for cursor to change as you
> >move over a notehead.
> 
> Yes
> 
> > 3. Run the PDF viewer from the commandline. Click on an active
> >notehead. What appears on the console? Anything like:
> >  lilypond-invoke-editor (GNU LilyPond) 2.22.0
> 
> "textedit:///BlowAwayTheMorningDew.ly:35:16:17"

Is than on the console, or in the evince window itself?

Because I don't use evince, and haven't set it up, I get
"Unable to open external link". But your message starts with
"textedit" rather than "lilypond-invoke-editor", which might
be a similar problem.

I think you need to set up the GNOME section in Usage §4.1.1.
Whether you also need the following section, "Extra
configuration for Evince", depends on whether Alma has
configured apparmor or not. Repost if you get permission errors.

> > 4. Is lilypond-invoke-editor defined?
> >$ which lilypond-invoke-editor
> >/usr/bin/lilypond-invoke-editor
> 
> $ command -v lilypond
> /opt/bin/lilypond
> $ ls -l /opt/bin/lilypond
> -rwxr-xr-x 1 root root 112 Feb 13  2022 /opt/bin/lilypond
> $ ls -l /opt/bin/lilypond-invoke-editor
> lrwxrwxrwx 1 root root 31 Feb 13  2022 /opt/bin/lilypond-invoke-editor
> -> /opt/bin/lilypond-wrapper.guile
> 
> 
> > 5. Can lilypond-invoke-editor open a file in an editor,
> >preferably the one you want?
> >$ lilypond-invoke-editor textedit:///tmp/foo.txt:2:4:6
> >/tmp/foo.txt is the full path to any old text file with
> >more than a couple of lines in it. The cursor should land
> >on the second line, four chars along.
> 
> $ lilypond-invoke-editor
> textedit:BlowAwayTheMorningDew.ly:2:4:6
> lilypond-invoke-editor (GNU LilyPond) 2.22.1
> sh: emacsclient: command not found
> sh: emacs: command not found

5a. Try:

$ LYEDITOR=gvim lilypond-invoke-editor 
textedit:BlowAwayTheMorningDew.ly:2:4:6

If that works, you need to set LYEDITOR in your startup file.
That might be as above or, in view of your answer below, to:

  LYEDITOR="vi --servername gvim"

Or start editing with:

$ vi --servername gvim BlowAwayTheMorningDew.ly

If vi isn't running when you point and click, you should just get an
extra message, like 'E247: no registered server named "GVIM":
Send failed. Trying to execute locally', which should be harmless.

(The benefit of starting vi yourself is that you get to control where
it runs, rather than it just popping up when you click the first time.)

If 5a doesn't work, substitute EDITOR for LYEDITOR. (The benefit of
LYEDITOR is that EDITOR usually has a meaning across the entire OS,
rather than just this application.)

> > How many of those steps work?
> > 
> > And at the other end of the process, are you starting vi as
> > a server, with something like:
> > 
> > $ gvim
> > $ vim --servername GVIM
> > $ vi --servername gvim
> > 
> > (letter-case unimportant), else you might see:
> > E247: no registered server named "GVIM": Send failed.
> 
> $ vi BlowAwayTheMorningDew.ly
> 
> FYI
> $ command -v vi
> /usr/bin/vi
> bash-4.4$ ls -l /usr/bin/vi
> -rwxr-xr-x 1 root root 1180368 Aug  2 17:57 /usr/bin/vi

Cheers,
David.



Re: Alternative to Frescobaldi

2022-09-04 Thread Adam M. Griggs
How about Elysium?

http://elysium.thsoft.hu/getting-started

I have never tried it, but it is suggested on the Lilypond website:

http://lilypond.org/easier-editing.html

On Sun, 4 Sep 2022, 17:52 Thomas Morley,  wrote:

> Am So., 4. Sept. 2022 um 08:51 Uhr schrieb Silvain Dupertuis
> :
> >
> > As far as editing music sheet is concerned,Io remember having been using
> jEdit, a text editor written in Java, with a Lilypond extension displaying
> the PDF with links to the Lilypond code like Frescobaldi does it.
> >
> > That was a long time ago, maybe before I even had Frescobaldi, but it
> would be worthwhile exploring...
> >
> > Silvain Dupertuis
>
> I'm still using jEdit, though the LilyPondTool plugin is not
> maintained for a decade:
>
> http://lilypondtool.blogspot.com/2012/09/lilypondtool-2149-release-last-for.html
>
> Personally I don't care about it, though therefore I'd not recommend
> jEdit for starters.
>
> Cheers,
>   Harm
>
>


Re: Alternative to Frescobaldi

2022-09-04 Thread Thomas Morley
Am So., 4. Sept. 2022 um 08:51 Uhr schrieb Silvain Dupertuis
:
>
> As far as editing music sheet is concerned,Io remember having been using 
> jEdit, a text editor written in Java, with a Lilypond extension displaying 
> the PDF with links to the Lilypond code like Frescobaldi does it.
>
> That was a long time ago, maybe before I even had Frescobaldi, but it would 
> be worthwhile exploring...
>
> Silvain Dupertuis

I'm still using jEdit, though the LilyPondTool plugin is not
maintained for a decade:
http://lilypondtool.blogspot.com/2012/09/lilypondtool-2149-release-last-for.html

Personally I don't care about it, though therefore I'd not recommend
jEdit for starters.

Cheers,
  Harm



Re: Alternative to Frescobaldi

2022-09-04 Thread Silvain Dupertuis
As far as editing music sheet is concerned,Io remember having been using jEdit, a text 
editor written in Java, with a Lilypond extension displaying the PDF with links to the 
Lilypond code like Frescobaldi does it.


That was a long time ago, maybe before I even had Frescobaldi, but it would be worthwhile 
exploring...


Silvain Dupertuis

.



J Martin Rushton MBCS



--
Silvain Dupertuis
Route de Lausanne 335
1293 Bellevue (Switzerland)
tél. +41-(0)22-774.20.67
portable +41-(0)79-604.87.52
web: silvain-dupertuis.org <https://perso.silvain-dupertuis.org>

Re: Alternative to Frescobaldi

2022-09-03 Thread J Martin Rushton
The system does produce sound (CD/DVD, YouTube, annoying "ta-da" alerts
etc.  I'll have to experiment with fluidsynth tomorrow evening,
unfortunately I'm a bit tied up until then.
On Sat, 2022-09-03 at 15:06 -0500, Guy Stalnaker wrote:
> Does the system produce sound (so you know sound drivers are
> working). 
> If yes, does fluidsynth produce sound output if you use it to play a
> midi file from a to terminal (you have to provide cli options for
> output device, eg ALSA, and soundfont, full path). 
> 
> If yes, can you start fluidsynth in server mode and, optionally,
> specify the name (or perhaps use QSynth for this), or use #> ps -ef
> to see the fluidsynth process id, then check in Frescobaldi if that
> process ID/name shows in the midi preferences config? 
> 
> It's flyidsynth that converts midi to sound. If I remember rightly
> all Frescobaldi does is pass the midi data to fluidsynth when it's
> running in server mode.
> 
> But you can probably play midi files with timiditu, playmidi, etc
> even if the above won't work.
> 
> Hopefully.
> 
> On Sat, Sep 3, 2022, 12:14 PM J Martin Rushton <
> martinrushto...@btinternet.com> wrote:
> > On Sun, 2022-09-04 at 00:52 +1000, Andrew Bernard wrote:
> > 
> > > Using Alma Linux 9 I can get Frescobaldi running with flatpak. I
> > 
> > > just 
> > 
> > > installed it - no messing around. See attached image.
> > 
> > > 
> > 
> > > Have not tried Alma Linux 8.6.
> > 
> > > 
> > 
> > > I have not hammered it to test but the fact that it works is
> > 
> > > something. 
> > 
> > > You can seen in the images there are some errors on the terminal.
> > 
> > > But 
> > 
> > > I'd rather fiddle with source to address those than build F from
> > 
> > > source, 
> > 
> > > which is still ridiculously hard with so many python stumbling
> > 
> > > blocks, 
> > 
> > > even when using Qt5.
> > 
> > > 
> > 
> > > Andrew
> > 
> > > 
> > 
> > Well that seems to work now after a fashion.  I don't know if it
> > was
> > 
> > the 52 packages I installed via dnf, two packages via pip3 (pip
> > doesn't
> > 
> > work) or linking qmake -> qmake-qt5.  MIDI still isn't producing
> > any
> > 
> > sound, but that may well be local configuration.
> > 
> > 
> > 
> > Anyhow, thanks very much.  I've added it to the menu system and it
> > runs
> > 
> > up happily without a VT.  Just in time for a competition I've tried
> > for
> > 
> > in the past, but didn't manage to get a decent score last year.
> > 
> > 
> > 
> > Kind regards,
> > 
> > Martin
> > 
> > 
> > 
-- 
J Martin Rushton MBCS


Re: Alternative to Frescobaldi

2022-09-03 Thread Guy Stalnaker
Does the system produce sound (so you know sound drivers are working).

If yes, does fluidsynth produce sound output if you use it to play a midi
file from a to terminal (you have to provide cli options for output device,
eg ALSA, and soundfont, full path).

If yes, can you start fluidsynth in server mode and, optionally, specify
the name (or perhaps use QSynth for this), or use #> ps -ef to see the
fluidsynth process id, then check in Frescobaldi if that process ID/name
shows in the midi preferences config?

It's flyidsynth that converts midi to sound. If I remember rightly all
Frescobaldi does is pass the midi data to fluidsynth when it's running in
server mode.

But you can probably play midi files with timiditu, playmidi, etc even if
the above won't work.

Hopefully.

On Sat, Sep 3, 2022, 12:14 PM J Martin Rushton <
martinrushto...@btinternet.com> wrote:

> On Sun, 2022-09-04 at 00:52 +1000, Andrew Bernard wrote:
> > Using Alma Linux 9 I can get Frescobaldi running with flatpak. I
> > just
> > installed it - no messing around. See attached image.
> >
> > Have not tried Alma Linux 8.6.
> >
> > I have not hammered it to test but the fact that it works is
> > something.
> > You can seen in the images there are some errors on the terminal.
> > But
> > I'd rather fiddle with source to address those than build F from
> > source,
> > which is still ridiculously hard with so many python stumbling
> > blocks,
> > even when using Qt5.
> >
> > Andrew
> >
> Well that seems to work now after a fashion.  I don't know if it was
> the 52 packages I installed via dnf, two packages via pip3 (pip doesn't
> work) or linking qmake -> qmake-qt5.  MIDI still isn't producing any
> sound, but that may well be local configuration.
>
> Anyhow, thanks very much.  I've added it to the menu system and it runs
> up happily without a VT.  Just in time for a competition I've tried for
> in the past, but didn't manage to get a decent score last year.
>
> Kind regards,
> Martin
>
> --
> J Martin Rushton MBCS
>
>
>


Re: Alternative to Frescobaldi

2022-09-03 Thread J Martin Rushton
On Sun, 2022-09-04 at 00:52 +1000, Andrew Bernard wrote:
> Using Alma Linux 9 I can get Frescobaldi running with flatpak. I
> just 
> installed it - no messing around. See attached image.
> 
> Have not tried Alma Linux 8.6.
> 
> I have not hammered it to test but the fact that it works is
> something. 
> You can seen in the images there are some errors on the terminal.
> But 
> I'd rather fiddle with source to address those than build F from
> source, 
> which is still ridiculously hard with so many python stumbling
> blocks, 
> even when using Qt5.
> 
> Andrew
> 
Well that seems to work now after a fashion.  I don't know if it was
the 52 packages I installed via dnf, two packages via pip3 (pip doesn't
work) or linking qmake -> qmake-qt5.  MIDI still isn't producing any
sound, but that may well be local configuration.

Anyhow, thanks very much.  I've added it to the menu system and it runs
up happily without a VT.  Just in time for a competition I've tried for
in the past, but didn't manage to get a decent score last year.

Kind regards,
Martin

-- 
J Martin Rushton MBCS




Re: Alternative to Frescobaldi

2022-09-03 Thread J Martin Rushton
On Sat, 2022-09-03 at 06:50 +0200, Jean Abou Samra wrote:
> 
> Le 02/09/2022 à 22:43, J Martin Rushton a écrit :
> > I've just spent another couple of hours clearing out previous
> > attempts
> > to get Frescobaldi running and attempting to sort out its
> > dependency
> > hell.
> > [...]
> > I'm running AlmaLinux 8.6 if that helps.
> 
> Would it work for you to us the Frescobaldi Flatpak package?
> 
> https://flathub.org/apps/details/org.frescobaldi.Frescobaldi

I've tried the flatpack in the past and didn't get anywhere with it.

-- 
J Martin Rushton MBCS




Re: Alternative to Frescobaldi

2022-09-03 Thread Andrew Bernard
I have just discovered from a query in the Google Groups Frescobaldi 
group that Frescobaldi 3 uses Qt5. In my stupidity I was reading the 
frescobaldi.org download and build instructions for Frescobaldi 2 (may 
be better if that were deleted by now).


Therefore, I will start anew!

Andrew





Re: Alternative to Frescobaldi

2022-09-03 Thread Davide Liessi
Dear all,

I answered elsewhere
(https://github.com/frescobaldi/frescobaldi/issues/1454,
https://groups.google.com/g/frescobaldi/c/dUQPO85jUL0), but for the
sake of completeness:

Il giorno sab 3 set 2022 alle ore 03:24 Andrew Bernard
 ha scritto:
> Part of the process to install PyQt4
> is to install enough of Qt4 to get qmake and that's a nightmare. It's
> absurdly complicated. And Qt4 has been obsoleted anyway, making this all
> that much harder.

Frescobaldi moved to Qt5 with version 3.0.0 (released 17 February 2017).
It currently does not support Qt6.

Best wishes.
Davide



Re: Alternative to Frescobaldi

2022-09-03 Thread Andrew Bernard

Fair enough.

I spent all afternoon on it. I am utterly unable to get Qt4 going on 
Alma Linux despite decades of being a UNIX programmer. I think it's 
futile. I conisdered doing the port of Frescobaldi to Qt6 but that is a 
large job, and besides, may destabilise other peoples installs


A few years ago I wrote a step by step guide to getting gvim working 
with Lilypond on Ubuntu. If you search the mailing list you will find 
it. It may be useful to you and easily adaptable. There's really only 
one way to do it, and some of the steps are given in this thread by 
others. As an aside, I find mupdf to be more lightweight and easier to 
get going than evince.


Alma Linux is great, but probably not a good platform for Frescobaldi at 
this point.


Andrew


On 3/09/2022 5:54 pm, J Martin Rushton wrote:

On Sat, 2022-09-03 at 11:23 +1000, Andrew Bernard wrote:

How committed are you to Alma Linux? At this point I would recommend

Pretty committed.  I




Re: Alternative to Frescobaldi

2022-09-03 Thread J Martin Rushton
On Sat, 2022-09-03 at 11:23 +1000, Andrew Bernard wrote:
> Well well. Alma Linux is indeed a fine distro, but now I agree with
> you 
> about dependencies on this linux. Part of the process to install
> PyQt4 
> is to install enough of Qt4 to get qmake and that's a nightmare.
> It's 
> absurdly complicated. And Qt4 has been obsoleted anyway, making this
> all 
> that much harder.
> 
> How committed are you to Alma Linux? At this point I would recommend
> a 
> distro that you don't have to fight with, such as Ubuntu, which has 
> frescobaldi in the repo anyway.
> 
> If you cannot or will not change from Alma Linux I can push on. Do
> let 
> me know.
> 
> Andrew
> 

Pretty committed.  I ran CentOS on this machine for several years until
it was killed off, then switched to Alma.  It runs as the home server
(DNS, DHCP, web, OwnCloud, Dokuwiki, disk farm and backups) so
switching to another distro would be a right royal pain for the whole
family.  I also prefer the stability of a enterprise distro rather than
the vagaries of a rolling one.

> 
> On 3/09/2022 9:37 am, Andrew Bernard wrote:
> > I've come late to this thread, but if you are on Alma Linux I'll
> > run a 
> > VM up and figure this for you. Don''t despair.
> > 
> > I'm not aware of any 'dependency hell' on several other Linux
> > distros, 
> > so let me sort this out and post a set of instructions how to
> > install it.
> > 
-- 
J Martin Rushton MBCS




Re: Alternative to Frescobaldi

2022-09-03 Thread J Martin Rushton
On Fri, 2022-09-02 at 19:53 -0500, David Wright wrote:
> On Fri 02 Sep 2022 at 22:46:01 (+0100), J Martin Rushton wrote:
> > On Fri, 2022-09-02 at 16:17 -0500, David Wright wrote:
> > > On Fri 02 Sep 2022 at 21:43:25 (+0100), J Martin Rushton wrote:
> > > > I've just spent another couple of hours clearing out previous
> > > > attempts
> > > > to get Frescobaldi running and attempting to sort out its
> > > > dependency
> > > > hell.
> > > > 
> > > > Is there any alternative to Frescobaldi?
> > > 
> > > An editor (emacs) + LilyPond + PDF viewer (xpdf).
> > > (My choices in parentheses.)
> > > 
> > > > I'm running AlmaLinux 8.6 if that helps.
> > > 
> > > Not a great deal; does it mean that F~ isn't part of the
> > > distribution?
> > > 
> > My preference is for vi, but yes, that's what I've been using for
> > the
> > last couple of years since F~ stopped working.  What I miss though
> > is
> > the back link from the score to the source, and the MIDI playback.
> 
> 0. Which PDF viewer, and which version of LP?

Evince
$ lilypond -v
GNU LilyPond 2.22.1
...

> 
> 1. Does the PDF have the textedit URLs?
>$ grep -a textedit foo.pdf
>/URI(textedit:///tmp/restpos.ly:4:16:17)>>
>  ………

Yes

> 2. Does the PDF viewer see them? Look for cursor to change as you
>move over a notehead.

Yes

> 3. Run the PDF viewer from the commandline. Click on an active
>notehead. What appears on the console? Anything like:
>  lilypond-invoke-editor (GNU LilyPond) 2.22.0

"textedit:///BlowAwayTheMorningDew.ly:35:16:17"

> 4. Is lilypond-invoke-editor defined?
>$ which lilypond-invoke-editor
>/usr/bin/lilypond-invoke-editor

$ command -v lilypond
/opt/bin/lilypond
$ ls -l /opt/bin/lilypond
-rwxr-xr-x 1 root root 112 Feb 13  2022 /opt/bin/lilypond
$ ls -l /opt/bin/lilypond-invoke-editor
lrwxrwxrwx 1 root root 31 Feb 13  2022 /opt/bin/lilypond-invoke-editor
-> /opt/bin/lilypond-wrapper.guile


> 5. Can lilypond-invoke-editor open a file in an editor,
>preferably the one you want?
>$ lilypond-invoke-editor textedit:///tmp/foo.txt:2:4:6
>/tmp/foo.txt is the full path to any old text file with
>more than a couple of lines in it. The cursor should land
>on the second line, four chars along.

$ lilypond-invoke-editor
textedit:BlowAwayTheMorningDew.ly:2:4:6
lilypond-invoke-editor (GNU LilyPond) 2.22.1
sh: emacsclient: command not found
sh: emacs: command not found

> How many of those steps work?
> 
> And at the other end of the process, are you starting vi as
> a server, with something like:
> 
> $ gvim
> $ vim --servername GVIM
> $ vi --servername gvim
> 
> (letter-case unimportant), else you might see:
> E247: no registered server named "GVIM": Send failed.

$ vi BlowAwayTheMorningDew.ly

FYI
$ command -v vi
/usr/bin/vi
bash-4.4$ ls -l /usr/bin/vi
-rwxr-xr-x 1 root root 1180368 Aug  2 17:57 /usr/bin/vi

> Cheers,
> David.
-- 
J Martin Rushton MBCS




Re: Installing Frescobaldi 3.1.3 on Mac with MacOS 12.1

2022-09-02 Thread Michael Hendry
On 2 Sep 2022, at 17:29, Knute Snortum  wrote:
> 
> On Fri, Sep 2, 2022 at 12:30 AM Michael Hendry  
> wrote:
>> 
>> Thanks to Omer and Jean for getting me back on the Frescobaldi road again.
>> 
>> I’m now able to open, edit and compile lilypond source documents again, but 
>> I’m getting a lot of warnings about deprecated code which I’d like to get 
>> rid of.
>> 
>> When I attempt to use ‘convert.ly’ (via Frescobaldi’s Tools menu) to update 
>> an affected file, the original lilypond version comes up in the “From 
>> version” box, but the “To version” box is blank.
>> 
>> If I type 2.23.12 in the "To version” box I get the following...
>> 
>> Traceback (most recent call last):
>>  File 
>> "/Applications/Frescobaldi.app/Contents/Resources/lib/python3.9/frescobaldi_app/convert_ly.py",
>>  line 217, in run
>> AttributeError: 'NoneType' object has no attribute ‘toolcommand'
>> 
>> …which means nothing to me.
>> 
>> Any suggestions?
> 
> Just a guess, but do you have LilyPond 2.23.12 set up in Frescobaldi?
> That is, is it in the preferences?

Yes, it’s the only version I have set up, as...

/Users/michaelhendry/lilypond-2.23.12/bin/lilypond

…in the “Lilypond versions to use” section.

Michael





Re: Alternative to Frescobaldi

2022-09-02 Thread Jean Abou Samra




Le 02/09/2022 à 22:43, J Martin Rushton a écrit :

I've just spent another couple of hours clearing out previous attempts
to get Frescobaldi running and attempting to sort out its dependency
hell.
[...]
I'm running AlmaLinux 8.6 if that helps.



Would it work for you to us the Frescobaldi Flatpak package?

https://flathub.org/apps/details/org.frescobaldi.Frescobaldi



Re: Alternative to Frescobaldi

2022-09-02 Thread Andrew Bernard
Well well. Alma Linux is indeed a fine distro, but now I agree with you 
about dependencies on this linux. Part of the process to install PyQt4 
is to install enough of Qt4 to get qmake and that's a nightmare. It's 
absurdly complicated. And Qt4 has been obsoleted anyway, making this all 
that much harder.


How committed are you to Alma Linux? At this point I would recommend a 
distro that you don't have to fight with, such as Ubuntu, which has 
frescobaldi in the repo anyway.


If you cannot or will not change from Alma Linux I can push on. Do let 
me know.


Andrew


On 3/09/2022 9:37 am, Andrew Bernard wrote:
I've come late to this thread, but if you are on Alma Linux I'll run a 
VM up and figure this for you. Don''t despair.


I'm not aware of any 'dependency hell' on several other Linux distros, 
so let me sort this out and post a set of instructions how to install it.






Re: Alternative to Frescobaldi

2022-09-02 Thread David Wright
On Fri 02 Sep 2022 at 22:46:01 (+0100), J Martin Rushton wrote:
> On Fri, 2022-09-02 at 16:17 -0500, David Wright wrote:
> > On Fri 02 Sep 2022 at 21:43:25 (+0100), J Martin Rushton wrote:
> > > I've just spent another couple of hours clearing out previous
> > > attempts
> > > to get Frescobaldi running and attempting to sort out its
> > > dependency
> > > hell.
> > > 
> > > Is there any alternative to Frescobaldi?
> > 
> > An editor (emacs) + LilyPond + PDF viewer (xpdf).
> > (My choices in parentheses.)
> > 
> > > I'm running AlmaLinux 8.6 if that helps.
> > 
> > Not a great deal; does it mean that F~ isn't part of the
> > distribution?
> > 
> My preference is for vi, but yes, that's what I've been using for the
> last couple of years since F~ stopped working.  What I miss though is
> the back link from the score to the source, and the MIDI playback.

0. Which PDF viewer, and which version of LP?

1. Does the PDF have the textedit URLs?
   $ grep -a textedit foo.pdf
   /URI(textedit:///tmp/restpos.ly:4:16:17)>>
 ………

2. Does the PDF viewer see them? Look for cursor to change as you
   move over a notehead.

3. Run the PDF viewer from the commandline. Click on an active
   notehead. What appears on the console? Anything like:
 lilypond-invoke-editor (GNU LilyPond) 2.22.0

4. Is lilypond-invoke-editor defined?
   $ which lilypond-invoke-editor
   /usr/bin/lilypond-invoke-editor

5. Can lilypond-invoke-editor open a file in an editor,
   preferably the one you want?
   $ lilypond-invoke-editor textedit:///tmp/foo.txt:2:4:6
   /tmp/foo.txt is the full path to any old text file with
   more than a couple of lines in it. The cursor should land
   on the second line, four chars along.

How many of those steps work?

And at the other end of the process, are you starting vi as
a server, with something like:

$ gvim
$ vim --servername GVIM
$ vi --servername gvim

(letter-case unimportant), else you might see:
E247: no registered server named "GVIM": Send failed.

Cheers,
David.



Re: Alternative to Frescobaldi

2022-09-02 Thread Andrew Bernard
I've come late to this thread, but if you are on Alma Linux I'll run a 
VM up and figure this for you. Don''t despair.


I'm not aware of any 'dependency hell' on several other Linux distros, 
so let me sort this out and post a set of instructions how to install it.



Andrew


On 3/09/2022 6:43 am, J Martin Rushton wrote:

I've just spent another couple of hours clearing out previous attempts
to get Frescobaldi running and attempting to sort out its dependency
hell.

Is there any alternative to Frescobaldi?

I'm running AlmaLinux 8.6 if that helps.





Re: Alternative to Frescobaldi

2022-09-02 Thread Jacques Menu
Hello folks,

> Le 2 sept. 2022 à 23:46, J Martin Rushton  a 
> écrit :
> 
> On Fri, 2022-09-02 at 16:17 -0500, David Wright wrote:
>> On Fri 02 Sep 2022 at 21:43:25 (+0100), J Martin Rushton wrote:
>>> I've just spent another couple of hours clearing out previous
>>> attempts
>>> to get Frescobaldi running and attempting to sort out its
>>> dependency
>>> hell.
>>> 
>>> Is there any alternative to Frescobaldi?
>> 
>> An editor (emacs) + LilyPond + PDF viewer (xpdf).
>> (My choices in parentheses.)
>> 
>>> I'm running AlmaLinux 8.6 if that helps.
>> 
>> Not a great deal; does it mean that F~ isn't part of the
>> distribution?
>> 
>> Cheers,
>> David.
> My preference is for vi, but yes, that's what I've been using for the
> last couple of years since F~ stopped working.  What I miss though is
> the back link from the score to the source, and the MIDI playback.

Is it known why F~ stopped working and wasn’t fixed?

JM




Re: Alternative to Frescobaldi

2022-09-02 Thread J Martin Rushton
On Fri, 2022-09-02 at 16:17 -0500, David Wright wrote:
> On Fri 02 Sep 2022 at 21:43:25 (+0100), J Martin Rushton wrote:
> > I've just spent another couple of hours clearing out previous
> > attempts
> > to get Frescobaldi running and attempting to sort out its
> > dependency
> > hell.
> > 
> > Is there any alternative to Frescobaldi?
> 
> An editor (emacs) + LilyPond + PDF viewer (xpdf).
> (My choices in parentheses.)
> 
> > I'm running AlmaLinux 8.6 if that helps.
> 
> Not a great deal; does it mean that F~ isn't part of the
> distribution?
> 
> Cheers,
> David.
My preference is for vi, but yes, that's what I've been using for the
last couple of years since F~ stopped working.  What I miss though is
the back link from the score to the source, and the MIDI playback.

-- 
J Martin Rushton MBCS




Re: Alternative to Frescobaldi

2022-09-02 Thread David Wright
On Fri 02 Sep 2022 at 21:43:25 (+0100), J Martin Rushton wrote:
> I've just spent another couple of hours clearing out previous attempts
> to get Frescobaldi running and attempting to sort out its dependency
> hell.
> 
> Is there any alternative to Frescobaldi?

An editor (emacs) + LilyPond + PDF viewer (xpdf).
(My choices in parentheses.)

> I'm running AlmaLinux 8.6 if that helps.

Not a great deal; does it mean that F~ isn't part of the distribution?

Cheers,
David.



Re: Alternative to Frescobaldi

2022-09-02 Thread Valentin Petzel
Hi Martin,

that depends on what you consider an alternative to Frescobaldi. Lilypond can 
be used with any text editor. There is a quite powerful Lilypond module for 
VSCode, maybe that is something along the lines of what you are looking for?

Cheers,
Valentin

Am Freitag, 2. September 2022, 22:43:25 CEST schrieb J Martin Rushton:
> I've just spent another couple of hours clearing out previous attempts
> to get Frescobaldi running and attempting to sort out its dependency
> hell.
> 
> Is there any alternative to Frescobaldi?
> 
> I'm running AlmaLinux 8.6 if that helps.



signature.asc
Description: This is a digitally signed message part.


Alternative to Frescobaldi

2022-09-02 Thread J Martin Rushton
I've just spent another couple of hours clearing out previous attempts
to get Frescobaldi running and attempting to sort out its dependency
hell.

Is there any alternative to Frescobaldi?

I'm running AlmaLinux 8.6 if that helps.

-- 
J Martin Rushton MBCS




Re: Installing Frescobaldi 3.1.3 on Mac with MacOS 12.1

2022-09-02 Thread Knute Snortum
On Fri, Sep 2, 2022 at 12:30 AM Michael Hendry  wrote:
>
> Thanks to Omer and Jean for getting me back on the Frescobaldi road again.
>
> I’m now able to open, edit and compile lilypond source documents again, but 
> I’m getting a lot of warnings about deprecated code which I’d like to get rid 
> of.
>
> When I attempt to use ‘convert.ly’ (via Frescobaldi’s Tools menu) to update 
> an affected file, the original lilypond version comes up in the “From 
> version” box, but the “To version” box is blank.
>
> If I type 2.23.12 in the "To version” box I get the following...
>
>  Traceback (most recent call last):
>   File 
> "/Applications/Frescobaldi.app/Contents/Resources/lib/python3.9/frescobaldi_app/convert_ly.py",
>  line 217, in run
> AttributeError: 'NoneType' object has no attribute ‘toolcommand'
>
> …which means nothing to me.
>
> Any suggestions?

Just a guess, but do you have LilyPond 2.23.12 set up in Frescobaldi?
That is, is it in the preferences?

--
Knute Snortum



Re: Installing Frescobaldi 3.1.3 on Mac with MacOS 12.1

2022-09-02 Thread Michael Hendry
Thanks to Omer and Jean for getting me back on the Frescobaldi road again.

I’m now able to open, edit and compile lilypond source documents again, but I’m 
getting a lot of warnings about deprecated code which I’d like to get rid of.

When I attempt to use ‘convert.ly’ (via Frescobaldi’s Tools menu) to update an 
affected file, the original lilypond version comes up in the “From version” 
box, but the “To version” box is blank.

If I type 2.23.12 in the "To version” box I get the following...

 Traceback (most recent call last):
  File 
"/Applications/Frescobaldi.app/Contents/Resources/lib/python3.9/frescobaldi_app/convert_ly.py",
 line 217, in run
AttributeError: 'NoneType' object has no attribute ‘toolcommand'

…which means nothing to me.

Any suggestions?

Regards,

Michael





Re: Configuration problems following new installation of Frescobaldi

2022-08-30 Thread Jean Abou Samra




Le 30/08/2022 à 16:40, David Wright a écrit :

On Tue 30 Aug 2022 at 09:27:03 (+0200), Jean Abou Samra wrote:


   
 
   
   
 Le 30/08/2022 à 08:56, Michael Hendry a
   écrit :
 
 
   I stopped using Frescobaldi and 
Lilypond at the beginning of the Covid pandemic and since then I have bought a new iMac with Monterey and 
transferred files across,


[ … etc … ]

Just a note, if you're unaware, that your valuable contributions
to lilypond-user are no longer available to people who rely on
the text digest emails, now that you post HTML only (this morning,
your time). They will receive, eg:

--

   Message: 7
   Date: Tue, 30 Aug 2022 09:27:03 +0200
   From: Jean Abou Samra 
   To: Michael Hendry , LilyPond User
   
   Subject: Re: Configuration problems following new installation of
   Frescobaldi
   Message-ID: <3da23e00-7994-691a-0b35-2b0c624f2...@abou-samra.fr>
   Content-Type: text/plain; charset="utf-8"

   An HTML attachment was scrubbed...
   URL: 
<https://lists.gnu.org/archive/html/lilypond-user/attachments/20220830/97c36d37/attachment.htm>

--

They do get to see the sections that other people quote.



Oops, thanks for letting me know. I had switched my mailer to HTML for 
one message that needed it, and forgot to switch it back. It should be 
fine again now.




Re: Configuration problems following new installation of Frescobaldi

2022-08-30 Thread David Wright
On Tue 30 Aug 2022 at 09:27:03 (+0200), Jean Abou Samra wrote:
> 
>   
> 
>   
>   
> Le 30/08/2022 à 08:56, Michael Hendry a
>   écrit :
> 
>cite="mid:f07d2e1c-86fb-4b51-8cb9-dff22577c...@gmail.com">
>   I stopped using Frescobaldi and 
> Lilypond at the beginning of the Covid pandemic and since then I have bought 
> a new iMac with Monterey and transferred files across,
> 

[ … etc … ]

Just a note, if you're unaware, that your valuable contributions
to lilypond-user are no longer available to people who rely on
the text digest emails, now that you post HTML only (this morning,
your time). They will receive, eg:

--

  Message: 7
  Date: Tue, 30 Aug 2022 09:27:03 +0200
  From: Jean Abou Samra 
  To: Michael Hendry , LilyPond User
  
  Subject: Re: Configuration problems following new installation of
  Frescobaldi
  Message-ID: <3da23e00-7994-691a-0b35-2b0c624f2...@abou-samra.fr>
  Content-Type: text/plain; charset="utf-8"

  An HTML attachment was scrubbed...
  URL: 
<https://lists.gnu.org/archive/html/lilypond-user/attachments/20220830/97c36d37/attachment.htm>

--

They do get to see the sections that other people quote.

Cheers,
David.



Re: Configuration problems following new installation of Frescobaldi

2022-08-30 Thread Jean Abou Samra

  
  

  

Le 30/08/2022 à
12:10, Michael Hendry a écrit :
  

  On 30 Aug 2022, at 08:27, Jean Abou Samra  wrote:

  

Le 30/08/2022 à 08:56, Michael Hendry a écrit :


   
I stopped using Frescobaldi and Lilypond at the beginning of the Covid pandemic and since then I have bought a new iMac with Monterey and transferred files across,

Trying to get back up and running, I’ve installed Frescobaldi 3.1.3, which appears to be functioning perfectly, but I get these error reports:

 Starting lilypond 2.23.3 [dorothy.ly]...
Fontconfig error: "/Users/michaelhendry/.config/fontconfig/fonts.conf", line 2: XML or text declaration not at start of entity
Fontconfig error: "/Users/michaelhendry/.config/fontconfig/fonts.conf", line 2: XML or text declaration not at start of entity
Fontconfig error: "/Users/michaelhendry/.config/fontconfig/fonts.conf", line 2: XML or text declaration not at start of entity



  
  
Thanks, Jean.

I know about dot-files, but overlooked the fact that in the Mac Finder directories are displayed before filenames, and I was looking among the dot-files!

fonts.conf reads:





 




  


I am also getting similar warnings on Fedora with LilyPond 2.22.2 (“unknown
element reset-dirs”). They seem to be harmless. Apparently, the system's font
configuration file for Fontconfig uses features that were not supported in
the older version of Fontconfig that ships with LilyPond. For me, these
warnings don't appear in 2.23.12, which is also the latest (unstable) version.
Could you try upgrading to 2.23.12?




   
Processing `/Users/michaelhendry/git_stuff/lilyjazz/examples/dorothy.ly'
Parsing...
Interpreting music...[8][16]
fatal error: cannot find font: `lilyjazz-11'
Exited with return code 1.

when trying to compile the sample file “dorothy,ly”. Similar errors occur when I try to compile some of my existing Jazz leadsheets.





That means you didn't install the LilyJazz font. It doesn't
come with LilyPond, you had certainly installled it on your
previous computer. Download it from here:

https://github.com/OpenLilyPondFonts/lilyjazz

(use Code > Download ZIP).

How to install the files is described in the file
LilyPond-Fonts-Installation-And-Usage.txt that you will find in
your download.

  
  
I found I don’t have /Applications/Lilypond.app directory. My copy of the lilypond executable was compiled by MacPorts.

Googling for a way to create an App, I found:

https://macappstore.org/lilypond/

And having gone through the whole process I’ve ended up with a 32-bit executable, which won’t work in the 64-bit-only Monterey environment.


  
  
  No need to have a LilyPond.app! This path
  /Applications/LilyPond.app is
  just what you have if you download LilyPond 2.22 from the official
  website,
  but any installation of LilyPond (not necessarily a .app installed
  through a
  .dmg) has a directory for fonts. You could just as well install
  the font
  in the path where MacPorts installed LilyPond (not sure where that
  is exactly,
  I don't know MacPorts well).
  
  


  I haven’t found a way to force Homebrew to compile a 64-bit executable so far. Is there a ready-built .DMG image file for version 2.23.12 that I can download?



  
  See the official download page:
  
  https://lilypond.org/development.html
  
  It's not a .dmg, but in fact simpler. The learning manual has a
  tutorial
  on installing it (it's the same link as in the other thread to see
  screenshots
  of how to tell Apple that it's malware-free):
  
https://lilypond.org/doc/v2.23/Documentation/learning/graphical-setup-under-macos
  
  
  

  




Re: Configuration problems following new installation of Frescobaldi

2022-08-30 Thread Michael Hendry
On 30 Aug 2022, at 08:27, Jean Abou Samra  wrote:
> 
> Le 30/08/2022 à 08:56, Michael Hendry a écrit :
>>  
>> I stopped using Frescobaldi and Lilypond at the beginning of the Covid 
>> pandemic and since then I have bought a new iMac with Monterey and 
>> transferred files across,
>> 
>> Trying to get back up and running, I’ve installed Frescobaldi 3.1.3, which 
>> appears to be functioning perfectly, but I get these error reports:
>> 
>>  Starting lilypond 2.23.3 [dorothy.ly]...
>> Fontconfig error: "/Users/michaelhendry/.config/fontconfig/fonts.conf", line 
>> 2: XML or text declaration not at start of entity
>> Fontconfig error: "/Users/michaelhendry/.config/fontconfig/fonts.conf", line 
>> 2: XML or text declaration not at start of entity
>> Fontconfig error: "/Users/michaelhendry/.config/fontconfig/fonts.conf", line 
>> 2: XML or text declaration not at start of entity
>> 

Thanks, Jean.

I know about dot-files, but overlooked the fact that in the Mac Finder 
directories are displayed before filenames, and I was looking among the 
dot-files!

fonts.conf reads:





 



> 
> 
> I am also getting similar warnings on Fedora with LilyPond 2.22.2 (“unknown
> element reset-dirs”). They seem to be harmless. Apparently, the system's font
> configuration file for Fontconfig uses features that were not supported in
> the older version of Fontconfig that ships with LilyPond. For me, these
> warnings don't appear in 2.23.12, which is also the latest (unstable) version.
> Could you try upgrading to 2.23.12?
> 
> 
>>  
>> Processing `/Users/michaelhendry/git_stuff/lilyjazz/examples/dorothy.ly'
>> Parsing...
>> Interpreting music...[8][16]
>> fatal error: cannot find font: `lilyjazz-11'
>> Exited with return code 1.
>> 
>> when trying to compile the sample file “dorothy,ly”. Similar errors occur 
>> when I try to compile some of my existing Jazz leadsheets.
>> 
> 
> 
> That means you didn't install the LilyJazz font. It doesn't
> come with LilyPond, you had certainly installled it on your
> previous computer. Download it from here:
> 
> https://github.com/OpenLilyPondFonts/lilyjazz
> 
> (use Code > Download ZIP).
> 
> How to install the files is described in the file
> LilyPond-Fonts-Installation-And-Usage.txt that you will find in
> your download.

I found I don’t have /Applications/Lilypond.app directory. My copy of the 
lilypond executable was compiled by MacPorts.

Googling for a way to create an App, I found:

https://macappstore.org/lilypond/

And having gone through the whole process I’ve ended up with a 32-bit 
executable, which won’t work in the 64-bit-only Monterey environment.

I haven’t found a way to force Homebrew to compile a 64-bit executable so far. 
Is there a ready-built .DMG image file for version 2.23.12 that I can download?


> 
>>  There is no /Users/michaelhendry/.config directory on my computer,

Of course there is! See my first paragraph above.

Michael

> 
> 
> It does exist, but since the name starts with a dot, it is a "hidden
> directory". Those are reserved for things non-technically-savvy users
> don't need/want to know about, and aren't displayed in the Finder by
> default (but you can show them:
> https://nordlocker.com/blog/how-to-show-hidden-files-mac/).
> 
> Best,
> Jean
> 
> 




Re: Configuration problems following new installation of Frescobaldi

2022-08-30 Thread Jean Abou Samra

  
  
Le 30/08/2022 à 08:56, Michael Hendry a
  écrit :


  I stopped using Frescobaldi and Lilypond at the beginning of the Covid pandemic and since then I have bought a new iMac with Monterey and transferred files across,

Trying to get back up and running, I’ve installed Frescobaldi 3.1.3, which appears to be functioning perfectly, but I get these error reports:

 Starting lilypond 2.23.3 [dorothy.ly]...
Fontconfig error: "/Users/michaelhendry/.config/fontconfig/fonts.conf", line 2: XML or text declaration not at start of entity
Fontconfig error: "/Users/michaelhendry/.config/fontconfig/fonts.conf", line 2: XML or text declaration not at start of entity
Fontconfig error: "/Users/michaelhendry/.config/fontconfig/fonts.conf", line 2: XML or text declaration not at start of entity


  
  I am also getting similar warnings on Fedora with LilyPond 2.22.2
  (“unknown
  element reset-dirs”). They seem to be harmless. Apparently, the
  system's font
  configuration file for Fontconfig uses features that were not
  supported in
  the older version of Fontconfig that ships with LilyPond. For me,
  these
  warnings don't appear in 2.23.12, which is also the latest
  (unstable) version.
  Could you try upgrading to 2.23.12?
  
  


  Processing `/Users/michaelhendry/git_stuff/lilyjazz/examples/dorothy.ly'
Parsing...
Interpreting music...[8][16]
fatal error: cannot find font: `lilyjazz-11'
Exited with return code 1.

when trying to compile the sample file “dorothy,ly”. Similar errors occur when I try to compile some of my existing Jazz leadsheets.


  
  That means you didn't install the LilyJazz font. It doesn't
  come with LilyPond, you had certainly installled it on your
  previous computer. Download it from here:
  
  https://github.com/OpenLilyPondFonts/lilyjazz
  
  (use Code > Download ZIP).
  
  How to install the files is described in the file
  LilyPond-Fonts-Installation-And-Usage.txt that you will find in
  your download.
  
  


  There is no /Users/michaelhendry/.config directory on my computer,


  
  It does exist, but since the name starts with a dot, it is a
  "hidden
  directory". Those are reserved for things non-technically-savvy
  users
  don't need/want to know about, and aren't displayed in the Finder
  by
  default (but you can show them:
  https://nordlocker.com/blog/how-to-show-hidden-files-mac/).
  
  Best,
  Jean
  


  




Configuration problems following new installation of Frescobaldi

2022-08-30 Thread Michael Hendry
I stopped using Frescobaldi and Lilypond at the beginning of the Covid pandemic 
and since then I have bought a new iMac with Monterey and transferred files 
across,

Trying to get back up and running, I’ve installed Frescobaldi 3.1.3, which 
appears to be functioning perfectly, but I get these error reports:

 Starting lilypond 2.23.3 [dorothy.ly]...
Fontconfig error: "/Users/michaelhendry/.config/fontconfig/fonts.conf", line 2: 
XML or text declaration not at start of entity
Fontconfig error: "/Users/michaelhendry/.config/fontconfig/fonts.conf", line 2: 
XML or text declaration not at start of entity
Fontconfig error: "/Users/michaelhendry/.config/fontconfig/fonts.conf", line 2: 
XML or text declaration not at start of entity
Processing `/Users/michaelhendry/git_stuff/lilyjazz/examples/dorothy.ly'
Parsing...
Interpreting music...[8][16]
fatal error: cannot find font: `lilyjazz-11'
Exited with return code 1.

when trying to compile the sample file “dorothy,ly”. Similar errors occur when 
I try to compile some of my existing Jazz leadsheets.

There is no /Users/michaelhendry/.config directory on my computer, and I 
suspect there is a configuration option which will deal with this error.

Can anyone advise?

Thanks in advance,

Michael Hendry


Re: Installing Frescobaldi 3.1.3 on Mac with MacOS 12.1

2022-08-29 Thread Michael Hendry
Thanks, that enabled me to get round the warning

> On 29 Aug 2022, at 18:50, Omer Katzir  wrote:
> 
> Right click on the app and Open. That should fix it, there are no issues 
> running 3.1.3 with MacOS. 
> 3.2 is another story.
> 
> 
>> On 29 Aug 2022, at 20:48, Michael Hendry  wrote:
>> 
>> Dear LilyPond Users,
>> 
>> I unsubscribed from the list during lockdown and the subsequent lack of 
>> musical opportunities, and in the meantime I’ve got a faster Mac running 
>> Monterey.
>> 
>> I downloaded Frescobaldi-3.1.3-x86_64.dmg and installed it, but am prevented 
>> from running it because ‘“Frescobaldi.app” cannot be opened because the 
>> developer cannot be verified” as being free from malware.
>> 
>> Can anyone advise me:
>> 
>> a) how to resubscribe to the list.
>> b) how to get round the verification problem.
>> 
>> Regards,
>> 
>> Michael Hendry
> 





Re: Installing Frescobaldi 3.1.3 on Mac with MacOS 12.1

2022-08-29 Thread Jean Abou Samra




Le 29/08/2022 à 19:48, Michael Hendry a écrit :

Dear LilyPond Users,

I unsubscribed from the list during lockdown and the subsequent lack of musical 
opportunities, and in the meantime I’ve got a faster Mac running Monterey.

I downloaded Frescobaldi-3.1.3-x86_64.dmg and installed it, but am prevented 
from running it because ‘“Frescobaldi.app” cannot be opened because the 
developer cannot be verified” as being free from malware.

Can anyone advise me:

a) how to resubscribe to the list.
b) how to get round the verification problem.




1. Fill the form on https://lists.gnu.org/mailman/listinfo/lilypond-user

2. In the “System Preferences” app, go to “Security and Privacy”, and 
click “Open Anyway” at the bottom. There are screenshots on


https://lilypond.org/doc/v2.23/Documentation/learning/graphical-setup-under-macos.html

Best,
Jean




Installing Frescobaldi 3.1.3 on Mac with MacOS 12.1

2022-08-29 Thread Michael Hendry
Dear LilyPond Users,

I unsubscribed from the list during lockdown and the subsequent lack of musical 
opportunities, and in the meantime I’ve got a faster Mac running Monterey.

I downloaded Frescobaldi-3.1.3-x86_64.dmg and installed it, but am prevented 
from running it because ‘“Frescobaldi.app” cannot be opened because the 
developer cannot be verified” as being free from malware.

Can anyone advise me:

a) how to resubscribe to the list.
b) how to get round the verification problem.

Regards,

Michael Hendry


Re: [was: Re: ANN: Frescobaldi 3.2]

2022-08-18 Thread Davide Liessi
Dear Jean Louis,

I agree with Jean-Julien's message.
I just want to add a couple of points.

Il giorno gio 18 ago 2022 alle ore 03:10 Jean Louis THIRY
 ha scritto:
> I think I have made quite a bit of progress in the great forest of my 
> ignorance. I took your advice first and installed Macport 
> (https://www.macports.org/install.php) and invoked "sudo port install 
> frescobaldi". Installation stopped when asked to install Xcode. It took me 
> trying to figure out what Xcode was for and finding the huge 
> "Xcode_11.3.1.xip" file and installing it.

The page you link (https://www.macports.org/install.php) has a
step-by-step installation guide, including the instructions to get
Xcode and the Command Line Tools.

> is it possible to uninstall Frescobaldi using some magic formula like "sudo 
> port uninstall frescobaldi" and do an install again so that the installer 
> finds the sdk file.

I agree with Jean-Julien that uninstalling Frescobaldi should not be necessary.
Anyway, if you have doubts on using MacPorts, please see the guide at
https://guide.macports.org

It seems to me that now your immediate problems are solved.
If that's not true or if anything else arises you can write to either
the LilyPond or the Frescobaldi list.
I admit I tend to disappear for long periods (due to personal and
professional reasons) and I'm very sorry for that: if that happens you
can write to me directly to get my attention.

Best wishes.
Davide



Re: [was: Re: ANN: Frescobaldi 3.2]

2022-08-18 Thread Davide Liessi
Il giorno gio 18 ago 2022 alle ore 11:48 Jean Louis THIRY
 ha scritto:
> Being on Mojave (10.14)

This explains also why you were not hit by the 'use_xcode' problem,
since it does not affect 10.13 and 10.14.

> Everything around qt5 seems to be a weak point of Frescobaldi,

Indeed: I appreciate greatly that it is easy to build applications
with Qt and Python, but the combination makes distributing the
software for Mac a nightmare.

The prebuilt application (not yet available for Frescobaldi 3.2 due to
personal reasons) cannot include the documentation browser and the SVG
viewer because packaging some components of Qt with Python is
impossible on Mac.
I asked for help on the PyQt mailing list a couple of times and got no answer.
If anyone is interested, details can be found at
https://github.com/frescobaldi/frescobaldi/issues/1244

Best wishes.
Davide



Re: [was: Re: ANN: Frescobaldi 3.2]

2022-08-18 Thread Davide Liessi
Dear Jean-Julien,

Il giorno gio 18 ago 2022 alle ore 08:52 Jean-Julien Fleck
 ha scritto:
> Well, it’s unlikely. I happen to have frescobaldi installed via a fresh new 
> MacPort procedure (after upgrading to MacOs Monterey) just last week and the 
> missing sdk message I encountered was related to all the qt5 stuff that 
> frescobaldi needed in order to be built. You were lucky it was not a stopper 
> as it was in my case: I had to manually add `use_xcode yes` in the 
> corresponding PortFile of py310-poppler-qt5 in order to make it build 
> properly. Perhaps it has since been corrected so that if the «standard» way 
> for qt5 to find the sdk won't work, they try the `use_xcode yes` trick 
> (whatever it does) before giving up.

I have just opened a PR at MacPorts with the fix:
https://github.com/macports/macports-ports/pull/15773

Best wishes.
Davide



Re: [was: Re: ANN: Frescobaldi 3.2]

2022-08-18 Thread Jean Louis THIRY


Hello friends,

> Le 18 août 2022 à 09:16, Jacques Menu  a écrit :

> I’ve never heard about Xcode_11.3.1.xip.
> The simple way to install Xcode is to take it from the App Store (needs about 
> 50 Mb these days).

That's what I was thinking of doing, but on the app store you can only find the 
version compatible with the latest Mac OS (Monterey) and it requires a dozen 
Mb. Being on Mojave (10.14) it was necessary to find on the Apple site the 
version which goes well https://developer.apple.com/download/all/. There Xcode 
is 7.82 Gb and takes very very long to install.
Installing the MacOSX10.14.sdk file is endless too. too.

Finally the "standalone" applications are not so bad



> 
>> Le 18 août 2022 à 08:48, Jean-Julien Fleck  a 
>> écrit :
>> 
>> I have a question about the installation. Could this erratic behavior be a 
>> result of this .sdk file being installed in the wrong order? is it possible 
>> to uninstall Frescobaldi using some magic formula like "sudo port uninstall 
>> frescobaldi" and do an install again so that the installer finds the sdk 
>> file. Especially will there be a difference. Just an idea...
>> 
>> Well, it’s unlikely. I happen to have frescobaldi installed via a fresh new 
>> MacPort procedure (after upgrading to MacOs Monterey) just last week and the 
>> missing sdk message I encountered was related to all the qt5 stuff that 
>> frescobaldi needed in order to be built. You were lucky it was not a stopper 
>> as it was in my case: I had to manually add `use_xcode yes`

There, I would not have been able to add this kind of comment

>> in the corresponding PortFile of py310-poppler-qt5 in order to make it build 
>> properly. Perhaps it has since been corrected so that if the «standard» way 
>> for qt5 to find the sdk won't work, they try the `use_xcode yes` trick 
>> (whatever it does) before giving up.

Everything around qt5 seems to be a weak point of Frescobaldi, since it was 
also this qt bug that was preventing Frescobaldi 3.1 from installing on my Mac.
>> 
>> All these problems, even if triggered during frescobaldi install, are 
>> unrelated to it. That's just the way Macport is doing the job: whenever you 
>> add a package to MacPort, it asks you what should be present on the machine 
>> to make your app work and then try to install it by itself, saving the user 
>> the trouble to install all the extensions and preventing multiple installs 
>> of the same tools whenever two different packages need the same first 
>> building block.
>> 
>> But as a matter of fact, it won't help to uninstall frescobaldi to try to 
>> correct for lilypond path (as for one reason is that MacPort don't throw 
>> away uninstalled port but keep them somewhere, ready to reinstall it without 
>> further building in case you change your mind). I would rather suspect that 
>> the search for different lilypond locations was done after you first looked 
>> there (perhaps triggered by one of your tinkering), was written down 
>> somewhere so that the next frescobaldi startup shows it.

This answers my question exactly, even though I suspected it a bit.

>> 
>> Happy that you finally managed to get it work and have fun coding with lily 
>> on frescobaldi !

With a good bit of luck, Thank you
>> 




Re: [was: Re: ANN: Frescobaldi 3.2]

2022-08-18 Thread Jacques Menu
Hello Folks,

I’ve never heard about Xcode_11.3.1.xip.
The simple way to install Xcode is to take it from the App Store (needs about 
50 Mb these days).

JM

> Le 18 août 2022 à 08:48, Jean-Julien Fleck  a 
> écrit :
> 
> Hello Jean-Louis,
> 
> Le jeu. 18 août 2022 à 03:10, Jean Louis THIRY  a écrit :
> 
> I have a question about the installation. Could this erratic behavior be a 
> result of this .sdk file being installed in the wrong order? is it possible 
> to uninstall Frescobaldi using some magic formula like "sudo port uninstall 
> frescobaldi" and do an install again so that the installer finds the sdk 
> file. Especially will there be a difference. Just an idea...
> 
> Well, it’s unlikely. I happen to have frescobaldi installed via a fresh new 
> MacPort procedure (after upgrading to MacOs Monterey) just last week and the 
> missing sdk message I encountered was related to all the qt5 stuff that 
> frescobaldi needed in order to be built. You were lucky it was not a stopper 
> as it was in my case: I had to manually add `use_xcode yes` in the 
> corresponding PortFile of py310-poppler-qt5 in order to make it build 
> properly. Perhaps it has since been corrected so that if the «standard» way 
> for qt5 to find the sdk won't work, they try the `use_xcode yes` trick 
> (whatever it does) before giving up.
> 
> All these problems, even if triggered during frescobaldi install, are 
> unrelated to it. That's just the way Macport is doing the job: whenever you 
> add a package to MacPort, it asks you what should be present on the machine 
> to make your app work and then try to install it by itself, saving the user 
> the trouble to install all the extensions and preventing multiple installs of 
> the same tools whenever two different packages need the same first building 
> block.
> 
> But as a matter of fact, it won't help to uninstall frescobaldi to try to 
> correct for lilypond path (as for one reason is that MacPort don't throw away 
> uninstalled port but keep them somewhere, ready to reinstall it without 
> further building in case you change your mind). I would rather suspect that 
> the search for different lilypond locations was done after you first looked 
> there (perhaps triggered by one of your tinkering), was written down 
> somewhere so that the next frescobaldi startup shows it.
> 
> Happy that you finally managed to get it work and have fun coding with lily 
> on frescobaldi !
> 
> -- 
> JJ Fleck
> Physique et Informatique
> PCSI1 Lycée Kléber




Re: [was: Re: ANN: Frescobaldi 3.2]

2022-08-18 Thread Jean-Julien Fleck
Hello Jean-Louis,

Le jeu. 18 août 2022 à 03:10, Jean Louis THIRY  a
écrit :

>
> I have a question about the installation. Could this erratic behavior be a
> result of this .sdk file being installed in the wrong order? is it possible
> to uninstall Frescobaldi using some magic formula like "sudo port uninstall
> frescobaldi" and do an install again so that the installer finds the sdk
> file. Especially will there be a difference. Just an idea...
>

Well, it’s unlikely. I happen to have frescobaldi installed via a fresh new
MacPort procedure (after upgrading to MacOs Monterey) just last week and
the missing sdk message I encountered was related to all the qt5 stuff that
frescobaldi needed in order to be built. You were lucky it was not a
stopper as it was in my case: I had to manually add `use_xcode yes` in the
corresponding PortFile of py310-poppler-qt5 in order to make it build
properly. Perhaps it has since been corrected so that if the «standard» way
for qt5 to find the sdk won't work, they try the `use_xcode yes` trick
(whatever it does) before giving up.

All these problems, even if triggered during frescobaldi install, are
unrelated to it. That's just the way Macport is doing the job: whenever you
add a package to MacPort, it asks you what should be present on the machine
to make your app work and then try to install it by itself, saving the user
the trouble to install all the extensions and preventing multiple installs
of the same tools whenever two different packages need the same first
building block.

But as a matter of fact, it won't help to uninstall frescobaldi to try to
correct for lilypond path (as for one reason is that MacPort don't throw
away uninstalled port but keep them somewhere, ready to reinstall
it without further building in case you change your mind). I would rather
suspect that the search for different lilypond locations was done after you
first looked there (perhaps triggered by one of your tinkering), was
written down somewhere so that the next frescobaldi startup shows it.

Happy that you finally managed to get it work and have fun coding with lily
on frescobaldi !

-- 
JJ Fleck
Physique et Informatique
PCSI1 Lycée Kléber


Re: [was: Re: ANN: Frescobaldi 3.2]

2022-08-17 Thread Jean Louis THIRY
Hello Jean,
I think I have made quite a bit of progress in the great forest of my 
ignorance. I took your advice first and installed Macport 
(https://www.macports.org/install.php) and invoked "sudo port install 
frescobaldi". Installation stopped when asked to install Xcode. It took me 
trying to figure out what Xcode was for and finding the huge "Xcode_11.3.1.xip" 
file and installing it. "sudo port install frescobaldi" again and there, 
everything goes well except that a message indicates that "MacOSX10.14.sdk" is 
missing but does not cancel the installation which goes to the end without 
problem. I find and install "MacOSX10.14.sdk". and I find in the Macports 
folder the Frescobaldi 3.2 file which I launch immediately.

There, I check that the new 3.2 features are present and after noticing that 
the help balloons and \pointAndClickOff /On did not work, I check the 
convert-ly and import xml2.ly functions. I note that these two functions do not 
go beyond Lilypond 2.20.0.
I spend a lot of time (trying to figure it out) trying all sorts of preference 
settings and other tinkering before I find that just clicking the Frescobaldi 
icon in the Mac's dock a second time and Lilypond 2.23.11 appears in convert.ly 
and in xml2.ly. Help balloons and pointAndClick too.

I have a question about the installation. Could this erratic behavior be a 
result of this .sdk file being installed in the wrong order? is it possible to 
uninstall Frescobaldi using some magic formula like "sudo port uninstall 
frescobaldi" and do an install again so that the installer finds the sdk file. 
Especially will there be a difference. Just an idea...

In any case, thank you Jean for the helping hand (effective as usual) which 
will have especially helped me to help myself. ;•)
J.L.

Re: [was: Re: ANN: Frescobaldi 3.2]

2022-08-16 Thread Mike Blackstock
I'd be more than happy to set up a Virtual Machine for you, with root
access,
so you can install different versions of Frescobaldi and have people try it
out,
accessible via a web browser (Apache/Guacamole)

Lemme know if you are interested, and what kind of Linux and or window
manager
you want installed.

Cheers,
M.


On Mon, Aug 15, 2022 at 8:51 PM Jean Louis Thiry 
wrote:

> Hello Jean and thank you for your answer.
>
> I understand that it must be complicated to understand what I want to
> explain, so much I find it difficult to explain things that are beyond my
> understanding. Let's try briefly, knowing that I am to my great regret
> quite ignorant in terms of computer language:
>
> On my machine I use Frescobaldi 3.0 (which works pretty well and suits my
> needs perfectly except “convert.ly" and “musicxml2ly" which don't work
> beyond lilypond 2.20.). Upgrading to 3.1 is impossible (issue: Crash:
> "Could not find QtWebEngineProcess" #1244 on Frescobaldi's site,
> unresolved). The main 3.0 infos are: Python: 3.7.0 - python-ly: 0.9.5 - Qt:
> 5.11.1 - PyQt: 5.11.2 - sip: 4.19.12 - poppler: 0.57.0 - python-poppler-qt:
> 0.24.2.
>
> Now about Fresco 3.2: the procedure given in the “install" file does not
> work and returns messages like
> "/Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python:
> can't open file 'setup.py': [Errno 2] No such file or directory – heroes:~
> thiryjeanlouis$ python3 setup.py install —user
> /Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python:
> can't open file 'setup.py': [Errno 2] No such file or directory" etc. etc.
>
> If I type "frescobaldi" in the terminal, I get an app called "Python"
> exactly similar to Frescobaldi, using the same preferences and the same
> sessions but which is not version 3.2 and whose info is: Frescobaldi:
> 2.20.0 (!!) - Python: 3.5.9 - python-ly: 0.9.5 - Qty: 4.8.7 - PyQt: 4.12.1
> - sip: 4.19.20 - poppler: 0.61.1 - python- poppler-qt: 0.24.0. A detail
> however, the application crashes systematically when leaving.
> We can assume that there is a sneaky Python too many somewhere in the
> system, it's possible but where does this Frescobaldi 2.20 come from?
> Hello Jean and thank you for your answer.
> I understand that it must be complicated to understand what I want to
> explain, so much I find it difficult to explain things that are beyond my
> understanding. Let's briefly try:
>
> On my machine I use Frescobaldi 3.0 (which works pretty well except
> convert.ly and musicxml2ly which don't work beyond lilypond 2.20.).
> Upgrading to 3.1 does not work (issue: Crash: "Could not find
> QtWebEngineProcess" #1244 on Frescobaldi's site, unresolved). The main 3.0
> infos are: Python: 3.7.0 - python-ly: 0.9.5 - Qt: 5.11.1 - PyQt: 5.11.2 -
> sip: 4.19.12 - poppler: 0.57.0 - python-poppler-qt: 0.24.2.
>
> Now Fresco 3.2: the procedure given in the "install" file does not work
> and returns messages like:
> "/Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python:
> can't open file 'setup.py': [Errno 2] No such file or directory
> heroes:~ thiryjeanlouis$ python3 setup.py install --user
> /Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python:
> can't open file 'setup.py': [Errno 2] No such file or directory" etc. etc.
>
> If I type "frescobaldi" in the terminal, I get an app called "Python"
> exactly similar to Frescobaldi, using the same preferences and the same
> sessions but which is not version 3.2 and whose info is: Frescobaldi:
> 2.20.0 (!!) - Python: 3.5.9 - python-ly: 0.9.5 - Qty: 4.8.7 - PyQt: 4.12.1
> - sip: 4.19.20 - poppler: 0.61.1 - python- poppler-qt: 0.24.0. A detail
> however, the application crashes systematically when leaving.
>
> I found all these pythons in my Mac: Python: 3.7.6, 2.7.16 , 3.7.4, 3.5.9,
> 3.7.1 - Python Launcher: 3.7.6, 3.7.1, 3.7.4.
> We can assume that there is a sneaky Python too many somewhere in the
> system it's possible but where does this Frescobaldi 2.20 come from?
>
>
> All the best,
> JL
>
>
>
>
>
> Jean Louis Thiry
> 06 68 80 64 50
> thir...@ramierou.eu
>
>
> 390A rue du Ramiérou à Montauban
>


-- 
https://blackstock.media


Re: [was: Re: ANN: Frescobaldi 3.2]

2022-08-16 Thread Jean Abou Samra

Hello,

Adding back the list in copy, please keep it so that everyone can 
participate and benefit from the answers in the future.



Le 16/08/2022 à 10:25, Jean Louis Thiry a écrit :
I just type "Frescobaldi" in the terminal. In the 'frescobaldi' folder 
there is actually a setup.py file. If I run it, I get this:
heroes:~ thiryjeanlouis$ cd '/Applications/frescobaldi-3.2/' && 
'/usr/bin/pythonw' '/Applications/frescobaldi-3.2/setup.py' && echo 
Exit status :$? && exit 1

usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
    or: setup.py --help [cmd1 cmd2 ...]
    or: setup.py --help-commands
    or: setup.py cmd --help
error: no commands supplied

very obscure to me!



The command provided in the INSTALL file is 'sudo python3 setup.py 
install', you're missing 'install'.





Before trying to install, what do you get if, inside the 
'frescobaldi' folder, you follow the procedure for running 
Frescobaldi from this folder without installing, namely 'python3 
frescobaldi’?


I'm not sure I understand the meaning of this sentence, is there a 
difference between 'folder' and 'directory'?



No :-)


in the 'frescobaldi' folder I don't see anything that allows me to 
follow a procedure to "run Frescobaldi from this folder without 
installing it".



I was referring to the first sentence from INSTALL:

"""
You can run Frescobaldi without installing. Just unpack and then run:

    python3 frescobaldi

See below for the required dependencies.
"""



If I type 'python3 frescobaldi' in the terminal, I get this:
python3 frescobaldi
The 'popplerqt5' module can't be found.
Frescobaldi can't find the 'popplerqt5' module. This module is 
required for the display of PDF documents. The module is in the 
python-poppler-qt5 package which needs to be installed.


Frescobaldi can run, but cannot display PDF documents.
Continuing...
The 'qpageview' module can't be found.
Frescobaldi can't find the 'qpageview' module. This module is required 
for the Music View and other viewers inside Frescobaldi, and can be 
downloaded from http://github.com/frescobaldi/qpageview.


Unfortunately, Frescobaldi cannot run without it.
Exiting.



Then you need to install those dependencies.

Before embarking in that: have you tried installing Frescobaldi from 
MacPorts? It's likely a lot simpler than doing this setup yourself. 
Install MacPorts if you don't already have it ...


https://www.macports.org/install.php

then type "sudo port install frescobaldi". See 
https://ports.macports.org/port/frescobaldi/


Frescobaldi relies on Python modules that have external dependencies, 
which makes the dependencies a bit complex to install if I recall 
correctly, so I think you will save yourself time with this.




heroes:frescobaldi-3.2 thiryjeanlouis$
In other words: nothing
I'm really sorry, I feel really ignorant and I don't want to waste 
your time with my more than basic questions (especially after 35 years 
of Adobe Illustrator on a daily basis)



No problem here at all. Even if you were ignorant, that would not be a 
valid reason for being sorry to ask questions on this list.


Cheers,
Jean




Re: [was: Re: ANN: Frescobaldi 3.2]

2022-08-16 Thread Jean Abou Samra

Le 16/08/2022 à 02:48, Jean Louis Thiry a écrit :

Hello Jean and thank you for your answer.

I understand that it must be complicated to understand what I want to 
explain, so much I find it difficult to explain things that are beyond 
my understanding. Let's try briefly, knowing that I am to my great 
regret quite ignorant in terms of computer language:


On my machine I use Frescobaldi 3.0 (which works pretty well and suits 
my needs perfectly except “convert.ly <http://convert.ly>" and 
“musicxml2ly" which don't work beyond lilypond 2.20.). Upgrading to 
3.1 is impossible (issue: Crash: "Could not find QtWebEngineProcess" 
#1244 on Frescobaldi's site, unresolved). The main 3.0 infos are: 
Python: 3.7.0 - python-ly: 0.9.5 - Qt: 5.11.1 - PyQt: 5.11.2 - sip: 
4.19.12 - poppler: 0.57.0 - python-poppler-qt: 0.24.2.


Now about Fresco 3.2: the procedure given in the “install" file does 
not work and returns messages like 
"/Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python: 
can't open file 'setup.py': [Errno 2] No such file or directory – 
heroes:~ thiryjeanlouis$ python3 setup.py install —user 
/Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python: 
can't open file 'setup.py': [Errno 2] No such file or directory" etc. etc.



Where are you running this command from? It sounds like you are not in 
the right directory. You need to be inside the 'frescobaldi' directory. 
If you do 'ls', you should see a setup.py file.


Before trying to install, what do you get if, inside the 'frescobaldi' 
folder, you follow the procedure for running Frescobaldi from this 
folder without installing, namely 'python3 frescobaldi'?



If I type "frescobaldi" in the terminal, I get an app called "Python" 
exactly similar to Frescobaldi, using the same preferences and the 
same sessions but which is not version 3.2 and whose info is: 
Frescobaldi: 2.20.0 (!!) - Python: 3.5.9 - python-ly: 0.9.5 - Qty: 
4.8.7 - PyQt: 4.12.1 - sip: 4.19.20 - poppler: 0.61.1 - python- 
poppler-qt: 0.24.0. A detail however, the application crashes 
systematically when leaving.
We can assume that there is a sneaky Python too many somewhere in the 
system,



Mandatory XKCD: https://xkcd.com/1987/



it's possible but where does this Frescobaldi 2.20 come from?


I don't know, but let's try to properly run 3.2 first.

Best,
Jean




[was: Re: ANN: Frescobaldi 3.2]

2022-08-15 Thread Jean Louis Thiry
Hello Jean and thank you for your answer.

I understand that it must be complicated to understand what I want to explain, 
so much I find it difficult to explain things that are beyond my understanding. 
Let's try briefly, knowing that I am to my great regret quite ignorant in terms 
of computer language:

On my machine I use Frescobaldi 3.0 (which works pretty well and suits my needs 
perfectly except “convert.ly" and “musicxml2ly" which don't work beyond 
lilypond 2.20.). Upgrading to 3.1 is impossible (issue: Crash: "Could not find 
QtWebEngineProcess" #1244 on Frescobaldi's site, unresolved). The main 3.0 
infos are: Python: 3.7.0 - python-ly: 0.9.5 - Qt: 5.11.1 - PyQt: 5.11.2 - sip: 
4.19.12 - poppler: 0.57.0 - python-poppler-qt: 0.24.2.

Now about Fresco 3.2: the procedure given in the “install" file does not work 
and returns messages like 
"/Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python:
 can't open file 'setup.py': [Errno 2] No such file or directory – heroes:~ 
thiryjeanlouis$ python3 setup.py install —user 
/Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python:
 can't open file 'setup.py': [Errno 2] No such file or directory" etc. etc.

If I type "frescobaldi" in the terminal, I get an app called "Python" exactly 
similar to Frescobaldi, using the same preferences and the same sessions but 
which is not version 3.2 and whose info is: Frescobaldi: 2.20.0 (!!) - Python: 
3.5.9 - python-ly: 0.9.5 - Qty: 4.8.7 - PyQt: 4.12.1 - sip: 4.19.20 - poppler: 
0.61.1 - python- poppler-qt: 0.24.0. A detail however, the application crashes 
systematically when leaving.
We can assume that there is a sneaky Python too many somewhere in the system, 
it's possible but where does this Frescobaldi 2.20 come from?
Hello Jean and thank you for your answer.
I understand that it must be complicated to understand what I want to explain, 
so much I find it difficult to explain things that are beyond my understanding. 
Let's briefly try:

On my machine I use Frescobaldi 3.0 (which works pretty well except convert.ly 
and musicxml2ly which don't work beyond lilypond 2.20.). Upgrading to 3.1 does 
not work (issue: Crash: "Could not find QtWebEngineProcess" #1244 on 
Frescobaldi's site, unresolved). The main 3.0 infos are: Python: 3.7.0 - 
python-ly: 0.9.5 - Qt: 5.11.1 - PyQt: 5.11.2 - sip: 4.19.12 - poppler: 0.57.0 - 
python-poppler-qt: 0.24.2.

Now Fresco 3.2: the procedure given in the "install" file does not work and 
returns messages like: 
"/Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python:
 can't open file 'setup.py': [Errno 2] No such file or directory
heroes:~ thiryjeanlouis$ python3 setup.py install --user
/Library/Frameworks/Python.framework/Versions/3.7/Resources/Python.app/Contents/MacOS/Python:
 can't open file 'setup.py': [Errno 2] No such file or directory" etc. etc.

If I type "frescobaldi" in the terminal, I get an app called "Python" exactly 
similar to Frescobaldi, using the same preferences and the same sessions but 
which is not version 3.2 and whose info is: Frescobaldi: 2.20.0 (!!) - Python: 
3.5.9 - python-ly: 0.9.5 - Qty: 4.8.7 - PyQt: 4.12.1 - sip: 4.19.20 - poppler: 
0.61.1 - python- poppler-qt: 0.24.0. A detail however, the application crashes 
systematically when leaving.

I found all these pythons in my Mac: Python: 3.7.6, 2.7.16 , 3.7.4, 3.5.9, 
3.7.1 - Python Launcher: 3.7.6, 3.7.1, 3.7.4.
We can assume that there is a sneaky Python too many somewhere in the system 
it's possible but where does this Frescobaldi 2.20 come from? 


All the best,
JL






Jean Louis Thiry
06 68 80 64 50
thir...@ramierou.eu


390A rue du Ramiérou à Montauban

Re: ANN: Frescobaldi 3.2

2022-08-15 Thread Jean Abou Samra

Hello Jean-Louis,

Le 15/08/2022 à 00:28, Jean Louis THIRY a écrit :

Hello friends,

Sorry for the inconvenience and thank you for your answers even if 
they don't really answer mine.
In fact, to ask my question I just replied to an existing thread on 
this list, several months old (May 2022) and whose subject line is: 
"Re: ANN: Frescobaldi 3.2". Nothing exciting in this title which is a 
response to the announcement of version 3.2 of Frescobaldi which has 
existed since May 2022.


On the other hand I have already exposed my problem before on this 
list and I asked my question again because I had not had any answer, 
neither from the list nor from Wilbert Berendsen to whom my question 
was also intended.



It's a bit tricky to answer questions like this remotely because it
depends so much on many details like your system, what versions of
Python you have, how exactly you installed Frescobaldi ...

OK, so what did you do exactly from the INSTALL file? I see several
different options mentioned there.

Also, what command are you using to run Frescobaldi? Is it just 
"frescobaldi"?

In that case, what does "which frescobaldi" give you?



At no time did I think that the "subject" line of my message would be 
more important than the "subject" of the message. I didn't expect to 
be greeted so rudely either.



Communication on mailing lists tends to be ambiguous, unfortunately.
I don't think anyone meant to be rude to you.




Apparently I'm in the wrong place to ask my question.



I believe it is the right place, but your question is simply not
an easy question.

Best,
Jean




ANN: Frescobaldi 3.2

2022-08-14 Thread Jean Louis THIRY
Hello friends, 

Sorry for the inconvenience and thank you for your answers even if they don't 
really answer mine.
In fact, to ask my question I just replied to an existing thread on this list, 
several months old (May 2022) and whose subject line is: "Re: ANN: Frescobaldi 
3.2". Nothing exciting in this title which is a response to the announcement of 
version 3.2 of Frescobaldi which has existed since May 2022.

On the other hand I have already exposed my problem before on this list and I 
asked my question again because I had not had any answer, neither from the list 
nor from Wilbert Berendsen to whom my question was also intended.
At no time did I think that the "subject" line of my message would be more 
important than the "subject" of the message. I didn't expect to be greeted so 
rudely either.

Apparently I'm in the wrong place to ask my question.
Sorry again if you felt offended.

Jean Louis Thiry





Re: ANN: Frescobaldi 3.2

2022-08-14 Thread Andrew Bernard
I know. My complaint is that this is not an announcement but only a 
question, so it breaks list conventional protocol.


I know this is a small point but it is wrong, and as said above, it got 
me all excited about a new Frescobaldi release for nothing, so it was 
misleading. Not a big deal, but I run a lot of mailing lists myself and 
I am forever having to educate users about proper usage, so this 
triggers my responses to such!



Andrew


On 14/08/2022 5:09 pm, Jean Abou Samra wrote:

Le 14/08/2022 à 07:05, Eef Weenink a écrit :

The text is AAN not ANN.

It is Dutch for “TO”. Any mailprogram using Dutch as regular as 
language will show “To” as “Aan”.



For all kinds of "ANNouncements", "ANN" is customary on mailing lists.
For example, see the archives of this list:

https://mail.python.org/archives/list/python-announce-l...@python.org/

Best,
Jean





Re: ANN: Frescobaldi 3.2

2022-08-14 Thread Jean Abou Samra

Le 14/08/2022 à 07:05, Eef Weenink a écrit :

The text is AAN not ANN.

It is Dutch for “TO”. Any mailprogram using Dutch as regular as language will 
show “To” as “Aan”.



For all kinds of "ANNouncements", "ANN" is customary on mailing lists.
For example, see the archives of this list:

https://mail.python.org/archives/list/python-announce-l...@python.org/

Best,
Jean




Re: ANN: Frescobaldi 3.2

2022-08-13 Thread Andrew Bernard

Sorry, my mailer very clearly shows the subject line as:

ANN: Frescobaldi 3.2

And in any case why you you put TO in the subject line?

Andrew

On 14/08/2022 3:05 pm, Eef Weenink wrote:

The text is AAN not ANN.

It is Dutch for “TO”. Any mailprogram using Dutch as regular as language will 
show “To” as “Aan”.

Met vriendelijke groet, Eef

H.E. Weenink MBA





Re: ANN: Frescobaldi 3.2

2022-08-13 Thread Eef Weenink
The text is AAN not ANN.

It is Dutch for “TO”. Any mailprogram using Dutch as regular as language will 
show “To” as “Aan”. 

Met vriendelijke groet, Eef

H.E. Weenink MBA

> Op 14 aug. 2022 om 03:27 heeft Andrew Bernard  
> het volgende geschreven:
> 
> Without wanting to sound like a pedantic pest, the Subject line prefix ANN: 
> is normally only used for program announcements such as a new release. I got 
> all excited because I thought you were announcing a new Frescobaldi release. 
> So it's misleading. No great harm, but just saying a bit about list usage.
> 
> 
> Andrew
> 
> 


Re: ANN: Frescobaldi 3.2

2022-08-13 Thread Andrew Bernard
Without wanting to sound like a pedantic pest, the Subject line prefix 
ANN: is normally only used for program announcements such as a new 
release. I got all excited because I thought you were announcing a new 
Frescobaldi release. So it's misleading. No great harm, but just saying 
a bit about list usage.



Andrew




Re: Frescobaldi 3.2

2022-08-13 Thread m.tarensk...@kpnmail.nl
Not really answering your question, butFrescobaldi, not "Fresco Baldi", was named after the Italian composer Girolamo Frescobaldi:https://en.m.wikipedia.org/wiki/Girolamo_Frescobaldi:-) MT Oorspronkelijk bericht Fresco Baldi: 2.20.0–Fresco Baldi: 3.0.0

ANN: Frescobaldi 3.2

2022-08-13 Thread Jean Louis THIRY
Hello friends,
I’m sending that message again as my problem is still complete
I installed Frescobaldi 3.2 (Mac/ Mojave) following the procedure proposed in 
the “install” file (Terminal). It worked fine and the application is called 
"Python", but the surprise is in the info box which displays some rather fancy 
and far from expected version numbers:
–
Fresco Baldi: 2.20.0
Python: 3.5.9
python-ly: 0.9.5
Qty: 4.8.7
PyQt: 4.12.1
sip: 4.19.20
poppler: 0.61.1
python-poppler-qt: 0.24.0
OS: Darwin-18.7.0-x86_64-i386-64bit
installation type: command line
–
When using the Frescobaldi 3.0, info box displays this:
–
Fresco Baldi: 3.0.0
Python: 3.7.0
python-ly: 0.9.5
Qt: 5.11.1
PyQt: 5.11.2
sip: 4.19.12
poppler: 0.57.0
python-poppler-qt: 0.24.2
OS: Darwin-18.7.0-x86_64-i386-64bit
installation type: standalone app bundle
–
What happened ? I don't think I've used a 2.20 version in the past that would 
have left traces on my Mac. Given my computer skills, I'm going to leave this 
version aside while waiting for a standalone version, easier to get started 
with.
Thanks for any suggestions.



Jean Louis Thiry





Re: Prototype Frescobaldi in the browser

2022-08-08 Thread Andrew Bernard
This reminds me that I think what we are after is a return to the 
concept of thin-client computing (X-Terminals etc), which always was a 
good idea and still is, in my view. Interesting to see that you can now 
run Windows 11 in the cloud fully supported by Microsoft, albeit 
expensive. There are a burgeoning number of thin-client solutions now also.


Andrew





Re: Prototype Frescobaldi in the browser

2022-08-08 Thread Andrew Bernard

Hello Mike,

You have presented a solution here, but no context or rationale at all 
(unless I missed something). Would you be willing, as I asked, to 
present the use cases you see for this, a little about the overall 
concept, why it's needed, where is it going, what are the long term 
prospects for this, ongoing support and so on, issues with storage of 
data in the cloud and so on? Are you intending to develop this into a 
full blown permanent service, or this is an experiment in online app 
presentation similar to your website concept?


I am sorry to all if I seem irritating or annoying, but I so far had not 
heard of any prior clamour or demand for this idea. And furthermore, if 
it's a good solid concept with a lot of user demand I'd be willing to 
offer to help out with development, that's the point.


As a quick aside, if you are going to run a VM GUI on the web I think 
you'd be better off using a lightweight fast desktop such as XFCE.


Andrew


On 8/08/2022 7:27 am, Mike Blackstock wrote:

Demo at https://static.blackstock.media/guacamole

Login: guest
Password: guest

Click one of the unused demo sessions.

-Mike





Re: Prototype Frescobaldi in the browser

2022-08-08 Thread Mike Blackstock
re - "Are you planning to run lilypond inside a chroot jail and/or in safe
mode? "

It's running in a linux kernel virtual machine ('KVM'), which isolates it
from the main host.

M.


On Mon, Aug 8, 2022 at 1:05 PM William  wrote:

> Not passing judgement on this project either way, but there are lots of
> online text editor applications, such as markdown editors or google docs.
> Some people like to use them, others don’t. There are also other web
> applications which apply the real-time-updates feature of google docs in a
> visual engraving software. I guess there’s not really any reason to not
> have this as an option for someone who likes it.
>
> I’d like to say something else about this web application that OP should
> keep in mind, in case others haven’t brought this up yet. As all of us
> know, lilypond includes many features that are designed to be helpful for
> users who know what they are doing but could be quite dangerous if
> malicious code is parsed, such as the ability to read other files or run
> system commands. Are you planning to run lilypond inside a chroot jail
> and/or in safe mode? Because safe mode clamps down on a lot of the more
> extended functionality such as scheme extensions and even other things such
> as #(set-global-staff-size).
>
> I guess copying how lilybin et Al handle this will be fine.
>
> Sent from my iPhone
>
> > On Aug 8, 2022, at 01:34, Andrew Bernard 
> wrote:
> >
> > How many people need that? Doesn't everybody have a laptop? Let's hear
> from the OP. I'm curious.
> >
> > Andrew
> >
> >
> >> On 8/08/2022 1:15 pm, Knute Snortum wrote:
> >> Well, I can imagine that it would be useful to be able to move from
> >> computer to computer, when you don't necessarily have Frescobaldi
> >> installed, especially if you can save to the cloud.
> >>
> >>
> >
>
>
>

-- 
https://blackstock.media


Re: Prototype Frescobaldi in the browser [URL correction]

2022-08-08 Thread Mike Blackstock
The plan is to start up a 2nd VM for 'trusted users' like yourself, with
more access,
for real work, with a browser, shell,  etc. and add an FTP upload folder to
the demo VM so
anonymous users can upload files and try it out Fresobaldi that way, in
addition to pasting
code, as it is now.

Will keep ya posted - thanks for the interest :)
M.


On Sun, Aug 7, 2022 at 6:12 PM Knute Snortum  wrote:

> Interesting.  Some thoughts:
>
> a) how do you get code into and out of the web Frescobaldi?  Copy and
> Paste?  If you give people access to a browser, they can use Google
> Drive or another cloud product.
>
> b) Any possibility of getting LilyPond version 2.22.2 and 2.23.11?
>
> --
> Knute Snortum
>
>
> On Sun, Aug 7, 2022 at 2:35 PM Mike Blackstock
>  wrote:
> >
> > oops, apparently the hash tag in the url is important:
> > https://static.blackstock.media/guacamole/#/
> >
> > On Sun, Aug 7, 2022 at 5:27 PM Mike Blackstock <
> blackstock.m...@gmail.com> wrote:
> >>
> >> Demo at https://static.blackstock.media/guacamole
> >>
> >> Login: guest
> >> Password: guest
> >>
> >> Click one of the unused demo sessions.
> >>
> >> -Mike
> >>
> >>
> >> --
> >> https://blackstock.media
> >
> >
> >
> > --
> > https://blackstock.media
>


-- 
https://blackstock.media


Re: Prototype Frescobaldi in the browser [URL correction]

2022-08-08 Thread Mike Blackstock
re. "perhaps better that anything outside of /home/* not even be visible"

Indeed, agree 100% ... but I couldn't find a linux file manager that
disallowed access in that way.
Could you recommend something?

It wasn't a high priority because the site is running inside a KVM
virtual machine that isolates
it from the main host system, and it can be easily restored from a snapshot
image if it gets trashed.
It's restored to the original state once a day as well, just as a matter of
policy, anyway.

But a restricted filemanager would be better, even still. TIA for any
suggestions.

M.



On Sun, Aug 7, 2022 at 5:58 PM Guy Stalnaker  wrote:

> Mike - one immediate thing to note - the current privileges expose the
> root of the file system. Maybe there are no files outside of /home/* that
> can be opened, but perhaps better that anything outside of /home/* not even
> be visible.
>
> Will explore more later (Zoom with family now).
>
> Regards,
>
> Guy S
> --
>
> “Happiness is the meaning and the purpose of life, the whole aim and end
> of human existence.”
>
> ― Aristotle
>
>
> On Sun, Aug 7, 2022 at 4:35 PM Mike Blackstock 
> wrote:
>
>> oops, apparently the hash tag in the url is important:
>> https://static.blackstock.media/guacamole/#/
>>
>> On Sun, Aug 7, 2022 at 5:27 PM Mike Blackstock 
>> wrote:
>>
>>> Demo at https://static.blackstock.media/guacamole
>>>
>>> Login: guest
>>> Password: guest
>>>
>>> Click one of the unused demo sessions.
>>>
>>> -Mike
>>>
>>>
>>> --
>>> https://blackstock.media
>>>
>>
>>
>> --
>> https://blackstock.media
>>
>

-- 
https://blackstock.media


Re: Prototype Frescobaldi in the browser

2022-08-08 Thread Jean Abou Samra

Le 08/08/2022 à 19:02, William a écrit :

I’d like to say something else about this web application that OP should keep 
in mind, in case others haven’t brought this up yet. As all of us know, 
lilypond includes many features that are designed to be helpful for users who 
know what they are doing but could be quite dangerous if malicious code is 
parsed, such as the ability to read other files or run system commands. Are you 
planning to run lilypond inside a chroot jail and/or in safe mode? Because safe 
mode clamps down on a lot of the more extended functionality such as scheme 
extensions and even other things such as #(set-global-staff-size).

I guess copying how lilybin et Al handle this will be fine.




Do not use safe mode. It is not truly safe, and going to be entirely
removed in version 2.23.12
(see https://gitlab.com/lilypond/lilypond/-/merge_requests/1522).

Instead, use an external program to sandbox processes, for example
Firejail. LilyPond also has a --jail option predating more modern
sandboxing solutions, but it is recommended to use something else
these days because the slightest mistake in the way --jail is set
up can make it vulnerable. That said, when set up correctly, --jail
is as safe as Firejail or such (namely a lot safer than safe mode).

Best,
Jean




Re: Prototype Frescobaldi in the browser

2022-08-08 Thread Martin Tarenskeen
I have often thought of a different approach. Rather than a web verson 
of Frescobaldi I would like to see a remote server - similar to Lilybin 
- with an API that can be called from within the normal Frescobaldi 
program.


All fancy editing and viewing features of Frescobaldi would already be 
there, only the rendering to pdf/svg/midi would be done by a remote 
server online.


It's already possible to choose between viewing the lilypond 
documentation online or locally and offline inside Frescobaldi. 
Wouldn't it be nice to also be able to choose between a locally 
installed complete Lilypond engine or a remote online Lilypond engine?


When Lilybin was still alive I used little script that was able to call 
lilybin from the commandline and I was able to send a lilypond file and 
getting a PDF and/or MIDI file back - without using the Lilybin 
website, and without having LilyPond installed locally.


This makes me believe it can be done.

Just an  idea.

MT



Op maandag 8 augustus 2022 om 07:35:31 -0700 schreef Knute Snortum 
:

On Mon, Aug 8, 2022 at 4:33 AM Kieren MacMillan
mailto:kie...@kierenmacmillan.info>> 
wrote:


 Hi Andrew,

 > What is the use case for this?


 It was the opening night of my musical, “Robin Hood: The 
Legendary Musical Comedy”. The curtain was at 8PM. At 7:30PM, I 
realized I had not arranged and printed out the piccolo part for the 
overture, as I had promised the player. So I went into the theatre 
office, borrowed their computer, logged on to lilybin, and generated 
a piccolo part which I handed to the player just a few minutes 
before the downbeat.


 I was very grateful for lilybin at that moment — there was no way 
to install lilypond on any machine in the building at that moment 
— and I'm sure in a similar situation, I might be grateful for a 
web-accessible version of Frescobaldi.


For the record, I do not have a laptop.  Also, it looks like
lilybin.com is down (hacklily.org is still working, though) so it
looks like a web version of Frescobaldi would fill a niche.

--
Knute Snortum





Re: Prototype Frescobaldi in the browser

2022-08-08 Thread William
Not passing judgement on this project either way, but there are lots of online 
text editor applications, such as markdown editors or google docs. Some people 
like to use them, others don’t. There are also other web applications which 
apply the real-time-updates feature of google docs in a visual engraving 
software. I guess there’s not really any reason to not have this as an option 
for someone who likes it. 

I’d like to say something else about this web application that OP should keep 
in mind, in case others haven’t brought this up yet. As all of us know, 
lilypond includes many features that are designed to be helpful for users who 
know what they are doing but could be quite dangerous if malicious code is 
parsed, such as the ability to read other files or run system commands. Are you 
planning to run lilypond inside a chroot jail and/or in safe mode? Because safe 
mode clamps down on a lot of the more extended functionality such as scheme 
extensions and even other things such as #(set-global-staff-size). 

I guess copying how lilybin et Al handle this will be fine. 

Sent from my iPhone

> On Aug 8, 2022, at 01:34, Andrew Bernard  wrote:
> 
> How many people need that? Doesn't everybody have a laptop? Let's hear from 
> the OP. I'm curious.
> 
> Andrew
> 
> 
>> On 8/08/2022 1:15 pm, Knute Snortum wrote:
>> Well, I can imagine that it would be useful to be able to move from
>> computer to computer, when you don't necessarily have Frescobaldi
>> installed, especially if you can save to the cloud.
>> 
>> 
> 




Re: Prototype Frescobaldi in the browser

2022-08-08 Thread Knute Snortum
On Mon, Aug 8, 2022 at 4:33 AM Kieren MacMillan
 wrote:
>
> Hi Andrew,
>
> > What is the use case for this?
>
>
> It was the opening night of my musical, “Robin Hood: The Legendary Musical 
> Comedy”. The curtain was at 8PM. At 7:30PM, I realized I had not arranged and 
> printed out the piccolo part for the overture, as I had promised the player. 
> So I went into the theatre office, borrowed their computer, logged on to 
> lilybin, and generated a piccolo part which I handed to the player just a few 
> minutes before the downbeat.
>
> I was very grateful for lilybin at that moment — there was no way to install 
> lilypond on any machine in the building at that moment — and I'm sure in a 
> similar situation, I might be grateful for a web-accessible version of 
> Frescobaldi.

For the record, I do not have a laptop.  Also, it looks like
lilybin.com is down (hacklily.org is still working, though) so it
looks like a web version of Frescobaldi would fill a niche.

--
Knute Snortum



Re: Prototype Frescobaldi in the browser

2022-08-08 Thread Kieren MacMillan
Hi David,

> Hooray for sightreaders.

Agreed! Especially sight-readers who also happen to play [at least] five 
different wind instruments — sometimes in the same piece! (In that show, Kishan 
played flute, piccolo, clarinet, bass clarinet, and recorder.)

Cheers,
Kieren.


Re: Prototype Frescobaldi in the browser

2022-08-08 Thread David Kastrup
Kieren MacMillan  writes:

> Hi Andrew,
>
>> What is the use case for this?
>
>
> It was the opening night of my musical, “Robin Hood: The Legendary
> Musical Comedy”. The curtain was at 8PM. At 7:30PM, I realized I had
> not arranged and printed out the piccolo part for the overture, as I
> had promised the player. So I went into the theatre office, borrowed
> their computer, logged on to lilybin, and generated a piccolo part
> which I handed to the player just a few minutes before the downbeat.

Hooray for sightreaders.

-- 
David Kastrup



Re: Prototype Frescobaldi in the browser

2022-08-08 Thread Kieren MacMillan
Hi Andrew,

> What is the use case for this?


It was the opening night of my musical, “Robin Hood: The Legendary Musical 
Comedy”. The curtain was at 8PM. At 7:30PM, I realized I had not arranged and 
printed out the piccolo part for the overture, as I had promised the player. So 
I went into the theatre office, borrowed their computer, logged on to lilybin, 
and generated a piccolo part which I handed to the player just a few minutes 
before the downbeat.

I was very grateful for lilybin at that moment — there was no way to install 
lilypond on any machine in the building at that moment — and I'm sure in a 
similar situation, I might be grateful for a web-accessible version of 
Frescobaldi.

Cheers,
Kieren.



Re: Prototype Frescobaldi in the browser

2022-08-08 Thread Wols Lists

On 08/08/2022 08:49, Andrew Bernard wrote:

Was just asking, not condemning the idea. Still interested to hear the OP.


Sorry. But when people make assumptions about other people, it does tend 
to push my buttons ... My wife is disabled, my in-laws are elderly, and 
all too often I'm providing tech support where the provider assumes 
their customers are fit and in full possession of all their physical and 
mental capabilities.


You can see why I'm a mite sensitive ...

Cheers,
Wol



Re: Prototype Frescobaldi in the browser

2022-08-08 Thread Andrew Bernard

Was just asking, not condemning the idea. Still interested to hear the OP.

Andrew


On 8/08/2022 4:50 pm, Wols Lists wrote:

On 08/08/2022 06:30, Andrew Bernard wrote:
How many people need that? Doesn't everybody have a laptop? 


WHY SHOULD THEY?

You're making the classic - false - assumption that "everyone else is 
just like me".


A lot of people ONLY have chromebooks, tablets, or (gasp) even just a 
mobile phone.


One of my eternal bugbears is these companies that assume people just 
MUST have a smartphone - elderly people in particular often CAN'T USE 
smartphones ...


Just because *you* can't see a use - well I'm sure the OP can, 
otherwise why would he have created it?


Cheers,
Wol





Re: Prototype Frescobaldi in the browser

2022-08-08 Thread Wols Lists

On 08/08/2022 06:30, Andrew Bernard wrote:
How many people need that? Doesn't everybody have a laptop? 


WHY SHOULD THEY?

You're making the classic - false - assumption that "everyone else is 
just like me".


A lot of people ONLY have chromebooks, tablets, or (gasp) even just a 
mobile phone.


One of my eternal bugbears is these companies that assume people just 
MUST have a smartphone - elderly people in particular often CAN'T USE 
smartphones ...


Just because *you* can't see a use - well I'm sure the OP can, otherwise 
why would he have created it?


Cheers,
Wol



Re: Prototype Frescobaldi in the browser

2022-08-07 Thread Andrew Bernard
How many people need that? Doesn't everybody have a laptop? Let's hear 
from the OP. I'm curious.


Andrew


On 8/08/2022 1:15 pm, Knute Snortum wrote:

Well, I can imagine that it would be useful to be able to move from
computer to computer, when you don't necessarily have Frescobaldi
installed, especially if you can save to the cloud.






Re: Prototype Frescobaldi in the browser [URL correction]

2022-08-07 Thread Mike Blackstock
Someone left this [see attached screenshot] , so I saved it... it's in the
'demo' session folder.
M.


On Sun, Aug 7, 2022 at 5:33 PM Mike Blackstock 
wrote:

> oops, apparently the hash tag in the url is important:
> https://static.blackstock.media/guacamole/#/
>
> On Sun, Aug 7, 2022 at 5:27 PM Mike Blackstock 
> wrote:
>
>> Demo at https://static.blackstock.media/guacamole
>>
>> Login: guest
>> Password: guest
>>
>> Click one of the unused demo sessions.
>>
>> -Mike
>>
>>
>> --
>> https://blackstock.media
>>
>
>
> --
> https://blackstock.media
>


-- 
https://blackstock.media


Re: Prototype Frescobaldi in the browser

2022-08-07 Thread Knute Snortum
On Sun, Aug 7, 2022 at 4:21 PM Andrew Bernard
 wrote:
>
> What is the use case for this?

Well, I can imagine that it would be useful to be able to move from
computer to computer, when you don't necessarily have Frescobaldi
installed, especially if you can save to the cloud.

--
Knute Snortum



Re: Prototype Frescobaldi in the browser

2022-08-07 Thread Andrew Bernard

What is the use case for this?

Andrew





Re: Prototype Frescobaldi in the browser [URL correction]

2022-08-07 Thread Knute Snortum
Interesting.  Some thoughts:

a) how do you get code into and out of the web Frescobaldi?  Copy and
Paste?  If you give people access to a browser, they can use Google
Drive or another cloud product.

b) Any possibility of getting LilyPond version 2.22.2 and 2.23.11?

--
Knute Snortum


On Sun, Aug 7, 2022 at 2:35 PM Mike Blackstock
 wrote:
>
> oops, apparently the hash tag in the url is important:
> https://static.blackstock.media/guacamole/#/
>
> On Sun, Aug 7, 2022 at 5:27 PM Mike Blackstock  
> wrote:
>>
>> Demo at https://static.blackstock.media/guacamole
>>
>> Login: guest
>> Password: guest
>>
>> Click one of the unused demo sessions.
>>
>> -Mike
>>
>>
>> --
>> https://blackstock.media
>
>
>
> --
> https://blackstock.media



Re: Prototype Frescobaldi in the browser [URL correction]

2022-08-07 Thread Valentin Petzel
Hi Mike,

small correction: The # is what coders call a _hash,_ a _hash tag_ is a 
certain way of specifying tags in content by prepending a hash originating 
from twitter.

I do like that this thing comes with KDE Dolphin installed, but I’m not sure 
if this will really be that usable. What we have here is mostly a specialized 
text editor that calls a CLI program. It should be quite possible to create a 
responsive web interface doing exactly that (maybe even using parts of 
Frescobaldi’s python functions under the hood). That also has the benefit of 
being much easier to control how users might interact with the system 
(security concerns?).

The problem with this design is that it simulates a window manager within a 
browser window, which is totally unnecessary, and then has to relay drawing 
and interaction over the webinterface, which is quite laggy.

Cheers,
Valentin

Am Sonntag, 7. August 2022, 23:33:23 CEST schrieb Mike Blackstock:
> oops, apparently the hash tag in the url is important:
> https://static.blackstock.media/guacamole/#/
> 
> On Sun, Aug 7, 2022 at 5:27 PM Mike Blackstock 
> 
> wrote:
> > Demo at https://static.blackstock.media/guacamole
> > 
> > Login: guest
> > Password: guest
> > 
> > Click one of the unused demo sessions.
> > 
> > -Mike
> > 
> > 
> > --
> > https://blackstock.media



signature.asc
Description: This is a digitally signed message part.


Re: Prototype Frescobaldi in the browser [URL correction]

2022-08-07 Thread Guy Stalnaker
Mike - one immediate thing to note - the current privileges expose the root
of the file system. Maybe there are no files outside of /home/* that can be
opened, but perhaps better that anything outside of /home/* not even be
visible.

Will explore more later (Zoom with family now).

Regards,

Guy S
--

“Happiness is the meaning and the purpose of life, the whole aim and end of
human existence.”

― Aristotle


On Sun, Aug 7, 2022 at 4:35 PM Mike Blackstock 
wrote:

> oops, apparently the hash tag in the url is important:
> https://static.blackstock.media/guacamole/#/
>
> On Sun, Aug 7, 2022 at 5:27 PM Mike Blackstock 
> wrote:
>
>> Demo at https://static.blackstock.media/guacamole
>>
>> Login: guest
>> Password: guest
>>
>> Click one of the unused demo sessions.
>>
>> -Mike
>>
>>
>> --
>> https://blackstock.media
>>
>
>
> --
> https://blackstock.media
>


Re: Prototype Frescobaldi in the browser [URL correction]

2022-08-07 Thread Mike Blackstock
oops, apparently the hash tag in the url is important:
https://static.blackstock.media/guacamole/#/

On Sun, Aug 7, 2022 at 5:27 PM Mike Blackstock 
wrote:

> Demo at https://static.blackstock.media/guacamole
>
> Login: guest
> Password: guest
>
> Click one of the unused demo sessions.
>
> -Mike
>
>
> --
> https://blackstock.media
>


-- 
https://blackstock.media


Prototype Frescobaldi in the browser

2022-08-07 Thread Mike Blackstock
Demo at https://static.blackstock.media/guacamole

Login: guest
Password: guest

Click one of the unused demo sessions.

-Mike


-- 
https://blackstock.media


Re: debug scheme part working with Frescobaldi

2022-07-20 Thread Robin Bannister

Eef Weenink wrote:


I have several lines of scheme, somewhere is probably an syntax error.
The only message I get is form lilypond log:  there is an error in the line # 
begin etcetera.
(that is the first line of the scheme segment).
I want to zoom in, and see what specific problem there is, 


I think it is telling you that it doesn't like the  # begin

It is relying on you to realize that it should be  # (begin


Cheers,
Robin




Re: debug scheme part working with Frescobaldi

2022-07-20 Thread Andrew Bernard
I don't know if this is helpful but debug print statements, the last 
resort of the desperate, are sometimes useful.


% simple debug print
#(define (dbg . args)
   "Simple debug console print."
   (cond
    ((not (null? args))
 (display (car args))
 (display " ")
 (apply dbg (cdr args)))
    (else (newline))
    )
   )

Andrew






Re: debug scheme part working with Frescobaldi

2022-07-20 Thread Jean Abou Samra




Le 20/07/2022 à 08:22, Eef Weenink a écrit :

I use 2.22 and arranger.ly <http://arranger.ly> (from Giles Thibault)

My question is more general. (and maybe mostly related to Frescobaldi 
as an enviroment).

I have several lines of scheme, somewhere is probably an syntax error.
The only message I get is form lilypond log:  there is an error in the 
line # begin etcetera.

(that is the first line of the scheme segment).
I want to zoom in, and see what specific problem there is, so I need 
the log of scheme to know what is happening.


I will do some more reading and ask my question in the Frescobalid 
user group.




The Scheme log is not separate from the LilyPond log. Most likely, the
error message is there, but not right next to 'GUILE signaled ...'.
For example:


GNU LilyPond 2.22.2
Processing `-'
Parsing...
 First message is here:
-:3:2: error: GUILE signaled an error for the expression beginning here
#
 (+ 2 '())
Interpreting music...
Preprocessing graphical objects...
Finding the ideal number of pages...
Fitting music on 1 page...
Drawing systems...
Converting to `-.pdf'...
 Actual error message here:
Wrong type: ()


Best,
Jean




Re: debug scheme part working with Frescobaldi

2022-07-20 Thread Eef Weenink
I use 2.22 and arranger.ly<http://arranger.ly> (from Giles Thibault)

My question is more general. (and maybe mostly related to Frescobaldi as an 
enviroment).
I have several lines of scheme, somewhere is probably an syntax error.
The only message I get is form lilypond log:  there is an error in the line # 
begin etcetera.
(that is the first line of the scheme segment).
I want to zoom in, and see what specific problem there is, so I need the log of 
scheme to know what is happening.

I will do some more reading and ask my question in the Frescobalid user group.

Eef





Which version do you use?
What's the exact error message?
Did you read the recent threads about that topic?
p.e. https://lists.gnu.org/archive/html/lilypond-user/2022-07/msg00048.html

Probably easiest to use 2.22.

Cheers,
 Harm


Op 19 jul. 2022, om 21:51 heeft Thomas Morley 
mailto:thomasmorle...@gmail.com>> het volgende 
geschreven:

Am Di., 19. Juli 2022 um 21:40 Uhr schrieb Eef Weenink 
mailto:h.e.ween...@de-erve.nl>>:

So I am start working with scheme parts in my liypond files (using 
arranger.ly<http://arranger.ly>). Using Frescobalid to input all
When compiling I keep getting messages:

GUILE signaleerde een fout voor de hier beginnende expressie

It would be nice to know what error I made. I read I should

\include "guile-debugger.ly<http://guile-debugger.ly>"

so I did, but then the compiling process keeps running untill I break it the 
hard way.

How can I get a good result, the easy (best) way?

regards, Eef





Re: debug scheme part working with Frescobaldi

2022-07-19 Thread Thomas Morley
Am Di., 19. Juli 2022 um 21:40 Uhr schrieb Eef Weenink :
>
> So I am start working with scheme parts in my liypond files (using 
> arranger.ly). Using Frescobalid to input all
> When compiling I keep getting messages:
>
> GUILE signaleerde een fout voor de hier beginnende expressie
>
> It would be nice to know what error I made. I read I should
>
> \include "guile-debugger.ly"
>
> so I did, but then the compiling process keeps running untill I break it the 
> hard way.
>
> How can I get a good result, the easy (best) way?
>
> regards, Eef
>
>

Which version do you use?
What's the exact error message?
Did you read the recent threads about that topic?
p.e. https://lists.gnu.org/archive/html/lilypond-user/2022-07/msg00048.html

Probably easiest to use 2.22.

Cheers,
  Harm



debug scheme part working with Frescobaldi

2022-07-19 Thread Eef Weenink
So I am start working with scheme parts in my liypond files (using 
arranger.ly). Using Frescobalid to input all
When compiling I keep getting messages:

GUILE signaleerde een fout voor de hier beginnende expressie

It would be nice to know what error I made. I read I should

\include "guile-debugger.ly"

so I did, but then the compiling process keeps running untill I break it the 
hard way.

How can I get a good result, the easy (best) way?

regards, Eef




Re: Frescobaldi incantation for lilypond docker image?

2022-07-13 Thread Graham King
Jean, Knute,
many thanks!
It Just Worked (TM).  No dependency-hell.  Most refreshing (although I do feel 
a bit stupid).

> On 13 Jul 2022, at 17:02, Jean Abou Samra  wrote:
> 
>> 2.  If I'm barking up the wrong tree entirely, what is the recommended way 
>> for Frescobaldi to run lilypond at a more recent version than the distro 
>> supplies?
>> 
> 
> 
> There is no need for Docker at all! All versions of LilyPond have always 
> supported being installed in parallel without conflicting. Furthermore, 
> recent versions (2.23.6 and later) are static binaries. They don't even need 
> installation, they can just be unpacked and run.




Re: Frescobaldi incantation for lilypond docker image?

2022-07-13 Thread Jean Abou Samra

Le 13/07/2022 à 16:31, Graham King a écrit :


I'm looking for a way to run a recent lilypond version on Ubuntu 18.04.

Currently, I have a docker image[1] of lilypond 2.23.10 that I can 
invoke successfully from the command line, using:


docker run -v $(pwd):/app -w /app jeandeaual/lilypond:devel lilypond 
foo.ly


The challenge is getting a locally-installed Frescobaldi 3.2 to run 
this image.


In Frescobaldi's Preferences, I've set the lilypond command to:

docker run -v $(pwd):/app -w /app jeandeaual/lilypond:devel lilypond

But when I try to run lilypond from within Frescobaldi, I get the 
following error:


Traceback (most recent call last):

File 
"/home//git/frescobaldi/frescobaldi/frescobaldi_app/engrave/__init__.py", 
line 145, in engravePreview


self.engrave('preview')

File 
"/home//git/frescobaldi/frescobaldi/frescobaldi_app/engrave/__init__.py", 
line 200, in engrave


self.runJob(job_class(doc, args), doc)

File 
"/home//git/frescobaldi/frescobaldi/frescobaldi_app/engrave/__init__.py", 
line 252, in runJob


job.manager.manager(document).start_job(j)

File 
"/home//git/frescobaldi/frescobaldi/frescobaldi_app/job/manager.py", 
line 61, in start_job


job.start()

File 
"/home//git/frescobaldi/frescobaldi/frescobaldi_app/job/__init__.py", 
line 225, in start


self._update_process_environment()

File 
"/home//git/frescobaldi/frescobaldi/frescobaldi_app/job/__init__.py", 
line 304, in _update_process_environment


se.remove(k) if v is None else se.insert(k, v)

TypeError: arguments did not match any overloaded call:

insert(self, str, str): argument 2 has unexpected type 'bool'

insert(self, QProcessEnvironment): argument 1 has unexpected type 'str'

So, two questions:

1.  How should I set up Frescobaldi to run the docker image?




I don't know why Frescobaldi crashes like this. Maybe try to upgrade it?

On the other hand, I don't think what you're doing is expected to work 
in this way (although it shouldn't result in a crash but graceful error 
handling, as it does for me -- the LilyPond version I'm inserting just 
gets a "no entry" symbol). "docker run ..." is a shell command. What you 
need to give to Frescobaldi is just an executable. When it calls 
LilyPond, there is no shell involved. It will likely try to find the 
executable "docker run ...", as if you had done in your shell:


"docker run ..." file.ly

(with quotes to make all that the name of the command being run).

If you really want Docker (but see below), you can put this in a script 
somewhere, called for example lilypond-docker.sh:


#!/bin/bash
docker run ... "$@"

Then you can use the full path to lilypond-docker.sh as the LilyPond 
executable in Frescobaldi.



2.  If I'm barking up the wrong tree entirely, what is the recommended 
way for Frescobaldi to run lilypond at a more recent version than the 
distro supplies?





There is no need for Docker at all! All versions of LilyPond have always 
supported being installed in parallel without conflicting. Furthermore, 
recent versions (2.23.6 and later) are static binaries. They don't even 
need installation, they can just be unpacked and run.


So, just download 2.23.10 from https://lilypond.org/development.html, 
unpack the archive, and in Frescobaldi, enter the full path 
/.../lilypond-2.23.10/bin/lilypond. And your LilyPond will be usable 
right away.


Best,
Jean




Re: Frescobaldi incantation for lilypond docker image?

2022-07-13 Thread Knute Snortum
On Wed, Jul 13, 2022 at 7:32 AM Graham King  wrote:
>
> I'm looking for a way to run a recent lilypond version on Ubuntu 18.04.

I would think you could just download LilyPond from the GNU/Linux download
page:

https://lilypond.org/unix.html


--
Knute Snortum


Frescobaldi incantation for lilypond docker image?

2022-07-13 Thread Graham King

I'm looking for a way to run a recent lilypond version on Ubuntu 18.04.

Currently, I have a docker image[1] of lilypond 2.23.10 that I can 
invoke successfully from the command line, using:


docker run -v $(pwd):/app -w /app jeandeaual/lilypond:devel lilypond 
foo.ly


The challenge is getting a locally-installed Frescobaldi 3.2 to run this 
image.


In Frescobaldi's Preferences, I've set the lilypond command to:

docker run -v $(pwd):/app -w /app jeandeaual/lilypond:devel lilypond

But when I try to run lilypond from within Frescobaldi, I get the 
following error:


Traceback (most recent call last):

File 
"/home//git/frescobaldi/frescobaldi/frescobaldi_app/engrave/__init__.py", 
line 145, in engravePreview


self.engrave('preview')

File 
"/home//git/frescobaldi/frescobaldi/frescobaldi_app/engrave/__init__.py", 
line 200, in engrave


self.runJob(job_class(doc, args), doc)

File 
"/home//git/frescobaldi/frescobaldi/frescobaldi_app/engrave/__init__.py", 
line 252, in runJob


job.manager.manager(document).start_job(j)

File 
"/home//git/frescobaldi/frescobaldi/frescobaldi_app/job/manager.py", 
line 61, in start_job


job.start()

File 
"/home//git/frescobaldi/frescobaldi/frescobaldi_app/job/__init__.py", 
line 225, in start


self._update_process_environment()

File 
"/home//git/frescobaldi/frescobaldi/frescobaldi_app/job/__init__.py", 
line 304, in _update_process_environment


se.remove(k) if v is None else se.insert(k, v)

TypeError: arguments did not match any overloaded call:

insert(self, str, str): argument 2 has unexpected type 'bool'

insert(self, QProcessEnvironment): argument 1 has unexpected type 'str'

So, two questions:

1.  How should I set up Frescobaldi to run the docker image?

2.  If I'm barking up the wrong tree entirely, what is the recommended 
way for Frescobaldi to run lilypond at a more recent version than the 
distro supplies?


Grateful, as ever, for your insights

-- Graham

[1] from https://hub.docker.com/r/jeandeaual/lilypond

Re: Playback using Frescobaldi?

2022-06-23 Thread Karlin High

On 6/23/2022 9:15 AM, Kira Garvie wrote:

I hope I can figure something out from your answers


I don't see anyone asked this: What operating system are you using? 
Windows, Linux, Mac?

--
Karlin High
Missouri, USA



Re: Playback using Frescobaldi?

2022-06-23 Thread Kira Garvie
Thank you all for the help! Some of this is above my head - a
timidity-daemon sounds like something out of a book... I hope I can figure
something out from your answers, I am sorry I am not yet very savvy with
these programs!

On Thu, Jun 23, 2022 at 2:39 AM Vaughan McAlley 
wrote:

> On Wed, 22 June 2022, 17:33 Henning Hraban Ramm, 
> wrote:
>
>> Am 21.06.22 um 18:17 schrieb Guy Stalnaker:
>> > MacOS -- LONG ago I used to use Homebrew on a MacOS laptop to install
>> > and use QSynth/fluidsynth, so I know at one point that was possible.
>> > Perhaps it still is, but I cannot say for certain. Other users on this
>> > email list may have more recent experience with MacOS.
>>
>> You can install QSynth/fluidsynth via MacPorts (probably still also via
>> Homebrew, it’s a matter of taste).
>>
>> Same as for other systems: Start QSynth before Frescobaldi, and it
>> usually just works (otherwise check the MIDI preferences and reload the
>> MIDI ports).
>>
>> Hraban
>>
>
>>
>
>
> It looks like MidiPipe is still alive. It’s one of the things I miss most
> from my time on Mac:
> http://www.subtlesoft.square7.net/MidiPipe.html
>
> Vaughan
>
>


<    1   2   3   4   5   6   7   8   9   10   >