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

'emit' commands must specify a group #12

Open
shadetree01010100 opened this issue Apr 3, 2018 · 2 comments
Open

'emit' commands must specify a group #12

shadetree01010100 opened this issue Apr 3, 2018 · 2 comments
Labels

Comments

@shadetree01010100
Copy link
Contributor

shadetree01010100 commented Apr 3, 2018

If group by has not been configured, so that its value is None (null in json), sending a command to emit with no group specified will not work. I found that I needed to set a group as a static string, and send emit commands with the group parameter.

@shadetree01010100
Copy link
Contributor Author

shadetree01010100 commented Aug 17, 2018

Looks like when sending a request without group param, it is passed to the blocks emit method as a string "None", rather than the NoneType that matches the actual group. Because it's a string, the evaluation to emit all groups when no group is specified is failing, and it is instead trying to emit signals from a nonexistent group "None"

@shadetree01010100
Copy link
Contributor Author

looks like the command parameter in the nio framework is stringifying NoneTypes niolabs/nio#138

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

1 participant