I was downloading the dataset as instructed.
All the news content got downloaded and now the tweets/retweets stuff was getting downloaded when my laptop decided to restart overnight (it was 33% of approx 165k done last I had checked).
So I started it again in the morning by removing the news articles option from the config.json
Now it has been running for 1 hour now but with just the following error message:
" File "\FakeNewsNet\code\util\TwythonConnector.py", line 65, in get_resource_index
response = requests.get(self.url + resource_type)
File "C:\Users\asus\Anaconda3\envs\thesis\lib\site-packages\requests\api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "C:\Users\asus\Anaconda3\envs\thesis\lib\site-packages\requests\api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "C:\Users\asus\Anaconda3\envs\thesis\lib\site-packages\requests\sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "C:\Users\asus\Anaconda3\envs\thesis\lib\site-packages\requests\sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "C:\Users\asus\Anaconda3\envs\thesis\lib\site-packages\requests\adapters.py", line 516, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPConnectionPool(host='localhost', port=5000): Max retries exceeded with url: /get-keys?resource_type=get_retweet (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x000002601A614048>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it'))"
Is this because these were done already? Right now it has done 6% all with this error. So it will go till 33% and then resume downloading the remaining part?
Or is something wrong?
It says Failed to establish new connection cz target machine refused it. What is the reason for that? I do not think there is a problem with my Twitter API keys.
I was downloading the dataset as instructed. All the news content got downloaded and now the tweets/retweets stuff was getting downloaded when my laptop decided to restart overnight (it was 33% of approx 165k done last I had checked).
So I started it again in the morning by removing the news articles option from the config.json Now it has been running for 1 hour now but with just the following error message:
Is this because these were done already? Right now it has done 6% all with this error. So it will go till 33% and then resume downloading the remaining part? Or is something wrong? It says Failed to establish new connection cz target machine refused it. What is the reason for that? I do not think there is a problem with my Twitter API keys.