Plugin giving KeyError
WSINTRA opened this issue · 0 comments
WSINTRA commented
Tried installing and using the plugin, getting the following error.
Traceback (most recent call last):
File "/usr/local/Cellar/python@3.10/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/local/Cellar/python@3.10/3.10.9/Frameworks/Python.framework/Versions/3.10/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/Users/ws/tensorflow-metal/home-made/Auto-GPT/autogpt/__main__.py", line 5, in <module>
autogpt.cli.main()
File "/Users/ws/tensorflow-metal/home-made/venv/lib/python3.10/site-packages/click/core.py", line 1130, in __call__
return self.main(*args, **kwargs)
File "/Users/ws/tensorflow-metal/home-made/venv/lib/python3.10/site-packages/click/core.py", line 1055, in main
rv = self.invoke(ctx)
File "/Users/ws/tensorflow-metal/home-made/venv/lib/python3.10/site-packages/click/core.py", line 1635, in invoke
rv = super().invoke(ctx)
File "/Users/ws/tensorflow-metal/home-made/venv/lib/python3.10/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/ws/tensorflow-metal/home-made/venv/lib/python3.10/site-packages/click/core.py", line 760, in invoke
return __callback(*args, **kwargs)
File "/Users/ws/tensorflow-metal/home-made/venv/lib/python3.10/site-packages/click/decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
File "/Users/ws/tensorflow-metal/home-made/Auto-GPT/autogpt/cli.py", line 90, in main
run_auto_gpt(
File "/Users/ws/tensorflow-metal/home-made/Auto-GPT/autogpt/main.py", line 118, in run_auto_gpt
cfg.set_plugins(scan_plugins(cfg, cfg.debug_mode))
File "/Users/ws/tensorflow-metal/home-made/Auto-GPT/autogpt/plugins.py", line 234, in scan_plugins
loaded_plugins.append(a_module())
File "/Users/ws/tensorflow-metal/home-made/venv/lib/python3.10/site-packages/abstract_singleton/__init__.py", line 14, in __call__
cls._instances[cls] = super().__call__(*args, **kwargs)
File "plugins/AutoGPT-Instagram-master.zip/AutoGPT-Instagram-master/src/auto_gpt_instagram/__init__.py", line 32, in __init__
File "plugins/AutoGPT-Instagram-master.zip/AutoGPT-Instagram-master/src/auto_gpt_instagram/instagram.py", line 14, in login_instagram
File "/Users/ws/tensorflow-metal/home-made/venv/lib/python3.10/site-packages/instabot/bot/bot.py", line 443, in login
if self.api.login(**args) is False:
File "/Users/ws/tensorflow-metal/home-made/venv/lib/python3.10/site-packages/instabot/api/api.py", line 240, in login
self.load_uuid_and_cookie(load_cookie=use_cookie, load_uuid=use_uuid)
File "/Users/ws/tensorflow-metal/home-made/venv/lib/python3.10/site-packages/instabot/api/api.py", line 199, in load_uuid_and_cookie
return load_uuid_and_cookie(self, load_uuid=load_uuid, load_cookie=load_cookie)
File "/Users/ws/tensorflow-metal/home-made/venv/lib/python3.10/site-packages/instabot/api/api_login.py", line 352, in load_uuid_and_cookie
cookie_username = self.cookie_dict["ds_user"]
KeyError: 'ds_user'