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

fix: prevent showscan online startup when door does not exist #1676

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

reszelaz
Copy link
Collaborator

@reszelaz reszelaz commented Aug 4, 2021

ScanWindow.setModel() set models of its subwidgets which then try
to connect to Sardana-Taurus model extensions e.g. recordDataUpdated
which raises not self-explanatory AttributeError.
Early recognize this situation and raise a self-explanatory RuntimeError.

Fixes #1674. @cmft could you test and review this one?

I asked this related question to taurus project.

ScanWindow.setModel() set models of its subwidgets which then try
to connect to Sardana-Taurus model extensions e.g. recordDataUpdated
which raises not self-explanatory AttributeError.
Early recognize this situation and raise a self-explanatory RuntimeError.
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 this pull request may close these issues.

Show scan does not validate door
1 participant