You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The crawler project's test.py is failing during the setup of every test but I am not familiar enough with asyncio to understand why. System information:
Windows 10
Python 3.5
Here is the output:
C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py:54: ResourceWarning: loop argument is deprecated
warnings.warn("loop argument is deprecated", ResourceWarning)
EEEEEEEEEEEEEEEEE
ERROR: test_content_type (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Ran 17 tests in 0.031s
FAILED (errors=17)
The text was updated successfully, but these errors were encountered:
The crawler project's test.py is failing during the setup of every test but I am not familiar enough with asyncio to understand why. System information:
Windows 10
Python 3.5
Here is the output:
C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py:54: ResourceWarning: loop argument is deprecated
warnings.warn("loop argument is deprecated", ResourceWarning)
EEEEEEEEEEEEEEEEE
ERROR: test_content_type (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
======================================================================
ERROR: test_deep_root (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
======================================================================
ERROR: test_encoding (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
======================================================================
ERROR: test_exclude (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
======================================================================
ERROR: test_lenient_host_checking (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
======================================================================
ERROR: test_link (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
======================================================================
ERROR: test_link_cycle (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
======================================================================
ERROR: test_max_tasks (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
======================================================================
ERROR: test_max_tries (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
======================================================================
ERROR: test_non_html (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
======================================================================
ERROR: test_non_http (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
======================================================================
ERROR: test_prohibited_host (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
======================================================================
ERROR: test_redirect (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
======================================================================
ERROR: test_redirect_cycle (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
======================================================================
ERROR: test_redirect_join (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
======================================================================
ERROR: test_roots (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
======================================================================
ERROR: test_strict_host_checking (main.TestCrawler)
Traceback (most recent call last):
File "test.py", line 51, in setUp
self.app = self.loop.run_until_complete(self._create_server())
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\base_events.py", line 342, in run_until_complete
return future.result()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\futures.py", line 274, in result
raise self._exception
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\tasks.py", line 239, in _step
result = coro.send(value)
File "test.py", line 64, in _create_server
handler_factory = app.make_handler(debug=True)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 224, in make_handler
self._set_loop(loop)
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\site-packages\aiohttp\web.py", line 110, in _set_loop
loop = asyncio.get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 589, in get_event_loop
return get_event_loop_policy().get_event_loop()
File "C:\Users\Primary User\AppData\Local\Programs\Python\Python35\lib\asyncio\events.py", line 535, in get_event_loop
% threading.current_thread().name)
RuntimeError: There is no current event loop in thread 'MainThread'.
Ran 17 tests in 0.031s
FAILED (errors=17)
The text was updated successfully, but these errors were encountered: