Traceback (most recent call last):


 "/usr/lib/python3/dist-packages/piper/application.py", line 52, in do_activate

window = Window(self._ratbag, application=self)


 "/usr/lib/python3/dist-packages/piper/window.py", line 69, in __init__

self._present_mouse_perspective(ratbag.devices[0])


 "/usr/lib/python3/dist-packages/piper/window.py", line 147, in _present_mouse_perspective

mouse_perspective.set_device(device)


 "/usr/lib/python3/dist-packages/piper/mouseperspective.py", line 90, in set_device

self.stack.add_titled(ResolutionsPage(device), "resolutions", _("Resolutions"))


 "/usr/lib/python3/dist-packages/piper/resolutionspage.py", line 66, in __init__

self._init_ui()


 "/usr/lib/python3/dist-packages/piper/resolutionspage.py", line 71, in _init_ui

mousemap = MouseMap("#Buttons", self._device, spacing=20, border_width=20)


 "/usr/lib/python3/dist-packages/piper/mousemap.py", line 111, in __init__

svg_bytes = get_svg(ratbagd_device.model)


 "/usr/lib/python3/dist-packages/piper/svg.py", line 32, in get_svg

if model.startswith('usb:') or model.startswith('bluetooth:'):
AttributeError: 'NoneType' object has no attribute 'startswith'

Traceback (most recent call last):


 "clone_test.py", line 43, in <module>

optarg={'tol': 1e-6})


 "/home/alee/idaes/idaes-dev/idaes/core/unit_model.py", line 565, in initialize

results = opt.solve(blk, tee=stee)


 "/home/alee/pyomo/pyomo/pyomo/opt/base/solvers.py", line 629, in solve

default_variable_value=self._default_variable_value)


 "/home/alee/pyomo/pyomo/pyomo/core/base/PyomoModel.py", line 297, in load_from

ignore_fixed_vars=ignore_fixed_vars)


 "/home/alee/pyomo/pyomo/pyomo/core/base/PyomoModel.py", line 530, in select

if vdata.fixed is True:
AttributeError: 'NoneType' object has no attribute 'fixed'
