Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When having files in the plugin directory, I get this error (even if the configuration is set to false for all the plugins). #4817

Closed
1 task done
LanceLake opened this issue Jun 27, 2023 · 7 comments
Labels

Comments

@LanceLake
Copy link

⚠️ Search for existing issues first ⚠️

  • I have searched the existing issues, and there is no existing issue for my problem

Which Operating System are you using?

Windows

Which version of Auto-GPT are you using?

Master (branch)

Do you use OpenAI GPT-3 or GPT-4?

GPT-4

Which area covers your issue best?

Installation and setup

Describe your issue.

WARNING: You are running on master branch - this is not a supported branch.
Traceback (most recent call last):
File "", line 198, in _run_module_as_main
File "", line 88, in run_code
File "C:\Coderoot\AI\AutoGPT\Pure\autogpt_main
.py", line 5, in
autogpt.cli.main()
File "C:\Python311\Lib\site-packages\click\core.py", line 1130, in call
return self.main(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 1055, in main
rv = self.invoke(ctx)
^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 1635, in invoke
rv = super().invoke(ctx)
^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\core.py", line 760, in invoke
return _callback(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\click\decorators.py", line 26, in new_func
return f(get_current_context(), *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Coderoot\AI\AutoGPT\Pure\autogpt\cli.py", line 96, in main
run_auto_gpt(
File "C:\Coderoot\AI\AutoGPT\Pure\autogpt\main.py", line 124, in run_auto_gpt
config.plugins = scan_plugins(config, config.debug_mode)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Coderoot\AI\AutoGPT\Pure\autogpt\plugins_init
.py", line 270, in scan_plugins
plugin_enabled = plugins_config.is_enabled(plugin_name)
^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'dict' object has no attribute 'is_enabled'

Upload Activity Log Content

No response

Upload Error Log Content

No response

@suziaki
Copy link

suziaki commented Jun 28, 2023

Have you found a fix or workaround, I get the same error

@LanceLake
Copy link
Author

Nope. I just removed all plugins from the directory.

I should also point out, ALL the plugins. Even the one that is from the same repo user here.

@dvirarad
Copy link

dvirarad commented Jul 8, 2023

I deleted plugins/Auto-GPT-Plugins.zip
rm -rf plugins/Auto-GPT-Plugins.zip
This solve the issue.

You can install again the plugins again from here
https://github.com/Significant-Gravitas/Auto-GPT-Plugins#installation

@LanceLake
Copy link
Author

I deleted plugins/Auto-GPT-Plugins.zip rm -rf plugins/Auto-GPT-Plugins.zip This solve the issue.

You can install again the plugins again from here https://github.com/Significant-Gravitas/Auto-GPT-Plugins#installation

Yes. As I mentioned, removing the plugins does make it load. However, putting them back in breaks it again.

@Dunya-8a
Copy link

Same problem here

@collijk collijk mentioned this issue Jul 17, 2023
26 tasks
@github-actions
Copy link
Contributor

github-actions bot commented Sep 6, 2023

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.

@github-actions github-actions bot added the Stale label Sep 6, 2023
@github-actions
Copy link
Contributor

This issue was closed automatically because it has been stale for 10 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants