MineDojo / Voyager

An Open-Ended Embodied Agent with Large Language Models
https://voyager.minedojo.org/
MIT License
5.53k stars 512 forks source link

Creating Minecraft server ERROR #32

Closed droc12 closed 1 year ago

droc12 commented 1 year ago

Traceback (most recent call last): File "/Users/roc/tool/Voyager/ttest.py", line 12, in voyager = Voyager( File "/Users/roc/tool/Voyager/voyager/voyager.py", line 102, in init self.env = VoyagerEnv( File "/Users/roc/tool/Voyager/voyager/env/bridge.py", line 42, in init self.mc_instance = self.get_mc_instance() File "/Users/roc/tool/Voyager/voyager/env/bridge.py", line 67, in get_mc_instance return MinecraftInstance( File "/Users/roc/tool/Voyager/voyager/env/minecraft_launcher.py", line 36, in init self.mc_command = self.get_mc_command() File "/Users/roc/tool/Voyager/voyager/env/minecraft_launcher.py", line 89, in get_mc_command login_data = minecraft_launcher_lib.microsoft_account.complete_login( File "/Users/roc/miniconda3/lib/python3.10/site-packages/minecraft_launcher_lib/microsoft_account.py", line 261, in complete_login token = token_request["access_token"] KeyError: 'access_token'

nathan-gage commented 1 year ago

bump;

apple m1 w/ Azure login

MatthewPDingle commented 1 year ago

Same error, Windows 11 & Azure login

xieleo5 commented 1 year ago

Hi, all. Someone reported in #34 that changing Desktop and Mobile to Web could potentially solve this issue. However on my own computer, only Desktop and Mobile works. I am unsure if this discrepancy is due to a difference in OS. Could you please try both methods and see whether they work?

droc12 commented 1 year ago

Thank you for your reply. I tried both methods, but neither worked.

Roesilej commented 1 year ago

Having this problem as well. Windows 10 & Azure login

go-maple commented 1 year ago

@xieleo5 bro,My way used in Macos.The browser is chrome (version: 113.0.5672.126).but I have another problem about vpn,I have to use it for proxy because I'm in China. "" os.environ["OPENAI_PROXY"] = "http://xx.xx.xx.xx" "" I checked the url.It can let me to send curl.

I check the code in other example. It doesn't work use the proxy.

so I have to use global proxy in my computer. after then run the code:

" voyager = Voyager( azure_login=azure_login, skill_manager_retrieval_top_k=0, max_iterations=200, resume=True, ckpt_dir="./checkpoints/ckpt", ## load a checkpoints openai_api_key=openai_api_key, ) voyager.inference("Mine 1 wood log") "

image

always throw this error

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

GoingMyWay commented 1 year ago

Have you managed to solve it?

droc12 commented 1 year ago

Have you managed to solve it?

I haven't solved it yet.

github-actions[bot] commented 1 year ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 year ago

This issue was closed because it has been inactive for 14 days since being marked as stale.