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

load-state helper script ignores all responses from server #28

Open
Araneidae opened this issue May 4, 2022 · 2 comments
Open

load-state helper script ignores all responses from server #28

Araneidae opened this issue May 4, 2022 · 2 comments

Comments

@Araneidae
Copy link
Contributor

At the moment the python/load-state script completely ignores the content of what it is sending and all responses, which means that any problems with the transfer are silently ignored.

Instead, the script should track all lines sent and all responses and tie error responses to input lines.

@coretl
Copy link
Contributor

coretl commented May 4, 2022

https://github.com/PandABlocks/PandABlocks-client has a cli that does that:

$ pandablocks load --help
Usage: pandablocks load [OPTIONS] HOST [INFILE]

  Load a blocks configuration into HOST using the commands in INFILE

Options:
  --tutorial  load the tutorial settings
  --help      Show this message and exit.

https://github.com/PandABlocks/PandABlocks-client/blob/4e7a1efa9f9de833416366fab3a57362a806854d/pandablocks/commands.py#L480

@Araneidae
Copy link
Contributor Author

Hmm. Oh well. I might fix this some time, just for a simple low dependency tool, but this definitely makes this a low priority issue!

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

No branches or pull requests

2 participants