Guest User

Untitled

a guest
Jul 13th, 2020
60
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Traceback (most recent call last):
  2.   File "/Users/xsavitar/Desktop/GSoC2020/goodbot/gbenv/lib/python3.8/site-packages/nose/case.py", line 198, in runTest
  3.     self.test(*self.arg)
  4.   File "/Users/xsavitar/Desktop/GSoC2020/goodbot/test.py", line 31, in test_irc
  5.     eq_(len(errs), 0, errs)
  6. AssertionError: Fatal error: protocol.data_received() call failed.
  7. protocol: <irc.client_aio.IrcProtocol object at 0x104a01ee0>
  8. transport: <_SelectorSocketTransport fd=9 read=polling write=<idle, bufsize=0>>
  9. Traceback (most recent call last):
  10.   File "/usr/local/Cellar/python@3.8/3.8.3_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/selector_events.py", line 860, in _read_ready__data_received
  11.     self._protocol.data_received(data)
  12.   File "/Users/xsavitar/Desktop/GSoC2020/goodbot/gbenv/lib/python3.8/site-packages/irc/client_aio.py", line 78, in data_received
  13.     self.connection.process_data(data)
  14.   File "/Users/xsavitar/Desktop/GSoC2020/goodbot/gbenv/lib/python3.8/site-packages/irc/client_aio.py", line 186, in process_data
  15.     self._process_line(line)
  16.   File "/Users/xsavitar/Desktop/GSoC2020/goodbot/gbenv/lib/python3.8/site-packages/irc/client.py", line 312, in _process_line
  17.     handler(arguments, command, source, tags)
  18.   File "/Users/xsavitar/Desktop/GSoC2020/goodbot/gbenv/lib/python3.8/site-packages/irc/client.py", line 379, in _handle_other
  19.     self._handle_event(event)
  20.   File "/Users/xsavitar/Desktop/GSoC2020/goodbot/gbenv/lib/python3.8/site-packages/irc/client.py", line 389, in _handle_event
  21.     self.reactor._handle_event(self, event)
  22.   File "/Users/xsavitar/Desktop/GSoC2020/goodbot/gbenv/lib/python3.8/site-packages/irc/client.py", line 933, in _handle_event
  23.     result = handler.callback(connection, event)
  24.   File "/Users/xsavitar/Desktop/GSoC2020/goodbot/gbenv/lib/python3.8/site-packages/irc/client.py", line 1170, in _dispatcher
  25.     method(connection, event)
  26.   File "bots/ircbot.py", line 75, in on_welcome
  27.     proc.start()
  28.   File "/usr/local/Cellar/python@3.8/3.8.3_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/process.py", line 121, in start
  29.     self._popen = self._Popen(self)
  30.   File "/usr/local/Cellar/python@3.8/3.8.3_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/context.py", line 224, in _Popen
  31.     return _default_context.get_context().Process._Popen(process_obj)
  32.   File "/usr/local/Cellar/python@3.8/3.8.3_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/context.py", line 283, in _Popen
  33.     return Popen(process_obj)
  34.   File "/usr/local/Cellar/python@3.8/3.8.3_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 32, in __init__
  35.     super().__init__(process_obj)
  36.   File "/usr/local/Cellar/python@3.8/3.8.3_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_fork.py", line 19, in __init__
  37.     self._launch(process_obj)
  38.   File "/usr/local/Cellar/python@3.8/3.8.3_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/popen_spawn_posix.py", line 47, in _launch
  39.     reduction.dump(process_obj, fp)
  40.   File "/usr/local/Cellar/python@3.8/3.8.3_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/multiprocessing/reduction.py", line 60, in dump
  41.     ForkingPickler(file, protocol).dump(obj)
  42. AttributeError: Can't pickle local object 'IRCBot.on_welcome.<locals>.forward_to_irc'
  43. Exception in callback _SelectorSocketTransport._call_connection_lost(AttributeErro...ward_to_irc'"))
  44. handle: <Handle _SelectorSocketTransport._call_connection_lost(AttributeErro...ward_to_irc'"))>
  45. Traceback (most recent call last):
  46.   File "/usr/local/Cellar/python@3.8/3.8.3_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/events.py", line 81, in _run
  47.     self._context.run(self._callback, *self._args)
  48.   File "/usr/local/Cellar/python@3.8/3.8.3_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/selector_events.py", line 968, in _call_connection_lost
  49.     super()._call_connection_lost(exc)
  50.   File "/usr/local/Cellar/python@3.8/3.8.3_2/Frameworks/Python.framework/Versions/3.8/lib/python3.8/asyncio/selector_events.py", line 726, in _call_connection_lost
  51.     self._protocol.connection_lost(exc)
  52.   File "/Users/xsavitar/Desktop/GSoC2020/goodbot/gbenv/lib/python3.8/site-packages/irc/client_aio.py", line 82, in connection_lost
  53.     self.connection.disconnect()
  54.   File "/Users/xsavitar/Desktop/GSoC2020/goodbot/gbenv/lib/python3.8/site-packages/irc/client_aio.py", line 214, in disconnect
  55.     self._handle_event(Event("disconnect", self.server, "", [message]))
  56.   File "/Users/xsavitar/Desktop/GSoC2020/goodbot/gbenv/lib/python3.8/site-packages/irc/client.py", line 389, in _handle_event
  57.     self.reactor._handle_event(self, event)
  58.   File "/Users/xsavitar/Desktop/GSoC2020/goodbot/gbenv/lib/python3.8/site-packages/irc/client.py", line 933, in _handle_event
  59.     result = handler.callback(connection, event)
  60.   File "/Users/xsavitar/Desktop/GSoC2020/goodbot/gbenv/lib/python3.8/site-packages/irc/bot.py", line 208, in _on_disconnect
  61.     self.recon.run(self)
  62.   File "/Users/xsavitar/Desktop/GSoC2020/goodbot/gbenv/lib/python3.8/site-packages/irc/bot.py", line 108, in run
  63.     self.bot.reactor.scheduler.execute_after(intvl, self.check)
  64. AttributeError: 'AioReactor' object has no attribute 'scheduler'
RAW Paste Data