Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading two differnet configs causes errors #250

Closed
ianhi opened this issue Feb 22, 2023 · 1 comment
Closed

Loading two differnet configs causes errors #250

ianhi opened this issue Feb 22, 2023 · 1 comment
Labels
bug Something isn't working high priority

Comments

@ianhi
Copy link
Contributor

ianhi commented Feb 22, 2023

e.g. the demo config followed by real scope config will result in a crash

@fdrgsp
Copy link
Contributor

fdrgsp commented Jul 28, 2023

I think this is not happening anymore. The only remaining issue (that does not prevent the correct loading of the cfg) is here in the MMShuttersWidget

if not self._mmc.getLoadedDevicesOfType(DeviceType.ShutterDevice):
# FIXME:
# ShuttersWidget has not been tested with an empty device label...
# it raises all sorts of errors.
# if we want to have a "placeholder" widget, it needs more testing.
# empty_shutter = ShuttersWidget("")
# self.layout().addWidget(empty_shutter)
return

I open a different issue for this #270 .

@fdrgsp fdrgsp closed this as completed Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high priority
Projects
None yet
Development

No branches or pull requests

3 participants