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

KeyError in will.main bootstrap_event_handler #344

Open
wontonst opened this issue Mar 30, 2018 · 2 comments
Open

KeyError in will.main bootstrap_event_handler #344

wontonst opened this issue Mar 30, 2018 · 2 comments
Labels

Comments

@wontonst
Copy link
Collaborator

Will 2.1.2, python 3.6.3.

Fri, 30 Mar 2018 10:00:54 [ERROR] Error handling message
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/will/main.py", line 605, in bootstrap_event_handler
    q = analysis_threads[event.original_incoming_event_hash]
KeyError: '00f04bb65c242e552e2845c9584ae105'
Fri, 30 Mar 2018 10:00:54 [ERROR] Error handling message
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/will/main.py", line 628, in bootstrap_event_handler
    q = generation_threads[event.original_incoming_event_hash]
KeyError: '00f04bb65c242e552e2845c9584ae105'
Fri, 30 Mar 2018 10:00:54 [ERROR] Error handling message
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/will/main.py", line 605, in bootstrap_event_handler
    q = analysis_threads[event.original_incoming_event_hash]
KeyError: '00f04bb65c242e552e2845c9584ae105'
Fri, 30 Mar 2018 10:07:20 [ERROR] Error handling message
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/will/main.py", line 605, in bootstrap_event_handler
    q = analysis_threads[event.original_incoming_event_hash]
KeyError: '2222133a0822e2468c40f3708f25c35f'
Fri, 30 Mar 2018 10:07:20 [ERROR] Error handling message
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/will/main.py", line 605, in bootstrap_event_handler
    q = analysis_threads[event.original_incoming_event_hash]
KeyError: '2222133a0822e2468c40f3708f25c35f'
Fri, 30 Mar 2018 10:07:21 [ERROR] Error handling message
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/will/main.py", line 605, in bootstrap_event_handler
    q = analysis_threads[event.original_incoming_event_hash]
KeyError: '2222133a0822e2468c40f3708f25c35f'
Fri, 30 Mar 2018 10:07:21 [ERROR] Error handling message
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/will/main.py", line 605, in bootstrap_event_handler
    q = analysis_threads[event.original_incoming_event_hash]
KeyError: '2222133a0822e2468c40f3708f25c35f'

As far as I can tell, the errors do not seems to be impacting will.

@Chalta
Copy link

Chalta commented Jul 22, 2018

@skoczen @Ashex I see this too. Any ideas?

@Ashex
Copy link
Collaborator

Ashex commented Jul 23, 2018

This looks to be a transient error caused by race condition where Will consumes messages from the RTM and is trying to look up a message it hasn't cached yet.

I've seen this error and for the most part I don't see any negative impact from it, if anything it just needs to be caught and handled properly.

@wontonst wontonst added the bug label Jan 29, 2019
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

3 participants