Jump to content

ProperTree, CPUFriendFriend and other pyScripts fail on my mac?

1 post in this topic

Recommended Posts

I've installed Catalina using OpenCore and trying to fix some small stuff. I noticed earlier that I was not able to use apps like ProperTree. I got no Tkinter window and the terminal said:

Last login: Mon Nov 23 16:33:08 on ttys000
/Volumes/\[Storage\]/OSX\ FIX/ProperTree-master/ProperTree.command ; exit;
andersbergman@Anderss-iMac ~ % /Volumes/\[Storage\]/OSX\ FIX/ProperTree-master/ProperTree.command ; exit;
DEPRECATION WARNING: The system version of Tk is deprecated and may be removed in a future release. Please don't rely on it. Set TK_SILENCE_DEPRECATION=1 to suppress this warning.
Exception in Tkinter callback
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 1547, in __call__
    return self.func(*args)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-tk/Tkinter.py", line 596, in callit
  File "/Volumes/[Storage]/OSX FIX/ProperTree-master/ProperTree.command", line 206, in <lambda>
    self.tk.after(250, lambda:self.check_open(plists))
  File "/Volumes/[Storage]/OSX FIX/ProperTree-master/ProperTree.command", line 244, in check_open
    self.start_window = self.new_plist()
  File "/Volumes/[Storage]/OSX FIX/ProperTree-master/ProperTree.command", line 484, in new_plist
    window = plistwindow.PlistWindow(self, self.tk)
NameError: global name 'plistwindow' is not defined

I didn't bother at the time since I could use another editor. But now I'm trying to use the CPUFriendsFriend.command and get similar error:

Traceback (most recent call last):
  File "/Volumes/[Storage]/OSX FIX/CPUFriendFriend-master/CPUFriendFriend.py", line 338, in <module>
    c = CPUFF()
  File "/Volumes/[Storage]/OSX FIX/CPUFriendFriend-master/CPUFriendFriend.py", line 7, in __init__
    self.u = utils.Utils("CPUFriendFriend")
NameError: name 'utils' is not defined

[Process completed]

Anyone else had these problems? Is it Python/Tkinter ? 
I tried google "nameError: global name is not defined"... and directs me to different coding forums where people having problems with their scripts... But I hardly think that the coders of ProperTree, CPUFriendFriend done anything wrong... 
I would be very thankful for any help. 

  • Create New...