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

Run execute_shell in same environment as execute_python_code #1299

Open
1 task done
Wladastic opened this issue Apr 14, 2023 · 7 comments
Open
1 task done

Run execute_shell in same environment as execute_python_code #1299

Wladastic opened this issue Apr 14, 2023 · 7 comments
Labels
docker fridge Items that can't be processed right now but can be of use or inspiration later function: run shell commands good first issue Good for newcomers Security 🛡️

Comments

@Wladastic
Copy link
Contributor

Duplicates

  • I have searched the existing issues

Steps to reproduce 🕹

My Auto-gpt keeps trying to install pip packages to execute the python3 scripts it builds.
But the python shells are executed in a docker container and the shell is executed locally.

This results in auto-gpt trying to resolve why it cannot install the packages it need and getting stuck in a weird loop where it breaks out by using other agents again and does weird stuff on it's own or keeps triggering speak.py in the background with a mix of gibberish and stuff like "run specified file with python python version set version set view option set output log path path to verbose log, no proxy proxy"
It sounds funny actually

Current behavior 😯

No response

Expected behavior 🤔

No response

Your prompt 📝

# Paste your prompt here
@Pwuts
Copy link
Member

Pwuts commented Apr 18, 2023

Please include your log and reopen.

@Pwuts Pwuts closed this as not planned Won't fix, can't repro, duplicate, stale Apr 18, 2023
@Boostrix
Copy link
Contributor

Boostrix commented May 9, 2023

the python shells are executed in a docker container and the shell is executed locally.

would not have closed that yet, that's actually a valid issue: there is a discrepancy here if execute_shell and execute_python run in different environments, as explained by @valayDave here: #2987 (comment)

@Pwuts Pwuts reopened this May 30, 2023
@Pwuts
Copy link
Member

Pwuts commented May 30, 2023

Related: #3541

@github-actions
Copy link

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

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 19, 2023
@Boostrix
Copy link
Contributor

Boostrix commented Oct 4, 2023

not in favor of closing this one, pwuts introduced a "fridge" a while ago - maybe we need some notion of "attic" or "in a perfect world" or just label these "good first issue" please

@Pwuts Pwuts added good first issue Good for newcomers fridge Items that can't be processed right now but can be of use or inspiration later and removed Stale labels Nov 16, 2023
@Pwuts Pwuts reopened this Nov 16, 2023
@Pwuts Pwuts changed the title execute_shell should be also within python docker Run execute_shell in same environment as execute_python_code Nov 16, 2023
@Pwuts
Copy link
Member

Pwuts commented Nov 16, 2023

not in favor of closing this one, pwuts introduced a "fridge" a while ago - maybe we need some notion of "attic" or "in a perfect world" or just label these "good first issue" please

fridge is now also whitelisted from the stale monster. Because you know, things don't go stale in the fridge. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docker fridge Items that can't be processed right now but can be of use or inspiration later function: run shell commands good first issue Good for newcomers Security 🛡️
Projects
Status: 🔖 Valuable & Actionable
Development

No branches or pull requests

3 participants