Melodeon.net Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the new melodeon.net forum

Pages: [1]   Go Down

Author Topic: EasyABC error with Sonoma macOS  (Read 3284 times)

0 Members and 1 Guest are viewing this topic.

smiley

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1021
  • Folk music: it's not as bad as it sounds
    • a few sound clips
EasyABC error with Sonoma macOS
« on: December 16, 2023, 07:05:50 AM »

After installing Sonoma 14.2 on my Macbook I get the following error message when firing up EasyABC v.1.3.8

"The executable usr/bin/pstopdf  could not be found"

EasyABC had been working properly before I upgraded the macOS and reinstalled EasyABC. Now when I try to save as PDF I get a ghostscript error - see the screenshot attached. I'm just a basic user and thought I'd ask here first, in case there's a known fix. As far as I can tell I don't have the pstopdf file anywhere on my Mac.

Logged

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: EasyABC error with Sonoma macOS
« Reply #1 on: December 16, 2023, 08:13:22 AM »

I have used EasyABC on a Macintosh (a long time ago), but I'm not a regular Mac user so this is very speculative but I'm guessing that EasyABC doesn't know where your Ghostscript files are located...

When you fire up EasyABC, select

Settings>ABC Settings>File Settings

You should then see a menu which comprises a list of executable files and their locations.

The Ghostscript location is likely to be empty

Browse your machine till you find the location of your Ghostscript executable(s) and make sure that this is the file entered in the Ghostscript box in the menu.

That may fix the problem.

The fly in the ointment may be the 'pstopdf' message - maybe that's a Mac utility which operates outside EasyABC?
« Last Edit: December 16, 2023, 08:56:14 AM by Roger Hare »
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

Fionn

  • Regular debater
  • ***
  • Offline Offline
  • Posts: 194
Re: EasyABC error with Sonoma macOS
« Reply #2 on: December 16, 2023, 10:20:38 AM »

The problem might be that they got rid of PostScript in Sonoma, as it was seen as a security risk. There might, with a bit of digging, be a workaround to be found?

An alternative would be to convert ABC to staff or tab and export PDFs using Michael Eskin's excellent tool:

https://michaeleskin.com/abctools/abctools.html

No application to install, it runs in the browser.

Logged
Vintage Double Ray C#/D

Anahata

  • This mind intentionally left blank
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6767
  • Oakwood D/G, C/F Club, 1-rows in C,D,G
    • Treewind Music
Re: EasyABC error with Sonoma macOS
« Reply #3 on: December 16, 2023, 11:30:14 AM »

Is there not a way of reinstalling ghostscript on the Mac, following the MacOS upgrade?
(I'm not a Mac user, but on Linux, which is similar at the raw OS level, it's a one line command to install it)

The problem might be that they got rid of PostScript in Sonoma, as it was seen as a security risk.

Security problems come up with all software and get fixed. I doubt there's a permanent security problem designed into Ghostscript that makes it unusable. I hope not, anyway!
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Fionn

  • Regular debater
  • ***
  • Offline Offline
  • Posts: 194
Re: EasyABC error with Sonoma macOS
« Reply #4 on: December 16, 2023, 07:20:13 PM »

Security problems come up with all software and get fixed. I doubt there's a permanent security problem designed into Ghostscript that makes it unusable. I hope not, anyway!

I'm not aware of anything wrong with the Ghostscript app itself. But Apple has removed the pstopdf functionality due to security concerns (I can't pretend I understand the detail), and EasyABC seems to depend on it. It might work if Ghostscript or another converter is linked up to it, I'm not sure.


Edited to add: Here's a blog post on it, which is substantially better informed than I am!

https://eclecticlight.co/2023/09/25/postscripts-sudden-death-in-sonoma/
« Last Edit: December 16, 2023, 07:24:13 PM by Fionn »
Logged
Vintage Double Ray C#/D

smiley

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1021
  • Folk music: it's not as bad as it sounds
    • a few sound clips
Re: EasyABC error with Sonoma macOS
« Reply #5 on: December 16, 2023, 10:37:31 PM »


