GithubHelp home page GithubHelp logo

how to compile and run it on linux? about easyabc HOT 5 OPEN

jwdj avatar jwdj commented on June 22, 2024 1
how to compile and run it on linux?

from easyabc.

Comments (5)

mtarenskeen avatar mtarenskeen commented on June 22, 2024 1

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)

from easyabc.

mmehl avatar mmehl commented on June 22, 2024

see "using_EasyABC_in_Linux.txt"

Can this issue be closed?

from easyabc.

yukulele avatar yukulele commented on June 22, 2024

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!

from easyabc.

mausch avatar mausch commented on June 22, 2024

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

from easyabc.

mtarenskeen avatar mtarenskeen commented on June 22, 2024
* 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.

from easyabc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.