Skip to content
This repository has been archived by the owner on Nov 3, 2021. It is now read-only.

Show scan does not validate door #1674

Open
cmft opened this issue Aug 4, 2021 · 0 comments · May be fixed by #1676
Open

Show scan does not validate door #1674

cmft opened this issue Aug 4, 2021 · 0 comments · May be fixed by #1676

Comments

@cmft
Copy link

cmft commented Aug 4, 2021

Showscan reports attribute error if the door name does not exist.

    load_entry_point('sardana==3.0.4a0', 'gui_scripts', 'showscan')()
  File "/usr/lib/python3/dist-packages/click/core.py", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/click/core.py", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/lib/python3/dist-packages/click/core.py", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/lib/python3/dist-packages/click/core.py", line 534, in invoke
    return callback(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/sardana/taurus/qt/qtgui/extra_sardana/showscanonline.py", line 318, in main
    widget.setModel(door)
  File "/usr/lib/python3/dist-packages/sardana/taurus/qt/qtgui/extra_sardana/showscanonline.py", line 238, in setModel
    self.info_form.setModel(model)
  File "/usr/lib/python3/dist-packages/sardana/taurus/qt/qtgui/extra_sardana/showscanonline.py", line 113, in setModel
    door.recordDataUpdated.connect(self.onRecordDataUpdated)
AttributeError: 'NoneType' object has no attribute 'recordDataUpdated'
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant