-
Notifications
You must be signed in to change notification settings - Fork 101
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
Deque index out of range #159
Comments
This is an inherent issue with multi-threading. Jenni can't have a response lock otherwise it would break threading, therefore this isn't an issue that can be easily solved. @myano any thoughts? |
Hmm, maybe something is wrong with priority, after changing it to medium, it's working like it should. |
Hmm, even on simple info.py I'm getting: edit: I have this error, but without exclude I'm not getting it :o |
@lenisko if I had to guess I'd say you could get this error with any script at any time, depending. It's caused by asynchronicity, meaning that a job may be fired off to the async server twice before call-back is received. |
Discussed w/ @myano, don't think this has any reasonable resolution. |
Ohh... but well, it's weird to see two outputs sometimes... but so far no crash from this. |
If I remember correctly, the code here was added to prevent crashes when a double message was sent. As for preventing the double-output, there have been numerous attempts at this over the years, as this problem has existed since the days of 'phenny'. There have even been patches back-ported from Willie to attempt to fix this but it doesn't seem there is a solution insight for this, sadly. :-( |
Hmm, weird solution. Sad there is no fix : / I'm having weird issue right now, maybe it's related, maybe not. |
Okay, I have fixed it using sleep.... |
When spamming channel with .ask life or death
then it is responding sometimes.. one time, sometimes two times same reply
[__WRITE FAILED] deque index out of range
Traceback (most recent call last):
File "/usr/lib/python2.7/asyncore.py", line 91, in write
obj.handle_write_event()
File "/usr/lib/python2.7/asyncore.py", line 468, in handle_write_event
self.handle_write()
File "/usr/lib/python2.7/asynchat.py", line 174, in handle_write
self.initiate_send()
File "/usr/lib/python2.7/asynchat.py", line 244, in initiate_send
del self.producer_fifo[0]
IndexError: deque index out of range
Traceback (most recent call last):
File "/usr/lib/python2.7/asyncore.py", line 91, in write
obj.handle_write_event()
File "/usr/lib/python2.7/asyncore.py", line 468, in handle_write_event
self.handle_write()
File "/usr/lib/python2.7/asynchat.py", line 174, in handle_write
self.initiate_send()
File "/usr/lib/python2.7/asynchat.py", line 244, in initiate_send
del self.producer_fifo[0]
IndexError: deque index out of range
Traceback (most recent call last):
File "/usr/lib/python2.7/asyncore.py", line 91, in write
obj.handle_write_event()
File "/usr/lib/python2.7/asyncore.py", line 468, in handle_write_event
self.handle_write()
File "/usr/lib/python2.7/asynchat.py", line 174, in handle_write
self.initiate_send()
File "/usr/lib/python2.7/asynchat.py", line 244, in initiate_send
del self.producer_fifo[0]
IndexError: deque index out of range
1426382434.1
[__WRITE FAILED] deque index out of range
1426382441.33
[__WRITE FAILED] deque index out of range
The text was updated successfully, but these errors were encountered: