jwdj / EasyABC

EasyABC
GNU General Public License v2.0
87 stars 36 forks source link

Failing to start with python 3.10 #52

Open jstorry opened 2 years ago

jstorry commented 2 years ago

It looks like some deprecated collections classes were removed and are now only accessible in the abc sub module with python 3.10

I was able to get it working by replacing pyparsing.py with https://github.com/pyparsing/pyparsing/blob/master/pyparsing_archive.py but it might make sense more sense to add https://pypi.org/project/pyparsing/ to the requirements.txt instead.

raychandler commented 2 years ago

Sounds like you've solved it. I really need to get EasyABC going again but I'm not a computer-techie and don't know how to go about what you have written. Could you give simple step-by-step instructions? Thanks.

jstorry commented 2 years ago

Sounds like you've solved it. I really need to get EasyABC going again but I'm not a computer-techie and don't know how to go about what you have written. Could you give simple step-by-step instructions? Thanks.

@raychandler If you are able run it with an earlier version of python that would be ideal as there are some other errors related to 3.10 that I haven't really looked into. How you do that will largely depend on your current setup so I'm not sure I can provide a step by step.

I saw you made a comment on source forge and you are using Manjaro Linux, maybe see if you can get the package maintainer to update the package to use an earlier version of python https://aur.archlinux.org/packages/easyabc/

If you don't want to wait you can try cloning this repository and running the application in a virtual environment using an earlier version of python. https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/#installing-from-version-control-systems

topchyan commented 1 year ago

Since I like to use EasyABC, but it fails to run on newest Linux Mint / Ubuntu releases due to that pyparsing library issues I stick to the old versions of OS where it does work. Not ideal, hope it will get resolved sometime soon.

bomm commented 1 year ago

I got it working on Ubuntu 22.04.1 by using a modified newer version of fluidsynth stuff and several manual fixes. See https://github.com/jwdj/EasyABC/issues/63 and maybe the wxWidgets issue referenced there. @topchyan What version exactly means newest Linux Mint / Ubuntu releases?

topchyan commented 1 year ago

What version exactly means newest Linux Mint / Ubuntu releases? I tried it on Linux Mint 21.1 Cinnamon 64 bit

robertmuth commented 1 year ago

This hacked up version in a fork works for me on Ubuntu 22.04.2 LTS

https://github.com/robertmuth/EasyABC/tree/ubuntu.22.04

topchyan commented 1 year ago

@robertmuth, thanks for this! I only wish it would eventually be addressed in the master build (@jwdj) For now will probably stay on the older version of OS.

mausch commented 1 year ago

Even when replacing pyparsing.py I get an error similar to https://stackoverflow.com/questions/37502112/typeerror-gridsizer-arguments-did-not-match-any-overloaded-call which makes the settings dialogs to squash all content into a single line. It doesn't crash things but settings aren't usable.

topchyan commented 1 year ago

I just changed my OS from Linux Mint to the latest version of MX Linux and managed somehow to install EasyABC stock version without issues (just had to reference soundfont location in options)

On Sun, Jun 11, 2023, 15:12 Mauricio Scheffer @.***> wrote:

Even when replacing pyparsing.py I get an error similar to https://stackoverflow.com/questions/37502112/typeerror-gridsizer-arguments-did-not-match-any-overloaded-call which makes the settings dialogs to squash all content into a single line. It doesn't crash things but settings aren't usable.

— Reply to this email directly, view it on GitHub https://github.com/jwdj/EasyABC/issues/52#issuecomment-1586302752, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6AZEFGCTO7K6SXUGVNG5TXKYKALANCNFSM5LGI5NEQ . You are receiving this because you were mentioned.Message ID: @.***>