Kara-Moon Forum
March 29, 2024, 09:51:56 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: You can go back to the main site here: Kara-Moon site
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: MMA 20.02f posted  (Read 2472 times)
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« on: November 16, 2020, 09:42:34 PM »

A new developer version is up. Let me know of any issues ... I'd like to get a 20.12 version out in December!
Logged

My online life: http://www.mellowood.ca
sciurius
Sr. Member
****
Posts: 443



« Reply #1 on: November 17, 2020, 09:17:33 AM »

Thanks.

Fedora RPMs in the usual place: https://www.squirrel.nl/pub/MMA/

MMA_PLUGPATH seems to work as expected.

mma -I still cannot find local plugins.
Move in main.py the call MMA.options.opts() to after processing the MMA_LIBPATH and MMA_PLUGPATH environment variables?

MMA_LIBPATH seems to work as expected.

mma-gb seems to be designed for a single libPath only, so adding processing of MMA_LIBPATH is not trivial.

mma-gb crashes on [Re-read Grooves] when mma produces unexpected output. For example, a PRINT statement in .mmarc.
Logged
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #2 on: November 19, 2020, 04:35:20 PM »

I think I see a fix for the path issue. I'll code it later and post a patch file. Quite simple, really, once you see it Smiley

Still, the RC file will not be processed before the options are parsed. So, if you want a different location for you libs you'll need to do it with env variables, which probably makes sense.

Standby for more code Smiley
Logged

My online life: http://www.mellowood.ca
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #3 on: November 20, 2020, 03:03:44 AM »

The attached patch file should correct the issues with MMA_LIBPATH and MMA_PLUGPATH not being applied at the right time. Now, the -I, as well as -V, should work for directories set via the env option. As well, I've added a MMA_INCPATH variable.

Sorry, can't support setting for CLI via an RC file. RC files are just regular mma files (and, can contain chord data, etc) and we need to finish init before reading them.

Please let me know if this works.

* patch.txt (3.84 KB - downloaded 174 times.)
Logged

My online life: http://www.mellowood.ca
sciurius
Sr. Member
****
Posts: 443



« Reply #4 on: November 20, 2020, 07:42:46 AM »

AFAICS works as expected. Thanks!
Logged
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #5 on: November 20, 2020, 04:16:49 PM »

Great. I'll do the docs later today then.
Logged

My online life: http://www.mellowood.ca
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.052 seconds with 19 queries.