Kara-Moon Forum

Developers & Technology => Musical MIDI Accompaniment (MMA) => Topic started by: sciurius on July 19, 2019, 11:46:31 AM



Title: Error when debugging LibPath
Post by: sciurius on July 19, 2019, 11:46:31 AM
When the .mmarc contains a LibPath setting, and mma is run with debug (-d), it crashes:

    Traceback (most recent call last):
      File "/home/jv/lib/mma/MMA/paths.py", line 238, in expandLib
        dPrint("LibPath expansion set to:", ' '.join(libDirs))
    TypeError: dPrint() takes exactly 1 argument (2 given)


Patch attached.


Title: Re: Error when debugging LibPath
Post by: bvdp on July 19, 2019, 04:28:41 PM
Ahhh ... I created that one all by myself when I did the dprint() stuff. Bad me! Thanks.


Title: Re: Error when debugging LibPath
Post by: bvdp on July 20, 2019, 12:26:09 AM
This patch has been committed. Will show in the next devel release.