Advertisement
swimmerhair

Swimbot Error

Oct 20th, 2022
785
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.98 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "/home/pi/.local/lib/python3.7/site-packages/discord/ext/commands/core.py", line 85, in wrapped
  3.     ret = await coro(*args, **kwargs)
  4.   File "/home/pi/Swimbot/whois.py", line 446, in link
  5.     document = await COC.swimbot(temp_tag).get_id
  6.   File "/home/pi/Swimbot/COC.py", line 124, in get_id
  7.     account = await accounts.find_one({'_id': re.compile('^' + str(self.input) + '$', re.IGNORECASE)})
  8.   File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
  9.     result = self.fn(*self.args, **self.kwargs)
  10.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/collection.py", line 1273, in find_one
  11.     for result in cursor.limit(-1):
  12.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/cursor.py", line 1156, in next
  13.     if len(self.__data) or self._refresh():
  14.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/cursor.py", line 1073, in _refresh
  15.     self.__send_message(q)
  16.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/cursor.py", line 955, in __send_message
  17.     address=self.__address)
  18.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1347, in _run_operation_with_response
  19.     exhaust=exhaust)
  20.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1455, in _retryable_read
  21.     read_pref, session, address=address)
  22.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1254, in _select_server
  23.     server = topology.select_server(server_selector)
  24.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/topology.py", line 231, in select_server
  25.     address))
  26.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/topology.py", line 189, in select_servers
  27.     selector, server_timeout, address)
  28.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/topology.py", line 205, in _select_servers_loop
  29.     self._error_message(selector))
  30. pymongo.errors.ServerSelectionTimeoutError: No replica set members match selector "Primary()"
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement