Hi all,
I'm trying to run Phenix Dock & Rebuild on a Mac (Venture 13.6.7) but I keep getting a NameError in Python that "DESKTOP_TYPE" is not defined. Does anyone have a quick way to fix this? Can I edit the code directly in that line to explicitly state that I'm on
a mac or is this a variable that should be set directly in the base Python installation?
Below is the entirety of the error message:
NameError : global name 'DESKTOP_TYPE' is not defined
Traceback (most recent call last):
File "/Applications/phenix-1.20.1-4487/modules/phenix/wxGUI2/Runtime.py", line 224, in OnComplete
self.handle_complete_event(event)
File "/Applications/phenix-1.20.1-4487/modules/phenix/wxGUI2/Templates.py", line 491, in handle_complete_event
self.add_result_panel(result)
File "/Applications/phenix-1.20.1-4487/modules/phenix/wxGUI2/Templates.py", line 512, in add_result_panel
params=self.params)
File "/Applications/phenix-1.20.1-4487/modules/phenix/wxGUI2/Templates.py", line 980, in __init__
JobOutputPanel.__init__(self, parent)
File "/Applications/phenix-1.20.1-4487/modules/phenix/wxGUI2/Windows.py", line 551, in __init__
WidgetArea.__init__(self, parent)
File "/Applications/phenix-1.20.1-4487/modules/phenix/wxGUI2/Windows.py", line 512, in __init__
self.DisplayWidgets()
File "/Applications/phenix-1.20.1-4487/modules/phenix/wxGUI2/Programs/DockAndRebuild.py", line 112, in DisplayWidgets
if (DESKTOP_TYPE in ['mac', 'kde', 'gnome']):
NameError: global name 'DESKTOP_TYPE' is not defined
Thanks!
Best regards,
Nick Clark