Menu

EasyABC stopped working after Linux update

2022-01-05
2025-07-24
  • Ray Chandler

    Ray Chandler - 2022-01-05

    EasyABC had been working fine under Manjaro Linux, but after a recent Manjaro update it fails to open. I tried a clean re-install of EasyABC but it failed and I get the following terminal message:

    [ray@ray-dell ~]$ easyabc
    14:20:39: Warning: Mismatch between the program and library build versions detected.
    The library used 3.0 (wchar_t,compiler with C++ ABI 1014,wx containers,compatible with 2.8),
    and wxPython used 3.0 (wchar_t,compiler with C++ ABI 1016,wx containers,compatible with 2.8).
    Traceback (most recent call last):
      File "/opt/easyabc/easy_abc.py", line 109, in <module>
        from xml2abc_interface import xml_to_abc, abc_to_xml
      File "/opt/easyabc/xml2abc_interface.py", line 5, in <module>
        import abc2xml
      File "/opt/easyabc/abc2xml.py", line 17, in <module>
        from pyparsing import Word, OneOrMore, Optional, Literal, NotAny, MatchFirst
      File "/opt/easyabc/pyparsing.py", line 943, in <module>
        collections.MutableMapping.register(ParseResults)
    AttributeError: module 'collections' has no attribute 'MutableMapping'
    [ray@ray-dell ~]$ 
    

    I raised it on the Manjaro forum but got no solution. Any help appreciated.

     
  • Ray Chandler

    Ray Chandler - 2022-01-10

    Comment from Manjaro team:
    "It must be adapted to Python 3.10. The collections module does not provide MutableMappings anymore. It was deprecated a while ago, the developers of EasyABC must change their code."

    Any chance of this happening?

     
  • J.W. de Jong

    J.W. de Jong - 2022-01-12

    Hello Ray,

    In a next version of EasyABC this will be fixed.

    For the time being you could try the following:
    cd /opt/easyabc
    rm pyparsing.py
    sudo apt install python3-pyparsing
    python3 easy_abc.py

     
  • Ray Chandler

    Ray Chandler - 2022-01-13

    Thanks JW - great news that this will be fixed in the next version.
    EasyABC is an excellent facility and I'm looking forward to getting it back.
    In the meantime I've tried your temporary fix above and it removed the old pyparsing.py but at the install command I get "Error: target not found: python3-pyparsing".
    EasyABC now opens (it didn't before this) but the "Musical score" panel remains empty and doesn't show the tune of the abc file below it. In the "ABC code" panel I can edit the tune, transpose it, etc, but nothing appears in the score panel.

     
  • J.W. de Jong

    J.W. de Jong - 2022-01-13

    You could also use pip to install pyparsing.
    pip install pyparsing

    Some distributions still have both Python 2 and Python 3. In that case use:
    pip3 install pyparsing

     
  • Ray Chandler

    Ray Chandler - 2022-01-14

    pyparsing is installed, but the problem remains:
    EasyABC opens but the "Musical score" panel remains empty and doesn't show the tune of the abc file below it. In the "ABC code" panel I can edit the tune, transpose it, etc, but nothing appears in the score panel.

     
    • Laurie Savage

      Laurie Savage - 2025-07-23

      Hi Ray, did you ever solve this problem? I'm having the same issue on Fedora 42

       
      • Laurie Savage

        Laurie Savage - 2025-07-24

        I gave up on Fedora and switched to Mint. Everything works again.
        L

         
        • Bodo

          Bodo - 2025-07-24

          Nevertheless it would be good to find out what caused the problem. If it is related to a system update, users of other distributions might face a similar problem in future.
          But it could also be an incompatibility between system packages and 3rd-party packages, e.g. those from Guido Gonsato's page.
          For further analysis we might need the version numbers of all related packages.

           
  • Dave Royal

    Dave Royal - 2025-07-23

    Please can you post a link to where you downloaded 'Guido's latest binaries'.
    See comment below.

    Several of us are successfully running EasyABC on Linux from the python sources on github, which are a newer than the released version 1.3.8.7. If you want to try that you might find this helpful:
    https://github.com/jwdj/easyabc/issues/126
    No Fedora instructions yet, but probably similar to SuSE.

    Edited to add:
    I discovered that abcnotation.com says there are Linux binaries on Guido Gonzato's ABC Plus page. But there aren't.
    https://abcnotation.com/software#EasyABC
    https://abcplus.sourceforge.net/#EasyABC
    They seem to have been removed in 2024, perhaps on the official release of v1.3.8.7 in September. I'm unaware of any released EasyABC Linux packages for v1.3.8.7.

     

    Last edit: Dave Royal 2025-07-23

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.