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:asyncio:Exception in callback _SelectorSocketTransport._read_ready() #41

Open
slasherx2 opened this issue Oct 29, 2018 · 2 comments

Comments

@slasherx2
Copy link

ERROR:asyncio:Exception in callback _SelectorSocketTransport._read_ready()
handle: <Handle _SelectorSocketTransport._read_ready()>
Traceback (most recent call last):
File "/usr/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self._args)
File "/usr/lib/python3.6/asyncio/selector_events.py", line 734, in _read_ready
self._protocol.data_received(data)
File "/usr/local/lib/python3.6/dist-packages/asyncirc/irc.py", line 89, in data_received
signal("raw").send(self, text=line_received)
File "/usr/lib/python3/dist-packages/blinker/base.py", line 267, in send
for receiver in self.receivers_for(sender)]
File "/usr/lib/python3/dist-packages/blinker/base.py", line 267, in
for receiver in self.receivers_for(sender)]
File "/usr/local/lib/python3.6/dist-packages/asyncirc/plugins/core.py", line 112, in _redispatch_raw
signal("irc").send(message)
File "/usr/lib/python3/dist-packages/blinker/base.py", line 267, in send
for receiver in self.receivers_for(sender)]
File "/usr/lib/python3/dist-packages/blinker/base.py", line 267, in
for receiver in self.receivers_for(sender)]
File "/usr/local/lib/python3.6/dist-packages/asyncirc/plugins/core.py", line 107, in _redispatch_irc
signal("irc-{}".format(message.verb.lower())).send(message)
File "/usr/lib/python3/dist-packages/blinker/base.py", line 267, in send
for receiver in self.receivers_for(sender)]
File "/usr/lib/python3/dist-packages/blinker/base.py", line 267, in
for receiver in self.receivers_for(sender)]
File "/usr/local/lib/python3.6/dist-packages/asyncirc/plugins/core.py", line 29, in _redispatch_notice
_redispatch_message_common(message, "notice")
File "/usr/local/lib/python3.6/dist-packages/asyncirc/plugins/core.py", line 19, in _redispatch_message_common
signal(type).send(message, user=user, target=target, text=text)
File "/usr/lib/python3/dist-packages/blinker/base.py", line 267, in send
for receiver in self.receivers_for(sender)]
File "/usr/lib/python3/dist-packages/blinker/base.py", line 267, in
for receiver in self.receivers_for(sender)]
TypeError: handle_connection_notice() got an unexpected keyword argument 'user'

Getting the above, any ideas please?

@nazcar4
Copy link

nazcar4 commented Nov 20, 2018

the same
ERROR:asyncio:Exception in callback _SelectorSocketTransport._read_ready()
handle: <Handle _SelectorSocketTransport._read_ready()>
Traceback (most recent call last):
File "/usr/local/lib/python3.6/asyncio/events.py", line 145, in _run
self._callback(*self._args)
File "/usr/local/lib/python3.6/asyncio/selector_events.py", line 734, in _read_ready
self._protocol.data_received(data)
File "/usr/local/lib/python3.6/site-packages/asyncirc/irc.py", line 89, in data_received
signal("raw").send(self, text=line_received)
File "/usr/local/lib/python3.6/site-packages/blinker/base.py", line 267, in send
for receiver in self.receivers_for(sender)]
File "/usr/local/lib/python3.6/site-packages/blinker/base.py", line 267, in
for receiver in self.receivers_for(sender)]
File "/usr/local/lib/python3.6/site-packages/asyncirc/plugins/core.py", line 112, in _redispatch_raw
signal("irc").send(message)
File "/usr/local/lib/python3.6/site-packages/blinker/base.py", line 267, in send
for receiver in self.receivers_for(sender)]
File "/usr/local/lib/python3.6/site-packages/blinker/base.py", line 267, in
for receiver in self.receivers_for(sender)]
File "/usr/local/lib/python3.6/site-packages/asyncirc/plugins/core.py", line 107, in _redispatch_irc
signal("irc-{}".format(message.verb.lower())).send(message)
File "/usr/local/lib/python3.6/site-packages/blinker/base.py", line 267, in send
for receiver in self.receivers_for(sender)]
File "/usr/local/lib/python3.6/site-packages/blinker/base.py", line 267, in
for receiver in self.receivers_for(sender)]
File "/usr/local/lib/python3.6/site-packages/asyncirc/plugins/core.py", line 29, in _redispatch_notice
_redispatch_message_common(message, "notice")
File "/usr/local/lib/python3.6/site-packages/asyncirc/plugins/core.py", line 19, in _redispatch_message_common
signal(type).send(message, user=user, target=target, text=text)
File "/usr/local/lib/python3.6/site-packages/blinker/base.py", line 267, in send
for receiver in self.receivers_for(sender)]
File "/usr/local/lib/python3.6/site-packages/blinker/base.py", line 267, in
for receiver in self.receivers_for(sender)]
TypeError: handle_connection_notice() got an unexpected keyword argument 'user'

@nazcar4
Copy link

nazcar4 commented Nov 20, 2018

solved line 322 def handle_connection_notice(_message, _user, _target, text): change with def handle_connection_notice(message, user, target, text):

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