We would be glad to post a 64-bit version for macOS 10.15 if someone could
create one for us from the sourcecode. Neither of us have access to a macOS 10.15
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Today, I got quite success too. With Githubs (almost) 1.3.7.8 version. It doesn't require much changes (the biggest change is in setup.py to make proper working EasyABC.app using py2app, other changes are rather not really necessary).
I got source from https://github.com/jwdj/EasyABC + minimal patch.
If I uncomment def MacOpenFile in easy_abc.py I got also working drag'n'drop of abc files (unfortunatelly the dup window, mentioned in github version of easy_abc.py, too).
I'll try 1.3.7.7 version again.
EDIT: Got it. With Werner Schönfeldingers post help + github version help I have patch for working EasyABC.app 1.3.7.7.
EDIT2: Oh no :-(. Version 1.3.7.7 crashes when I tried to write "X:1" into abc field.
EDIT3: Ok, according to github version, there is some trouble with self.cur_page_combo.Select() when cur_page_combo is empty. Patching lines on 1.3.7.7 according to gihub version seems to work.
Patchfile updated
I've been looking at this too. Part of the problem is that there are so many variables: Macos version, available Macos architectures (ppc and/or i386 and/or x86_64), Python major version (2.7 or 3), Python minor version, Python build (at least python.org vs. Homebrew), wxPython version, etc.
This is where I've got to on Macos 10.14.6 (Mojave), Homebrew Python 3.7.4, wxPython "4.0.6 osx-cocoa (phoenix) wxWidgets 3.0.5", EasyABC from Github commit 6aca22:
easy_abc.py runs from the command line. Playing music fails with a 'KeyError' unless you've changed the state of the 'Follow Music' checkbox at least once (failure to initialise something?). I'd expect this to manifest on Windows/Unix too.
Building a stand alone app is problematic:
1) There's an incompatibility between wxpython and py2app:
Either of the suggested workarounds (symlinking the missing libraries or adding --packages=wx to build) seem to work.
2) Need to remove 'email' from the 'excludes' py2app option in setup.py because one of the system HTTP libraries imports this unconditionally.
This lets the build run, though with warnings that I don't entirely understand. But the built app seems to hang with no error message sometime after displaying the (expected) warning about MIDI recording not working because pygame/pypm are missing.It's interruptible though, so it could be that the graphical environment is just failing to initialise for some reason. I had similar experience also from the command line earlier trying using the code from GitHub commit f071c1 to avoid problems (since fixed) with fluidsynth.
And that's where I ran out of time on Sunday. I'll try to get back to this soon.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1) There's an incompatibility between wxpython and py2app.
Either of the suggested workarounds (symlinking the missing libraries or adding --packages=wx to build) seem to work.
...
2) Need to remove 'email' from the 'excludes' py2app option in setup.py because one of the system HTTP libraries imports this unconditionally.
I know about that, that's why I changed setup.py.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Dear Jon,
Thanks very much for your efforts. I use easyABC as my primary traditional music tool. I was hesitant to upgrade to Catilina due to your software incompatibility. I simply didn't want another package to replce what your's does so easily. I've uploaded your beta version and my brief review of it works well (on Mojave) . I'll continue to test it and then, if successful upgrade to Catilina. Thanks, John S.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If you need EasyABC I would caution against upgrading to Catilina until there is more confedence that the new build works there. Much has changed in Catelena in addition to the requirement for 64-bit apps, and as yet we have no confirmation that the new build will actually work there.
Last edit: Jon Warbrick 2019-10-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
1) To my list of variables I should add xCode version (I'm uisng 11.0) which, in particular, lacks support for building i386 binaries.
2) As far as I can see the macOS versions of abc2midi/midi2abc/abc2abc/abcm2ps from https://sourceforge.net/projects/abcplus/ are all 64-bit (and only 64-bit, so already don't work on 32-bit nly machines). The versions bundled in the 1.3.7.7 distribution seem to be dual ppc/i386.
This may all mean that anyone using macs that don't support 64-bit is going to be stuck on EasyABC1.3.7.7 since at least I can't build 32-bit apps any more.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This just supports 64-bit capable machines. At the moment I don't know if it actually runs under 10.15 (Catalina) to which I don’t currently have access. If it runs for you then please let me know. If it doesn't, please tell me how it fails.
One problem is that the image is almost 3* bigger than the previous one - probably because it preloads the entire wxPython package to work around the py2app issues mentioned previously.
Other issues (both stand alone and packaged) are:
1) EasyABC currently crashes with 'Segmentation fault: 11’ if you open more than one window and then close one of them with the red ‘close’ button on the window.
2) If you hit the stop button (whether or not you are playing music) some junk appears to the left and above the play button. This seems to be harmless.
There are probably other problems. When you find them please let me know.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I just installed Catalina in a VM (Parallels) and installed the 64 bitversion available at brsn.org.uk/easyabc.
The application starts and I can enter a tune. I do get the following error when trying to play the tune. (see attachment)
I checked the cache folder and the file is in there. So apparently it isn't recognized as midi.
(this is a vanilla install of both the OS and 64bit easyABC. so maybe I have to install something additional?)
This seems to be the result of a problem in the GUI library used by EasyABC when it's run under Catalina. It's beyone my skill to fix but I've reported it to the GUI tool maintainers: https://github.com/wxWidgets/Phoenix/issues/1413 and we may have to wait until they can fix it.
In the meantime one possible work around would be to use a alternative way of playing the music that uses FluidSynth and which does work on Windows. 'll look into this whan I have a chance.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have Catalina installed and downloaded 64 bit EasyAbc. It reads and displays the titles and ABC code, but no Music score is displayed. It does not play also.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the report. Not displaying the music is a new trick that I haven't seen. I've added it to the list of things to investigate (which is at https://github.com/jw35/EasyABC/issues)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It would be really useful if you could let us have a copy of any messages that appear in the Internals/Messages display when you try to display music. [Click on the 'Internals' menu and choose 'Messages'; select all the text in the box that appears and from the Edit menu choose copy. Paste this text into your web browser or email program]. Ta.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Jon,
for some reason I couldn't copy and paste the message so I hand copied it
below.
AbcToSvg
/Volumes/EasyABC 1.3.6.2 /EasyABC. app/Contents/Resources/bin/abcm2ps- -0
temp.fd202126-7d86-4457-b053-83abc80a9f21-.svg-v-A
-F/Users/japaterson/Desktop/Alan's ABC tune file. txt
It would be really useful if you could let us have a copy of any messages
that appear in the Internals/Messages display when you try to display
music. [Click on the 'Internals' menu and choose 'Messages'; select all
the text in the box that appears and from the Edit menu choose copy. Paste
this text into your web browser or email program]. Ta.
Your copy of EasyABC 1.3.7.8 is trying to use a copy of abcm2ps that was distributed with EasyABC 1.3.6.2, probably becasue that's also installed on your machine. That's unlikely to work becasue that version of abcm2ps probably isn't built with 64-bit support. That would explain what you are seeing.
EasyABC 1.3.7.8 includes a copy of abcm2ps that will work. It looks as if going to 'Settings- --> 'ABC Settings', selecting the 'File Settings' tab, deleting all the paths in all the text boxes and clicking 'Restore settings' should set things up correctly.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Jon,
I did what you suggested. I also got rid of all prior Easy ABC files on my
computer and reloaded the App again. I still have no music score displayed.
The message under Internals is shown on the attached screen shot. I could
not copy and paste. In fact lots of actions that used to work on the mac
seem to have been changed in Catalina, including running apps from
"unidentified developers". The actual message is many pages long the shot
shows the top of the page and the first few lines.
Thank you for all your efforts,
Your copy of EasyABC 1.3.7.8 is trying to use a copy of abcm2ps that was
distributed with EasyABC 1.3.6.2, probably becasue that's also installed on
your machine. That's unlikely to work becasue that version of abcm2ps
probably isn't built with 64-bit support. That would explain what you are
seeing.
EasyABC 1.3.7.8 includes a copy of abcm2ps that will work. It looks as if
going to 'Settings- --> 'ABC Settings', selecting the 'File Settings' tab,
deleting all the paths in all the text boxes and clicking 'Restore
settings' should set things up correctly.
I've just installed EasyABC 1.3.7.8 2019-10-09 on a Mac running 10.15.1. It's a clean install - so no previous EasyABC components ( it's a new Mac in fact ).
EasyABC starts and I can load .abc files ; and it displays scores correctly ; although the control bar looks a bit fuzzy.
It won't play a score though - I get this message
Unable to load /Users/andrew/Library/Application Support/EasyABC/cache/tempfcffcac0-4bbb-43b4-ac82-3a20aec54d52.midi: Unsupported format?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We would be glad to post a 64-bit version for macOS 10.15 if someone could
create one for us from the sourcecode. Neither of us have access to a macOS 10.15
64 bit binaries have been around for a long time. You do not need 10.15 to build or test a 64 bit binary.
We do not have any Mac.
I'd like to help, but ... is anyone willing to help me how to build or even run from source?
EDIT: solved
Last edit: kmarty 2019-10-10
After several patched files (mostly because of "print whatever" => "print(whatever)" I have this state:
...
EDIT: solved
Last edit: kmarty 2019-10-10
I got it just working: with wx4.0.6 and python 3:
In file easy_abc.py i made the following changes:
it looks good if i use my locally compiled abcm2ps version....
Last edit: Werner Schönfeldinger 2019-10-09
Today, I got quite success too. With Githubs (almost) 1.3.7.8 version. It doesn't require much changes (the biggest change is in setup.py to make proper working EasyABC.app using py2app, other changes are rather not really necessary).
I got source from https://github.com/jwdj/EasyABC + minimal patch.
If I uncomment def MacOpenFile in easy_abc.py I got also working drag'n'drop of abc files (unfortunatelly the dup window, mentioned in github version of easy_abc.py, too).
I'll try 1.3.7.7 version again.
EDIT: Got it. With Werner Schönfeldingers post help + github version help I have patch for working EasyABC.app 1.3.7.7.
EDIT2: Oh no :-(. Version 1.3.7.7 crashes when I tried to write "X:1" into abc field.
EDIT3: Ok, according to github version, there is some trouble with self.cur_page_combo.Select() when cur_page_combo is empty. Patching lines on 1.3.7.7 according to gihub version seems to work.
Patchfile updated
Last edit: kmarty 2019-10-10
I've been looking at this too. Part of the problem is that there are so many variables: Macos version, available Macos architectures (ppc and/or i386 and/or x86_64), Python major version (2.7 or 3), Python minor version, Python build (at least python.org vs. Homebrew), wxPython version, etc.
This is where I've got to on Macos 10.14.6 (Mojave), Homebrew Python 3.7.4, wxPython "4.0.6 osx-cocoa (phoenix) wxWidgets 3.0.5", EasyABC from Github commit 6aca22:
easy_abc.py runs from the command line. Playing music fails with a 'KeyError' unless you've changed the state of the 'Follow Music' checkbox at least once (failure to initialise something?). I'd expect this to manifest on Windows/Unix too.
Building a stand alone app is problematic:
1) There's an incompatibility between wxpython and py2app:
https://bitbucket.org/ronaldoussoren/py2app/issues/252/py2app-creates-broken-bundles-with
https://bitbucket.org/ronaldoussoren/py2app/issues/254/traceback-reason-image-not-found-on-mac
Either of the suggested workarounds (symlinking the missing libraries or adding --packages=wx to build) seem to work.
2) Need to remove 'email' from the 'excludes' py2app option in setup.py because one of the system HTTP libraries imports this unconditionally.
This lets the build run, though with warnings that I don't entirely understand. But the built app seems to hang with no error message sometime after displaying the (expected) warning about MIDI recording not working because pygame/pypm are missing.It's interruptible though, so it could be that the graphical environment is just failing to initialise for some reason. I had similar experience also from the command line earlier trying using the code from GitHub commit f071c1 to avoid problems (since fixed) with fluidsynth.
And that's where I ran out of time on Sunday. I'll try to get back to this soon.
I know about that, that's why I changed setup.py.
Dear Jon,
Thanks very much for your efforts. I use easyABC as my primary traditional music tool. I was hesitant to upgrade to Catilina due to your software incompatibility. I simply didn't want another package to replce what your's does so easily. I've uploaded your beta version and my brief review of it works well (on Mojave) . I'll continue to test it and then, if successful upgrade to Catilina. Thanks, John S.
If you need EasyABC I would caution against upgrading to Catilina until there is more confedence that the new build works there. Much has changed in Catelena in addition to the requirement for 64-bit apps, and as yet we have no confirmation that the new build will actually work there.
Last edit: Jon Warbrick 2019-10-17
Two otherpoints:
1) To my list of variables I should add xCode version (I'm uisng 11.0) which, in particular, lacks support for building i386 binaries.
2) As far as I can see the macOS versions of abc2midi/midi2abc/abc2abc/abcm2ps from https://sourceforge.net/projects/abcplus/ are all 64-bit (and only 64-bit, so already don't work on 32-bit nly machines). The versions bundled in the 1.3.7.7 distribution seem to be dual ppc/i386.
This may all mean that anyone using macs that don't support 64-bit is going to be stuck on EasyABC1.3.7.7 since at least I can't build 32-bit apps any more.
The latest GutHub version seems to build and run as a 64-bit app at least under 10.14. I’ve put a copy of the resulting disk image at
https://brsn.org.uk/easyabc/
This just supports 64-bit capable machines. At the moment I don't know if it actually runs under 10.15 (Catalina) to which I don’t currently have access. If it runs for you then please let me know. If it doesn't, please tell me how it fails.
One problem is that the image is almost 3* bigger than the previous one - probably because it preloads the entire wxPython package to work around the py2app issues mentioned previously.
Other issues (both stand alone and packaged) are:
1) EasyABC currently crashes with 'Segmentation fault: 11’ if you open more than one window and then close one of them with the red ‘close’ button on the window.
2) If you hit the stop button (whether or not you are playing music) some junk appears to the left and above the play button. This seems to be harmless.
There are probably other problems. When you find them please let me know.
Hi, I just installed Catalina in a VM (Parallels) and installed the 64 bitversion available at brsn.org.uk/easyabc.
The application starts and I can enter a tune. I do get the following error when trying to play the tune. (see attachment)
I checked the cache folder and the file is in there. So apparently it isn't recognized as midi.
(this is a vanilla install of both the OS and 64bit easyABC. so maybe I have to install something additional?)
Hope this helps.
P
I've managed to reproduce this under Catelina and I'll see if I can work out what's happening. Thanks for the report.
This seems to be the result of a problem in the GUI library used by EasyABC when it's run under Catalina. It's beyone my skill to fix but I've reported it to the GUI tool maintainers: https://github.com/wxWidgets/Phoenix/issues/1413 and we may have to wait until they can fix it.
In the meantime one possible work around would be to use a alternative way of playing the music that uses FluidSynth and which does work on Windows. 'll look into this whan I have a chance.
I have Catalina installed and downloaded 64 bit EasyAbc. It reads and displays the titles and ABC code, but no Music score is displayed. It does not play also.
Thanks for the report. Not displaying the music is a new trick that I haven't seen. I've added it to the list of things to investigate (which is at https://github.com/jw35/EasyABC/issues)
It would be really useful if you could let us have a copy of any messages that appear in the Internals/Messages display when you try to display music. [Click on the 'Internals' menu and choose 'Messages'; select all the text in the box that appears and from the Edit menu choose copy. Paste this text into your web browser or email program]. Ta.
Hi Jon,
for some reason I couldn't copy and paste the message so I hand copied it
below.
AbcToSvg
/Volumes/EasyABC 1.3.6.2 /EasyABC. app/Contents/Resources/bin/abcm2ps- -0
temp.fd202126-7d86-4457-b053-83abc80a9f21-.svg-v-A
-F/Users/japaterson/Desktop/Alan's ABC tune file. txt
On Thu, Oct 24, 2019 at 6:22 AM Jon Warbrick jw35@users.sourceforge.net
wrote:
Related
Tickets:
#23Your copy of EasyABC 1.3.7.8 is trying to use a copy of abcm2ps that was distributed with EasyABC 1.3.6.2, probably becasue that's also installed on your machine. That's unlikely to work becasue that version of abcm2ps probably isn't built with 64-bit support. That would explain what you are seeing.
EasyABC 1.3.7.8 includes a copy of abcm2ps that will work. It looks as if going to 'Settings- --> 'ABC Settings', selecting the 'File Settings' tab, deleting all the paths in all the text boxes and clicking 'Restore settings' should set things up correctly.
Hi Jon,
I did what you suggested. I also got rid of all prior Easy ABC files on my
computer and reloaded the App again. I still have no music score displayed.
The message under Internals is shown on the attached screen shot. I could
not copy and paste. In fact lots of actions that used to work on the mac
seem to have been changed in Catalina, including running apps from
"unidentified developers". The actual message is many pages long the shot
shows the top of the page and the first few lines.
Thank you for all your efforts,
On Fri, Oct 25, 2019 at 3:24 AM Jon Warbrick jw35@users.sourceforge.net
wrote:
Related
Tickets:
#23OK, I'm a bit out of ideas on this. I'll see if I can come up with something.
The ABC version is 1.3.7.8
I've just installed EasyABC 1.3.7.8 2019-10-09 on a Mac running 10.15.1. It's a clean install - so no previous EasyABC components ( it's a new Mac in fact ).
EasyABC starts and I can load .abc files ; and it displays scores correctly ; although the control bar looks a bit fuzzy.
It won't play a score though - I get this message
Unable to load /Users/andrew/Library/Application Support/EasyABC/cache/tempfcffcac0-4bbb-43b4-ac82-3a20aec54d52.midi: Unsupported format?