But Apple has removed the pstopdf functionality due to security concerns (I can't pretend I understand the detail), and EasyABC seems to depend on it.

 f**k Apple!

I tried using Michael Eskin's tool and found it really fiddly to export my ABC to PDF in the format I want.
Is there another ABC app for the latest MacOS that has similar functionality to EasyABC?
Logged

Anahata

  • This mind intentionally left blank
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6767
  • Oakwood D/G, C/F Club, 1-rows in C,D,G
    • Treewind Music
Re: EasyABC error with Sonoma macOS
« Reply #6 on: December 17, 2023, 12:09:28 AM »

Edited to add: Here's a blog post on it, which is substantially better informed than I am!

https://eclecticlight.co/2023/09/25/postscripts-sudden-death-in-sonoma/

Thanks for that - interesting, if rather depressing. I'd expect it to break a fair amount of software.
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: EasyABC error with Sonoma macOS
« Reply #7 on: December 18, 2023, 08:51:52 AM »


But Apple has removed the pstopdf functionality due to security concerns (I can't pretend I understand the detail), and EasyABC seems to depend on it.

 f**k Apple!

I tried using Michael Eskin's tool and found it really fiddly to export my ABC to PDF in the format I want.
Is there another ABC app for the latest MacOS that has similar functionality to EasyABC?

What format do you want?
Logged

Tone Dumb Greg

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 4955
    • Dartmoor Border Morris
Re: EasyABC error with Sonoma macOS
« Reply #8 on: December 18, 2023, 11:07:18 AM »

Is this an issue that is likely to affect PC users anytime soon?
Logged
Greg Smith
DG/GC Pokerwork, DG 2.4 Saltarelle, pre-war CF Hohner, Hohner 1040 Vienna style, old  BbEb Hohner that needs a lot of work.

ACCORDION, n. An instrument in harmony with the sentiments of an assassin. Ambrose Bierce

Anahata

  • This mind intentionally left blank
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6767
  • Oakwood D/G, C/F Club, 1-rows in C,D,G
    • Treewind Music
Re: EasyABC error with Sonoma macOS
« Reply #9 on: December 18, 2023, 12:35:03 PM »

Is this an issue that is likely to affect PC users anytime soon?
Good question.
I found this, which describes how Postscript is rather vulnerable to exploitation, but is the only Postscript interpreter that's available:
https://www.techtarget.com/searchsecurity/tip/More-Ghostscript-vulnerabilities-more-PostScript-problems

"This begs the question of whether users should try to avoid the Ghostscript software altogether -- which, in itself, is problematic because Ghostscript is the only open source PostScript parser available. A safer alternative does not exist."

It looks like eventually we'll all be using PDF instead of Postscript, but there's a lot of legacy media and software that can't easily be simply thrown away.
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Tone Dumb Greg

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 4955
    • Dartmoor Border Morris
Re: EasyABC error with Sonoma macOS
« Reply #10 on: December 18, 2023, 01:02:54 PM »

...It looks like eventually we'll all be using PDF instead of Postscript, but there's a lot of legacy media and software that can't easily be simply thrown away.

Is this the end of free software that can make PDF type documents, or will it encourage the development of open source alternatives to pdf documents for popular use? I don't know enough about this to even  know if my question makes sense.  :-[
Logged
Greg Smith
DG/GC Pokerwork, DG 2.4 Saltarelle, pre-war CF Hohner, Hohner 1040 Vienna style, old  BbEb Hohner that needs a lot of work.

ACCORDION, n. An instrument in harmony with the sentiments of an assassin. Ambrose Bierce

smiley

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1021
  • Folk music: it's not as bad as it sounds
    • a few sound clips
Re: EasyABC error with Sonoma macOS
« Reply #11 on: December 18, 2023, 09:09:49 PM »

What format do you want?

Here's an example of something I did using EasyABC. The way it works has become intuitive for me, so I'd really like to continue using EasyABC if possible.

%%barsperstaff 4
%%staffsep 70
%%barnumbers 4
X:1
T:Trio no.1
C:Joseph Haydn (1732-1808)
L:1/8
M:C
K:C
"Allegro moderato"
V:1 name="Violin 1" scale=1.2
G|c4e4|(d>e f)Bc2zG|g3a/b/ (c'bag)|g2Tf2e2z2|
!mf!(d4e4)|(f>g a)aa2zf|egfd cedB|c2z2z4|
z8|c4c'4|b>c' d'c' .b.a.g.f|e4^g4|
a3^g agab|c'3^g agab|c'2b2a2=g2|(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,F,,|F,,F,,F,,F,, ^F,,F,,F,,F,,|G,,G,,G,,G,, G,,G,,G,,G,,|G,,G,,G,,G,, G,,G,,G,,G,,|
G,,2z(^F,,G,,2)zF,,|.G,,2.G,,2.G,,2z2|C,CCC CCCC|CCCC CCCC|
CCCC CCCC|G,G,A,B, CCDE|F4E4|D3C B,>C DG,|C2F,2G,2G,,2|
C,CB,A, G,F,E,^F,|G,2z2z4|C,CB,A, G,F,E,^F,|G,2z2z4|
CCCC CCEE|FF^CC DD=CC|B,B,B,B, CCB,B,|
A,A,A,A, B,B,B,B,|D.E,.G,.C z.F,.A,.D|z.G,.B,.E A,A,/B,/ C/D/E/F/|B,4G,2B,,2|
C,G,,C,G,, C,G,,C,G,,|G,G,,F,G,, D,G,,G,G,,|C,G,,E,G,, C,G,,E,G,,|G,G,,F,G,, D,G,,G,G,,|
C,C,E,E, F,F,A,A,|G,G,G,G, G,,G,,G,,G,,|C,2z2(C2B,2)|A,6G,2|
F,2z2z2zB,|C2F,2G,2G,,2|C,2z2(C2B,2)|A,6G,2|
(F,2^F,2G,2_A,2)|=A,8|G,4G,,4|C,,E,,G,,C, G,,B,,D,F,|(C,E,G,C) G,,B,,D,G,|C,C,G,,E,,C,,2z:|
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions
Re: EasyABC error with Sonoma macOS
« Reply #12 on: December 19, 2023, 02:48:12 AM »

Your Haydn transcription works beautifully in my ABC Transcription Tools:

https://tinyurl.com/5axrcpt7

I added a Q:130 tag to set the tempo. That's it.

If you want to get to the editor, close the player and close the full screen view by clicking the Zoom arrow in the upper right corner.

You can even generate a PDF right from the full-screen view without entering my ABC editor, by clicking the PDF button in the lower left corner.

As far as the future of PDF generation, that's exactly what my ABC Transcription Tools are for.

It runs completely client-side in the browser (no server required) and written entirely in Javascript, open source, and free.

You can even download the source from my GitHub repo, unzip the archive, and just run the abctools.html to run it completely locally.

https://michaeleskin.com/abc

User guide

https://michaeleskin.com/abctools/userguide
Logged

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: EasyABC error with Sonoma macOS
« Reply #13 on: December 19, 2023, 06:13:16 AM »

Here's an example of something I did using EasyABC. The way it works has become intuitive for me, so I'd really like to continue using EasyABC if possible....
I think there may be a 'missing' barline at the end of bar 80 towards the end of voice 3?

c8|c3e(edcB)|c2z2!p!(e2d2|c8)

should be:

c8|c3e(edcB)|c2z2!p!(e2d2|c8) |

Would that have any effect on a Mac, or using ME's program?
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

smiley

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1021
  • Folk music: it's not as bad as it sounds
    • a few sound clips
Re: EasyABC error with Sonoma macOS
« Reply #14 on: December 21, 2023, 05:23:01 AM »

Well Roger, I'm impressed that you went through all those lines of ABC! I don't know if that missing barline would make much difference.
Logged

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé
Re: EasyABC error with Sonoma macOS
« Reply #15 on: December 21, 2023, 07:41:44 PM »

Well Roger, I'm impressed that you went through all those lines of ABC! I don't know if that missing barline would make much difference.

Nah! Sometimes a fresh eyeball spots an 'error' straight away - I'm sort of 'sensitised' to looking for a barline at the end of a line, and get jittery when I don't see one.... You're right though, I got around to trying it earlier today, and it didn't seem to make much difference...
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.
Pages: [1]   Go Up
 


Melodeon.net - (c) Theo Gibb; Clive Williams 2010. The access and use of this website and forum featuring these terms and conditions constitutes your acceptance of these terms and conditions.
SimplePortal 2.3.5 © 2008-2012, SimplePortal