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

Still getting Nulls in layout put #443

Open
thomascobb opened this issue Nov 15, 2018 · 1 comment
Open

Still getting Nulls in layout put #443

thomascobb opened this issue Nov 15, 2018 · 1 comment
Labels

Comments

@thomascobb
Copy link

thomascobb commented Nov 15, 2018

malcolm.core.request: Exception raised for request Put(id=990, path=Array([u'BL45P-ML-SCAN-01', u'layout', u'value']), value=ordereddict([(u'name', [None, u'MIC']), (u'visible', [False, False]), (u'mri', [u'BL45P-ML-PANDA-01:SEQ1', u'BL45P-ML-MIC-01']), (u'x', [0, 0]), (u'y', [0, 0])]), get=False)
Traceback (most recent call last):
  File "./malcolm/../malcolm/core/controller.py", line 141, in _handle_request
    responses += handler(request)
  File "./malcolm/../malcolm/core/controller.py", line 196, in _handle_put
    value = attribute.meta.validate(request.value)
  File "./malcolm/../malcolm/core/models.py", line 789, in validate
    args = {k: meta.validate(value[k]) for k, meta in self.elements.items()}
  File "./malcolm/../malcolm/core/models.py", line 789, in <dictcomp>
    args = {k: meta.validate(value[k]) for k, meta in self.elements.items()}
  File "./malcolm/../malcolm/core/models.py", line 694, in validate
    assert isinstance(v, str_), "Expected Array[str], got %r" % (value,)
AssertionError: Expected Array[str], got [None, u'MIC']
@thomascobb
Copy link
Author

thomascobb commented Nov 15, 2018

Looks like it's triggered after transitioning between a SCAN block and a PANDA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants