Advertisement
swimmerhair

Swimbot Error

Apr 15th, 2022
823
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.74 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/waitlist.py", line 109, in wait
  5.     tag_list = await COC.swimbot(str(target.id)).player_list
  6.   File "/home/pi/Swimbot/COC.py", line 189, in player_list
  7.     async for document in accounts.find({'discord_id':self.input}):
  8.   File "<string>", line 7, in __anext__
  9.   File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
  10.     result = self.fn(*self.args, **self.kwargs)
  11.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/cursor.py", line 1073, in _refresh
  12.     self.__send_message(q)
  13.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/cursor.py", line 955, in __send_message
  14.     address=self.__address)
  15.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1347, in _run_operation_with_response
  16.     exhaust=exhaust)
  17.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1455, in _retryable_read
  18.     read_pref, session, address=address)
  19.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/mongo_client.py", line 1254, in _select_server
  20.     server = topology.select_server(server_selector)
  21.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/topology.py", line 231, in select_server
  22.     address))
  23.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/topology.py", line 189, in select_servers
  24.     selector, server_timeout, address)
  25.   File "/home/pi/.local/lib/python3.7/site-packages/pymongo/topology.py", line 205, in _select_servers_loop
  26.     self._error_message(selector))
  27. pymongo.errors.ServerSelectionTimeoutError: No replica set members match selector "Primary()"
  28.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement