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

Error occurred while registering abilities: No module named 'forge.sdk.abilities' #6537

Closed
1 task done
Vibrat opened this issue Dec 9, 2023 · 8 comments · Fixed by #6571
Closed
1 task done

Error occurred while registering abilities: No module named 'forge.sdk.abilities' #6537

Vibrat opened this issue Dec 9, 2023 · 8 comments · Fixed by #6571

Comments

@Vibrat
Copy link

Vibrat commented Dec 9, 2023

⚠️ 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?

MacOS

Which version of AutoGPT are you using?

Latest Release

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

GPT-3.5

Which area covers your issue best?

Agents

Describe your issue.

I ran into the following errors when starting forge instance.

Vibrat@Localhost ~ % ./run agent start forge
...
[2023-12-09 22:25:45,032] [watchfiles.main] [INFO]	📝  4 changes detected
Error occurred while registering abilities: No module named 'forge.sdk.abilities
...

After some debugging time, I think the issue is located in ActionRegister when it tries to import the missing abilities module. This currently prevent the forge model to have abilities.

module = importlib.import_module(
        f".{action[:-3]}", package="forge.sdk.abilities"
)

Upload Activity Log Content

No response

Upload Error Log Content

No response

@ghost
Copy link

ghost commented Dec 12, 2023

I also have this problem, is there a solution?

@magfrump
Copy link

Looks like it's coming from this commit; a couple of imports have broken.

in registry.py, forge.sdk.abilities needs to be replaced with forge.actions. Then in finish.py in the same folder the first import needs to be changed from from sdk.forge_log import ForgeLogger to from forge.sdk.forge_log import ForgeLogger

This has moved me on to a delightful new error that seems to have been introduced by the same commit.

@klsdjft
Copy link

klsdjft commented Dec 12, 2023

Looks like it's coming from this commit; a couple of imports have broken.

in registry.py, forge.sdk.abilities needs to be replaced with forge.actions. Then in finish.py in the same folder the first import needs to be changed from from sdk.forge_log import ForgeLogger to from forge.sdk.forge_log import ForgeLogger

This has moved me on to a delightful new error that seems to have been introduced by the same commit.

It works for me, appreciation~

@dek4dron
Copy link

It works for me too, appreciation~

@dek4dron
Copy link

klsdjft

Looks like it's coming from this commit; a couple of imports have broken.
in registry.py, forge.sdk.abilities needs to be replaced with forge.actions. Then in finish.py in the same folder the first import needs to be changed from from sdk.forge_log import ForgeLogger to from forge.sdk.forge_log import ForgeLogger
This has moved me on to a delightful new error that seems to have been introduced by the same commit.

It works for me, appreciation~

Notice that it has 2 finish.py files
registry there are also 2 but there is only need to change in 1 registry.
As for the finish, it has to be changed

@curtisblackwell
Copy link

Looks like it's coming from this commit; a couple of imports have broken.

in registry.py, forge.sdk.abilities needs to be replaced with forge.actions. Then in finish.py in the same folder the first import needs to be changed from from sdk.forge_log import ForgeLogger to from forge.sdk.forge_log import ForgeLogger

This has moved me on to a delightful new error that seems to have been introduced by the same commit.

Is this the new error others are seeing?

NameError: name 'PromptEngine' is not defined

@mrbeandev
Copy link

Looks like it's coming from this commit; a couple of imports have broken.

in registry.py, forge.sdk.abilities needs to be replaced with forge.actions. Then in finish.py in the same folder the first import needs to be changed from from sdk.forge_log import ForgeLogger to from forge.sdk.forge_log import ForgeLogger

This has moved me on to a delightful new error that seems to have been introduced by the same commit.

Thank you this works perfectly for me..... 👍🏻 🙇🏻

@mansurmetocrm
Copy link

why thoe docs aren't updated ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants