Kara-Moon Forum
March 28, 2024, 05:10:51 PM *
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: Error when debugging LibPath  (Read 2121 times)
sciurius
Sr. Member
****
Posts: 443



« 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.

* paths.patch.txt (0.14 KB - downloaded 181 times.)
Logged
bvdp
Kara-Moon Master
****
Posts: 1436


WWW
« Reply #1 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.
Logged

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


WWW
« Reply #2 on: July 20, 2019, 12:26:09 AM »

This patch has been committed. Will show in the next devel release.
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.053 seconds with 19 queries.