Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Traceback (most recent call last):
- File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\discord\ext\commands\core.py", line 85, in wrapped
- ret = await coro(*args, **kwargs)
- File "c:\Users\swimm\OneDrive\Desktop\Swimbot\whois.py", line 448, in link
- document = await COC.swimbot(temp_tag).get_id
- File "c:\Users\swimm\OneDrive\Desktop\Swimbot\COC.py", line 124, in get_id
- account = await accounts.find_one({'_id': re.compile('^' + str(self.input) + '$', re.IGNORECASE)})
- File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\concurrent\futures\thread.py", line 57, in run
- result = self.fn(*self.args, **self.kwargs)
- File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\pymongo\collection.py", line 1319, in find_one
- for result in cursor.limit(-1):
- File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\pymongo\cursor.py", line 1207, in next
- if len(self.__data) or self._refresh():
- File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\pymongo\cursor.py", line 1100, in _refresh
- self.__session = self.__collection.database.client._ensure_session()
- File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\pymongo\mongo_client.py", line 1816, in _ensure_session
- return self.__start_session(True, causal_consistency=False)
- File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\pymongo\mongo_client.py", line 1766, in __start_session
- server_session = self._get_server_session()
- File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\pymongo\mongo_client.py", line 1802, in _get_server_session
- return self._topology.get_server_session()
- File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\pymongo\topology.py", line 493, in get_server_session
- None)
- File "C:\Users\swimm\AppData\Local\Programs\Python\Python37\lib\site-packages\pymongo\topology.py", line 217, in _select_servers_loop
- (self._error_message(selector), timeout, self.description))
- 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')>]>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement