Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to compile and run it on linux? #5

Open
yukulele opened this issue Apr 28, 2019 · 5 comments
Open

how to compile and run it on linux? #5

yukulele opened this issue Apr 28, 2019 · 5 comments

Comments

@yukulele
Copy link

No description provided.

@yukulele yukulele changed the title how to run compile and run it on linux? how to compile and run it on linux? May 6, 2019
@mmehl
Copy link

mmehl commented Apr 8, 2021

see "using_EasyABC_in_Linux.txt"

Can this issue be closed?

@yukulele
Copy link
Author

yukulele commented Apr 9, 2021

I can run it, thanks!

some remarks:

  • I think a minimum of information should be added in the readme with a link to the installation files.
  • The txt format is not easy to read, a markdown format would be less intimidating.

Thank you for your help!

@yukulele yukulele reopened this Apr 10, 2021
@mausch
Copy link

mausch commented Jun 23, 2023

For anyone looking to run EasyABC on Linux, give this a try: #72

@mtarenskeen
Copy link

mtarenskeen commented Sep 8, 2023

see "using_EasyABC_in_Linux.txt"

Can this issue be closed?

No it can't.

There used to be a time EasyABC worked fine on my Linux system (Fedora). But at a certain moment it stopped working and has never worked since then. Currently I'm using Fedora 38. I am not looking for an all-included-package, I want to be able to use up-to-date components and libraries that are already on my Fedora system. And I want to be able to update for example abcm2ps, abcMIDI, abc2xml, and xml2abc using the latest versions - and EasyABC should still function normally.

But for now I need to find a way to fix some python code in the current GIT version of EasyABC. If I clone the EasyABC sources and run
python3 easy_abc.py
from within the EasyABC directory I am getting this:

`

Traceback (most recent call last):
File "/home/mtarenskeen/Muziek/ABC/EasyABC/easy_abc.py", line 118, in
from abc_search import abc_matches_iter
File "/home/mtarenskeen/Muziek/ABC/EasyABC/abc_search.py", line 8, in
remove_non_notes = re.compile(r'(?xm)' + '|'.join([
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/re/init.py", line 227, in compile
return _compile(pattern, flags)
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/re/init.py", line 294, in _compile
p = _compiler.compile(pattern, flags)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/re/_compiler.py", line 743, in compile
p = _parser.parse(p, flags)
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/re/_parser.py", line 980, in parse
p = _parse_sub(source, state, flags & SRE_FLAG_VERBOSE, 0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/re/_parser.py", line 455, in _parse_sub
itemsappend(_parse(source, state, verbose, nested + 1,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.11/re/_parser.py", line 841, in _parse
raise source.error('global flags not at the start '
re.error: global flags not at the start of the expression at position 78

`

Where should I start looking if I (or someone else) want to fix this?
I'd rather really fix this, than using the solution provided by #72 (comment)

@mtarenskeen
Copy link

* The txt format is not easy to read, a markdown format would be less intimidating.

?? What's intimidating about the simplest text format? It's just text. Nothing more, nothing less.
I personally find *.md files more intimidating when I need to write and read/view them on my Linux box.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants