Advertisement
swimmerhair

Swimbot Error

Dec 14th, 2020
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 2.71 KB | None | 0 0
  1. Traceback (most recent call last):
  2.   File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
  3.     ret = await coro(*args, **kwargs)
  4.   File "c:\Users\swimm\OneDrive\Desktop\Swimbot\whois.py", line 448, in link
  5.     document = await COC.swimbot(temp_tag).get_id
  6.   File "c:\Users\swimm\OneDrive\Desktop\Swimbot\COC.py", line 124, in get_id
  7.     account = await accounts.find_one({'_id': re.compile('^' + str(self.input) + '$', re.IGNORECASE)})
  8.   File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\concurrent\futures\thread.py", line 57, in run
  9.     result = self.fn(*self.args, **self.kwargs)
  10.   File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\pymongo\collection.py", line 1319, in find_one
  11.     for result in cursor.limit(-1):
  12.   File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\pymongo\cursor.py", line 1207, in next
  13.     if len(self.__data) or self._refresh():
  14.   File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\pymongo\cursor.py", line 1100, in _refresh
  15.     self.__session = self.__collection.database.client._ensure_session()
  16.   File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\pymongo\mongo_client.py", line 1816, in _ensure_session
  17.     return self.__start_session(True, causal_consistency=False)
  18.   File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\pymongo\mongo_client.py", line 1766, in __start_session
  19.     server_session = self._get_server_session()
  20.   File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\pymongo\mongo_client.py", line 1802, in _get_server_session
  21.     return self._topology.get_server_session()
  22.   File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\pymongo\topology.py", line 493, in get_server_session
  23.     None)
  24.   File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\pymongo\topology.py", line 217, in _select_servers_loop
  25.     (self._error_message(selector), timeout, self.description))
  26. pymongo.errors.ServerSelectionTimeoutError: connection closed,connection closed,connection closed, Timeout: 30s, Topology Description: <TopologyDescription id: 5fd84afc877bc6e1884156b2, topology_type: ReplicaSetNoPrimary, servers: [<ServerDescription ('swimbot-shard-00-00-6mola.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('connection closed')>, <ServerDescription ('swimbot-shard-00-01-6mola.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('connection closed')>, <ServerDescription ('swimbot-shard-00-02-6mola.mongodb.net', 27017) server_type: Unknown, rtt: None, error=AutoReconnect('connection closed')>]>
  27.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement