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

Fix missing utils when running via Docker #402

Merged
merged 1 commit into from
Nov 12, 2023

Conversation

m-allanson
Copy link
Contributor

Fixes the following error when running from Docker:

  File "/opt/gpt3discord/bin/gpt3discord.py", line 14, in <module>
    from cogs.code_interpreter_service_cog import CodeInterpreterService
  File "/usr/local/lib/python3.10/site-packages/cogs/code_interpreter_service_cog.py", line 38, in <module>
    from utils.safe_ctx_respond import safe_ctx_respond, safe_remove_list
ModuleNotFoundError: No module named 'utils'

Fixes the following error when running in Docker:

```
  File "/opt/gpt3discord/bin/gpt3discord.py", line 14, in <module>
    from cogs.code_interpreter_service_cog import CodeInterpreterService
  File "/usr/local/lib/python3.10/site-packages/cogs/code_interpreter_service_cog.py", line 38, in <module>
    from utils.safe_ctx_respond import safe_ctx_respond, safe_remove_list
ModuleNotFoundError: No module named 'utils'
```

Signed-off-by: Mike Allanson <github@mikeallanson.com>
@cherryroots cherryroots merged commit bb137af into Kav-K:main Nov 12, 2023
9 checks passed
@cherryroots
Copy link
Collaborator

Thanks for the fix

@m-allanson m-allanson deleted the patch-2 branch November 13, 2023 07:21
@Paillat-dev
Copy link
Contributor

Oh so that was the issue...

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 this pull request may close these issues.

3 participants