the bot join and left immidiatly
node 17.0.0 minecraft 1.16.3
C:\Users\hern3\PycharmProjects\minedojo.venv\lib\site-packages\langchain\chat_models_init_.py:31: LangChainDeprecationWarning: Importing chat models from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:
from langchain_community.chat_models import ChatOpenAI.
To install langchain-community run pip install -U langchain-community.
warnings.warn(
C:\Users\hern3\PycharmProjects\minedojo.venv\lib\site-packages\langchain\chat_models_init_.py:31: LangChainDeprecationWarning: Importing chat models from langchain is deprecated. Importing from langchain will no longer be supported as of langchain==0.2.0. Please import from langchain-community instead:
from langchain_community.chat_models import ChatOpenAI.
To install langchain-community run pip install -U langchain-community.
warnings.warn(
C:\Users\hern3\PycharmProjects\minedojo.venv\lib\site-packages\langchain_api\module_import.py:92: LangChainDeprecationWarning: Importing OpenAIEmbeddings from langchain.embeddings is deprecated. Please replace deprecated imports:
from langchain.embeddings import OpenAIEmbeddings
with new imports of:
from langchain_community.embeddings import OpenAIEmbeddings You can use the langchain cli to automatically upgrade many imports. Please see documentation here https://python.langchain.com/v0.2/docs/versions/v0_2/ warn_deprecated( C:\Users\hern3\PycharmProjects\minedojo.venv\lib\site-packages\langchain_api\module_import.py:92: LangChainDeprecationWarning: Importing Chroma from langchain.vectorstores is deprecated. Please replace deprecated imports:
from langchain.vectorstores import Chroma
with new imports of:
from langchain_community.vectorstores import Chroma You can use the langchain cli to automatically upgrade many imports. Please see documentation here https://python.langchain.com/v0.2/docs/versions/v0_2/ warn_deprecated( C:\Users\hern3\PycharmProjects\minedojo.venv\lib\site-packages\langchain_core_api\deprecation.py:119: LangChainDeprecationWarning: The class
ChatOpenAIwas deprecated in LangChain 0.0.10 and will be removed in 0.3.0. An updated version of the class exists in the langchain-openai package and should be used instead. To use it runpip install -U langchain-openaiand import asfrom langchain_openai import ChatOpenAI. warn_deprecated( C:\Users\hern3\PycharmProjects\minedojo.venv\lib\site-packages\langchain_core_api\deprecation.py:119: LangChainDeprecationWarning: The classOpenAIEmbeddingswas deprecated in LangChain 0.0.9 and will be removed in 0.3.0. An updated version of the class exists in the langchain-openai package and should be used instead. To use it runpip install -U langchain-openaiand import asfrom langchain_openai import OpenAIEmbeddings. warn_deprecated( Mineflayer process has exited, restarting Subprocess mineflayer started with PID 3816. Server started on port 3000
Traceback (most recent call last): File "C:\Users\hern3\PycharmProjects\minedojo.venv\lib\site-packages\urllib3\connectionpool.py", line 793, in urlopen response = self._make_request( File "C:\Users\hern3\PycharmProjects\minedojo.venv\lib\site-packages\urllib3\connectionpool.py", line 537, in _make_request response = conn.getresponse() File "C:\Users\hern3\PycharmProjects\minedojo.venv\lib\site-packages\urllib3\connection.py", line 466, in getresponse httplib_response = super().getresponse() File "C:\Users\hern3\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1377, in getresponse response.begin() File "C:\Users\hern3\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 320, in begin version, status, reason = self._read_status() File "C:\Users\hern3\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 281, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "C:\Users\hern3\AppData\Local\Programs\Python\Python39\lib\socket.py", line 704, in readinto return self._sock.recv_into(b) ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
During handling of the above exception, another exception occurred:
Traceback (most recent call last): File "C:\Users\hern3\PycharmProjects\minedojo.venv\lib\site-packages\requests\adapters.py", line 667, in send resp = conn.urlopen( File "C:\Users\hern3\PycharmProjects\minedojo.venv\lib\site-packages\urllib3\connectionpool.py", line 847, in urlopen retries = retries.increment( File "C:\Users\hern3\PycharmProjects\minedojo.venv\lib\site-packages\urllib3\util\retry.py", line 470, in increment raise reraise(type(error), error, _stacktrace) File "C:\Users\hern3\PycharmProjects\minedojo.venv\lib\site-packages\urllib3\util\util.py", line 38, in reraise raise value.with_traceback(tb) File "C:\Users\hern3\PycharmProjects\minedojo.venv\lib\site-packages\urllib3\connectionpool.py", line 793, in urlopen response = self._make_request( File "C:\Users\hern3\PycharmProjects\minedojo.venv\lib\site-packages\urllib3\connectionpool.py", line 537, in _make_request response = conn.getresponse() File "C:\Users\hern3\PycharmProjects\minedojo.venv\lib\site-packages\urllib3\connection.py", line 466, in getresponse httplib_response = super().getresponse() File "C:\Users\hern3\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 1377, in getresponse response.begin() File "C:\Users\hern3\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 320, in begin version, status, reason = self._read_status() File "C:\Users\hern3\AppData\Local\Programs\Python\Python39\lib\http\client.py", line 281, in _read_status line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1") File "C:\Users\hern3\AppData\Local\Programs\Python\Python39\lib\socket.py", line 704, in readinto return self._sock.recv_into(b) urllib3.exceptions.ProtocolError: ('Connection aborted.', ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\hern3\PycharmProjects\minedojo\Voyager\test.py", line 19, in
Process finished with exit code 1
i have met the same problem. have you resloved?
I too have the same issue. Bot joins, falls out of the world, then dies. Error pops up.
solved it using the same process here https://github.com/MineDojo/Voyager/issues/155
This issue is stale because it has been open for 30 days with no activity.
This issue was closed because it has been inactive for 14 days since being marked as stale.