Open yukulele opened 5 years ago
I can run it, thanks!
some remarks:
Thank you for your help!
For anyone looking to run EasyABC on Linux, give this a try: https://github.com/jwdj/EasyABC/issues/72
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 https://github.com/jwdj/EasyABC/issues/72#issue-1771714804
* 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.
see "using_EasyABC_in_Linux.txt"
Can this issue be closed?