Hi Billy,
Thanks, this issue appears to be fixed in 1.21.2.
Best,
Nick
________________________________
From: Billy Poon
Sent: Sunday, April 20, 2025 6:55 AM
To: Nicholas Clark
Cc: [email protected]
Subject: Re: [phenixbb] Phenix Dock & Rebuild Python Error
Hi Nick,
Can you try the 1.21.2? This bug should be fixed.
--
Billy K. Poon
Research Scientist, Molecular Biophysics and Integrated Bioimaging
Lawrence Berkeley National Laboratory
1 Cyclotron Road, M/S 33R0345
Berkeley, CA 94720
Fax: (510) 486-5909
Web: https://phenix-online.orghttps://phenix-online.org/
On Sat, Apr 19, 2025 at 1:53 PM Nicholas Clark mailto:[email protected]> wrote:
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
_______________________________________________
phenixbb mailing list -- [email protected]mailto:[email protected]
To unsubscribe send an email to [email protected]mailto:[email protected]
Unsubscribe: phenixbb-leave@%(host_name)s