-
Notifications
You must be signed in to change notification settings - Fork 339
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
GetConfiguration object with key set to list of config keys results in AttributeError for remove_nones/ChargePoint.call #289
Labels
bug
Something isn't working
Comments
OrangeTux
referenced
this issue
Jan 14, 2022
Thanks for the reporting the issue. I'm having a look. |
Regression has been introduced by e213ee0. I'm working on a fix. |
OrangeTux
added a commit
that referenced
this issue
Jan 14, 2022
`remove_nones()` only works with `list`s and `dict`s, not with other iterables like `str`. However, the function didn't properly checked its input and would crash when passed a `list` of `str`s. Fixes: #289
Thanks! |
OrangeTux
added a commit
that referenced
this issue
Jan 17, 2022
`remove_nones()` only works with `list`s and `dict`s, not with other iterables like `str`. However, the function didn't properly checked its input and would crash when passed a `list` of `str`s. Fixes: #289
ajmirsky
pushed a commit
to ajmirsky/ocpp
that referenced
this issue
Nov 26, 2024
`remove_nones()` only works with `list`s and `dict`s, not with other iterables like `str`. However, the function didn't properly checked its input and would crash when passed a `list` of `str`s. Fixes: mobilityhouse#289
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
OCPP library version: 0.12.0
OCPP Version: 1.6J
Python Version: 3.9.7
I was running my tests in a docker container and noticed that whenever I sent a GetConfiguration request, it would result in an AttributeError while converting a message payload to a call object. This actually wasn't an issue until a day ago. I haven't made any changes in my tests for this particular message. Is this expected or am I doing something wrong? I checked the OCPP 1.6 documentation and the GetConfiguration content in the payload seems to be valid.
The text was updated successfully, but these errors were encountered: