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

Error channel reports 'NoneType' object has no attribute 'endswith' #128

Open
amotl opened this issue Mar 3, 2023 · 0 comments
Open

Error channel reports 'NoneType' object has no attribute 'endswith' #128

amotl opened this issue Mar 3, 2023 · 0 comments

Comments

@amotl
Copy link
Member

amotl commented Mar 3, 2023

Hi there,

lovely users of Kotori just reported this message observed on the MQTT error topic error.json. The error message could be improved, to let users diagnose the problem better.

basic/foo/test/EnvR//error.json {
    "type": "<class 'AttributeError'>",
    "message": "'NoneType' object has no attribute 'endswith'",
    "description": "Error processing MQTT message \"b'{\"time\" : \"2023-03-03 23:39:30\", \"model\" : \"ACME Foo\", \"dev_id\" : 77, \"power0\" : 125, \"power1\" : 5109, \"power2\" : 4992}'\" from topic \"basic/foo/test/EnvR/\".",
    "timestamp": "2023-03-03T22:39:30+00:00"
}

With kind regards,
Andreas.

References

@amotl amotl changed the title Error channel reports "message": "'NoneType' object has no attribute 'endswith'" Error channel reports 'NoneType' object has no attribute 'endswith' Mar 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant