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
konard@konard-MS-7982:~/Archive/Code/Deep/russian-laws-bot$ python3 main.py 2>&1 | tee log.txt
/home/konard/.local/lib/python3.10/site-packages/elasticsearch/connection/base.py:208: ElasticsearchWarning: Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone. See https://www.elastic.co/guide/en/elasticsearch/reference/7.13/security-minimal-setup.html to enable security.
warnings.warn(message, category=ElasticsearchWarning)
2024-05-11 06:20:12,414 - elasticsearch - WARNING - PUT http://localhost:9200/text_index [status:429 request:0.005s]
Traceback (most recent call last):
File "/home/konard/Archive/Code/Deep/russian-laws-bot/main.py", line 283, in <module>
create_index('text_index') # will fail if index exists and it will prevent second time indexing
File "/home/konard/Archive/Code/Deep/russian-laws-bot/combined_search.py", line 214, in create_index
es.indices.create(index=name, body=body)
File "/home/konard/.local/lib/python3.10/site-packages/elasticsearch/client/utils.py", line 168, in _wrapped
return func(*args, params=params, headers=headers, **kwargs)
File "/home/konard/.local/lib/python3.10/site-packages/elasticsearch/client/indices.py", line 123, in create
return self.transport.perform_request(
File "/home/konard/.local/lib/python3.10/site-packages/elasticsearch/transport.py", line 415, in perform_request
raise e
File "/home/konard/.local/lib/python3.10/site-packages/elasticsearch/transport.py", line 381, in perform_request
status, headers_response, data = connection.perform_request(
File "/home/konard/.local/lib/python3.10/site-packages/elasticsearch/connection/http_urllib3.py", line 277, in perform_request
self._raise_error(response.status, raw_data)
File "/home/konard/.local/lib/python3.10/site-packages/elasticsearch/connection/base.py", line 330, in _raise_error
raise HTTP_EXCEPTIONS.get(status_code, TransportError)(
elasticsearch.exceptions.TransportError: TransportError(429, 'cluster_block_exception', 'index [text_index] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block];')
It may mean that there is not enough disk space.
Forked from deep-foundation/russian-laws-bot#11 by https://github.com/konard/gh-org-migrator
The text was updated successfully, but these errors were encountered: