Describe the bug
I built a simple MainWindow object entirely in Designer, When trying to launch it from the terminal, it produces the following error:
[2026-03-17 11:25:52,161] [INFO ] - Using PyDM via SSH. Reverting to Software Rendering. QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled Traceback (most recent call last): File "/afs/slac/g/lcls/package/anaconda/envs/python3_rhel7_env/bin/pydm", line 8, in <module> sys.exit(main()) ^^^^^^ File "/afs/slac/g/lcls/package/anaconda/envs/python3_rhel7_env/lib/python3.12/site-packages/pydm_launcher/main.py", line 120, in main app = pydm.PyDMApplication( ^^^^^^^^^^^^^^^^^^^^^ File "/afs/slac/g/lcls/package/anaconda/envs/python3_rhel7_env/lib/python3.12/site-packages/pydm/application.py", line 134, in __init__ self.main_window.open(ui_file, macros, command_line_args) File "/afs/slac/g/lcls/package/anaconda/envs/python3_rhel7_env/lib/python3.12/site-packages/pydm/main_window.py", line 412, in open new_widget = load_file(filename, macros=macros, args=args, target=target) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/afs/slac/g/lcls/package/anaconda/envs/python3_rhel7_env/lib/python3.12/site-packages/pydm/display.py", line 73, in load_file loaded_display = loader(file, args=args, macros=macros) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/afs/slac/g/lcls/package/anaconda/envs/python3_rhel7_env/lib/python3.12/site-packages/pydm/display.py", line 211, in load_ui_file display.load_ui_from_file(uifile, macros) File "/afs/slac/g/lcls/package/anaconda/envs/python3_rhel7_env/lib/python3.12/site-packages/pydm/display.py", line 454, in load_ui_from_file _load_compiled_ui_into_display(code_string, class_name, self, macros) File "/afs/slac/g/lcls/package/anaconda/envs/python3_rhel7_env/lib/python3.12/site-packages/pydm/display.py", line 184, in _load_compiled_ui_into_display klass.setupUi(display, display) File "<string>", line 298, in setupUi AttributeError: 'Display' object has no attribute 'setCentralWidget'. Did you mean: 'centralwidget'?
Here is the MainWindow in Designer:

Steps to reproduce
The file is in my local directory: /sdf/home/c/cmyers/test_bed/cryo. In this folder, try to launch the screen with pydm cryo_RTD.ui.
I suspect this issue would be generalize-able to any similarly designed window in case there is any issue accessing my workspace.
Expected behavior
The window should render and launch without issue.
Operating System.
Linux
OS Version Details.
No response
Python Version
3.12.11
Packages Version
PyDM 1.28.2
Additional context.
No response
Describe the bug
I built a simple MainWindow object entirely in Designer, When trying to launch it from the terminal, it produces the following error:
[2026-03-17 11:25:52,161] [INFO ] - Using PyDM via SSH. Reverting to Software Rendering. QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled Traceback (most recent call last): File "/afs/slac/g/lcls/package/anaconda/envs/python3_rhel7_env/bin/pydm", line 8, in <module> sys.exit(main()) ^^^^^^ File "/afs/slac/g/lcls/package/anaconda/envs/python3_rhel7_env/lib/python3.12/site-packages/pydm_launcher/main.py", line 120, in main app = pydm.PyDMApplication( ^^^^^^^^^^^^^^^^^^^^^ File "/afs/slac/g/lcls/package/anaconda/envs/python3_rhel7_env/lib/python3.12/site-packages/pydm/application.py", line 134, in __init__ self.main_window.open(ui_file, macros, command_line_args) File "/afs/slac/g/lcls/package/anaconda/envs/python3_rhel7_env/lib/python3.12/site-packages/pydm/main_window.py", line 412, in open new_widget = load_file(filename, macros=macros, args=args, target=target) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/afs/slac/g/lcls/package/anaconda/envs/python3_rhel7_env/lib/python3.12/site-packages/pydm/display.py", line 73, in load_file loaded_display = loader(file, args=args, macros=macros) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/afs/slac/g/lcls/package/anaconda/envs/python3_rhel7_env/lib/python3.12/site-packages/pydm/display.py", line 211, in load_ui_file display.load_ui_from_file(uifile, macros) File "/afs/slac/g/lcls/package/anaconda/envs/python3_rhel7_env/lib/python3.12/site-packages/pydm/display.py", line 454, in load_ui_from_file _load_compiled_ui_into_display(code_string, class_name, self, macros) File "/afs/slac/g/lcls/package/anaconda/envs/python3_rhel7_env/lib/python3.12/site-packages/pydm/display.py", line 184, in _load_compiled_ui_into_display klass.setupUi(display, display) File "<string>", line 298, in setupUi AttributeError: 'Display' object has no attribute 'setCentralWidget'. Did you mean: 'centralwidget'?Here is the MainWindow in Designer:

Steps to reproduce
The file is in my local directory:
/sdf/home/c/cmyers/test_bed/cryo. In this folder, try to launch the screen withpydm cryo_RTD.ui.I suspect this issue would be generalize-able to any similarly designed window in case there is any issue accessing my workspace.
Expected behavior
The window should render and launch without issue.
Operating System.
Linux
OS Version Details.
No response
Python Version
3.12.11
Packages Version
PyDM 1.28.2
Additional context.
No response