pcdshub / typhos

Automatic-yet-customizable Graphical User Interface Generation for Ophyd Devices
http://pcdshub.github.io/typhos
Other
16 stars 24 forks source link

Need to update pydm pin to >=1.19.1 #589

Closed ZLLentz closed 9 months ago

ZLLentz commented 9 months ago

Expected Behavior

Dependencies should be correct

Current Behavior

Relies on a method introduced in v1.19.1

[2023-09-19 13:25:39,298] [ERROR   ] - Unable to load file PosixPath('/cds/group/pcds/pyps/apps/dev/typhos/typhos/ui/core/detailed_tree.ui')
Traceback (most recent call last):
  File "/cds/group/pcds/pyps/apps/dev/pythonpath/typhos/display.py", line 1336, in load_best_template
    widget = self._load_template(template)
  File "/cds/group/pcds/pyps/apps/dev/pythonpath/typhos/display.py", line 1433, in _load_template
    return loader(str(filename), macros=self._macros)
  File "/cds/group/pcds/pyps/apps/dev/pythonpath/typhos/utils.py", line 1847, in load_ui_file
    display.load_ui_from_file(uifile, macros)
AttributeError: 'Display' object has no attribute 'load_ui_from_file'

Possible Solution

Update deps

Context

Found today while debugging environment issue