Wednesday, July 10, 2019

MMA 19.07 ready

I'm pleased to announce the long overdue update to MMA stable. Version 19.07 is now online and ready for your musical pursuits. Lots of new fun things, lots of new/updated examples, lots of manual fixes and clarifications. So, all I can add is "HAVE FUN". Get it at:

    https://mellowood.ca/mma/index.html

Have fun with this. And, please let me know if you have any requests, questions, etc. And share you plugin and library files!!!

4 comments:

  1. It doesn't work on Windows. The module fcntl doesn't exist on Windows. To make it work I used portalocker.
    install it using pip and change all fcntl to portalocker and everything works..

    Thanks for a wonderful program!

    ReplyDelete
    Replies
    1. I _think_ that the only place it's an issue is in line 62 of common.py (and of course, the import line itself). Can you or someone else confirm that if the import line and line 62 (fcnt.....) are put in a "if glb.platform != "WINDOWS" that it should all work. I'm assuming that the import on line 83 of termsize.py does a graceful exit.

      I don't want to have to force users into loading a module via pip ... what is easy for one is not so easy for the next :)

      Thanks.

      Delete
  2. OK, that worked! If anyone wants to edit the common.py file it looks like this

    The platform check must be after the from . import gbl

    from . import gbl
    if gbl.platform != 'Windows':
    import fcntl

    on line 64 (which now is line 65)
    if gbl.platform != 'Windows':
    fcntl.flock(opath, fcntl.LOCK_EX) # make sure we print in one batch

    Thanks!

    ReplyDelete
  3. Seems like the indention was lost...

    ReplyDelete

 I've been pretty neglectful in keeping this blog up-to-date. Lots of excuses ... but, I'll try to do a bit better! There is a new b...