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
(shims) ➜ Python python ruia_test.py
Traceback (most recent call last):
File "/home/cloudide/.local/lib/python3.8/site-packages/ruia/spider.py", line 111, in __init__
self.request_session = getattr(self, "request_session")
AttributeError: 'HackerNewsSpider' object has no attribute 'request_session'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "ruia_test.py", line 27, in <module>
HackerNewsSpider.start()
File "/home/cloudide/.local/lib/python3.8/site-packages/ruia/spider.py", line 314, in start
spider_ins = cls(middleware=middleware, loop=loop, **spider_kwargs)
File "/home/cloudide/.local/lib/python3.8/site-packages/ruia/spider.py", line 113, in __init__
self.request_session = ClientSession()
File "/home/cloudide/.local/lib/python3.8/site-packages/aiohttp/client.py", line 297, in __init__
loop = loop or asyncio.get_running_loop()
RuntimeError: no running event loop
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: