Menu

#23 64 bit version for macOS 10.15 ?

1.0
closed
None
2021-09-19
2019-06-05
Alan
No

Will there be a 64-bit version of EasyABC for use on macOS 10.15?

Related

Tickets: #23

Discussion

1 2 3 > >> (Page 1 of 3)
  • seymour shlien

    seymour shlien - 2019-06-05

    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

     
  • Alan

    Alan - 2019-06-05

    64 bit binaries have been around for a long time. You do not need 10.15 to build or test a 64 bit binary.

     
  • seymour shlien

    seymour shlien - 2019-06-05

    We do not have any Mac.

     
    • kmarty

      kmarty - 2019-10-08

      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
      • kmarty

        kmarty - 2019-10-08

        After several patched files (mostly because of "print whatever" => "print(whatever)" I have this state:
        ...
        EDIT: solved

         

        Last edit: kmarty 2019-10-10
  • Werner Schönfeldinger

    I got it just working: with wx4.0.6 and python 3:

    In file easy_abc.py i made the following changes:

    • Fixed the print-Errors
    • Fixed StringType --> import types from *
    • commented out wx.Yield()
    • commented out self.GetMenuBar().SetDropTarget(MyFileDropTarget(self))

    it looks good if i use my locally compiled abcm2ps version....

     

    Last edit: Werner Schönfeldinger 2019-10-09
    • kmarty

      kmarty - 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
  • Jon Warbrick

    Jon Warbrick - 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.

     
    • kmarty

      kmarty - 2019-10-10

      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.

       
    • John M Sullivan, Jr.

      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.

       
      • Jon Warbrick

        Jon Warbrick - 2019-10-17

        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
  • Jon Warbrick

    Jon Warbrick - 2019-10-10

    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.

     
  • Jon Warbrick

    Jon Warbrick - 2019-10-14

    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.

     
  • Pieter Lambrechts

    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

     
    • Jon Warbrick

      Jon Warbrick - 2019-10-19

      I've managed to reproduce this under Catelina and I'll see if I can work out what's happening. Thanks for the report.

       
    • Jon Warbrick

      Jon Warbrick - 2019-10-28

      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.

       
  • James Alan Paterson

    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.

     
    • Jon Warbrick

      Jon Warbrick - 2019-10-24

      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)

       
      • Jon Warbrick

        Jon Warbrick - 2019-10-24

        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.

         
        • James Alan Paterson

          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:

          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.


          Status: open
          Milestone: 1.0
          Created: Wed Jun 05, 2019 02:15 PM UTC by Alan
          Last Updated: Thu Oct 24, 2019 10:25 AM UTC
          Owner: nobody

          Will there be a 64-bit version of EasyABC for use on macOS 10.15?

          Sent from sourceforge.net because you indicated interest in
          https://sourceforge.net/p/easyabc/tickets/23/

          To unsubscribe from further messages, please visit
          https://sourceforge.net/auth/subscriptions/

           

          Related

          Tickets: #23

          • Jon Warbrick

            Jon Warbrick - 2019-10-25

            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.

             
            • James Alan Paterson

              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:

              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.


              Status: open
              Milestone: 1.0
              Created: Wed Jun 05, 2019 02:15 PM UTC by Alan
              Last Updated: Thu Oct 24, 2019 01:21 PM UTC
              Owner: nobody

              Will there be a 64-bit version of EasyABC for use on macOS 10.15?

              Sent from sourceforge.net because you indicated interest in
              https://sourceforge.net/p/easyabc/tickets/23/

              To unsubscribe from further messages, please visit
              https://sourceforge.net/auth/subscriptions/

               

              Related

              Tickets: #23

              • Jon Warbrick

                Jon Warbrick - 2019-10-28

                OK, I'm a bit out of ideas on this. I'll see if I can come up with something.

                 
  • James Alan Paterson

    The ABC version is 1.3.7.8

     
  • Andrew Collins

    Andrew Collins - 2019-11-12

    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?

     
1 2 3 > >> (Page 1 of 3)

Log in to post a comment.