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

[Bug]: "streamlit run app.py" gpt-pilot cannot recognize successful.. #979

Open
seunghwan-dev opened this issue May 30, 2024 · 2 comments
Open
Labels
bug Something isn't working

Comments

@seunghwan-dev
Copy link

Version

Command-line (Python) version

Operating System

MacOS

What happened?

I created a Python app using Streamlit.
During processing, gpt-pilot runs "streamlit run app.py" and confirms successful execution. However, we always decide that it is not successful and proceed with troubleshooting.

How can I fix this?

@seunghwan-dev seunghwan-dev added the bug Something isn't working label May 30, 2024
@senko
Copy link
Collaborator

senko commented Jun 3, 2024

@seunghwan-dev thanks for reporting this!

Can you check which version you're using? If you use the VSCode extension, you can go to settings and see the versions for both the extension and core (please report both). If you're using it from the command line, to check the version with python main.py --version (you might need to run that either in gpt-pilot directory, or the "pilot" subdirectory, depending on which version that is).

Also, could you paste the command output so we can check what the command output is and why it deduced it was an error?

@seunghwan-dev
Copy link
Author

@senko I'm not sure.. I think 0.2.0

gpt-pilot runs : Can I run command: streamlit run stocker.py with 120s timeout?

result : {
"analysis": "The command streamlit run stocker.py timed out, which indicates that the Streamlit server might not have started correctly or there could be an issue with the network or environment setup. Since the command did not complete successfully, we need to debug the issue. Possible steps include checking the network connection, ensuring that the stocker.py file is correctly set up, and verifying that there are no syntax errors or other issues in the code.",
"success": false
}

Given the task and the issue encountered with the streamlit run stocker.py command timing out, we need to debug the problem step-by-step. Here is the plan to solve the issue and ensure the Streamlit application runs correctly.
Step-by-Step Plan to Debug and Continue the Current Task:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants