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

pyisy.events WARNING 'NoneType' object has no attribute 'index' #199

Open
jimboca opened this issue Jun 27, 2021 · 1 comment
Open

pyisy.events WARNING 'NoneType' object has no attribute 'index' #199

jimboca opened this issue Jun 27, 2021 · 1 comment

Comments

@jimboca
Copy link
Collaborator

jimboca commented Jun 27, 2021

I see a lot of warnings in the log from PyISY for my HueEmulator Polyglot Nodeserver which is still using 2.1.1:

2021-06-27 14:47:14,522 Thread-8423 pyisy.events       WARNING  events:watch: PyISY encountered while routing message '<?xml version="1.0"?><Event seqnum="64767" sid="uuid:40"><control>_1</control><action>0</action><node></node><eventInfo><id>318</id><on /><nr /><r>210627 14:47:16</r><f>210627 14:47:16</f><s>31</s></eventInfo></Event>': 'NoneType' object has no attribute 'index'
@shbatm
Copy link
Collaborator

shbatm commented Jan 31, 2022

I'm now seeing these errors in the log

I'm trying to manually guess at the back trace here--it looks like a failed update message for a program based on the event data.

caught error <-- central router <-- program receiver <-- address lookup

-- this is the only place I can see where index is used as an attribute, so for some reason self.addresses is not populated in this context. Why? I have no idea.

Is this error only on the program 02EF or are you seeing different <id>XXX</id> tags? Was that a new program? Had it been recently changed? Are you still getting these?

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