gpt-pilot icon indicating copy to clipboard operation
gpt-pilot copied to clipboard

[Bug]: Crash when you tell it to

Open stevebrainng opened this issue 1 year ago • 1 comments

Version

Command-line (Python) version

Operating System

Windows 11

What happened?

When I tell Gpt-pilot not to debug any errors or to just continue development steps Instead of debugging, GPT-pilot exit with the following errors.

---------- GPT PILOT EXITING WITH ERROR ---------- Traceback (most recent call last): File "C:\src\development\Python\gpt-pilot\pilot\main.py", line 97, in started = project.start() ^^^^^^^^^^^^^^^ File "C:\src\development\Python\gpt-pilot\pilot\helpers\Project.py", line 192, in start self.developer.start_coding() File "C:\src\development\Python\gpt-pilot\pilot\helpers\agents\Developer.py", line 84, in start_coding self.implement_task(i, dev_task) File "C:\src\development\Python\gpt-pilot\pilot\helpers\agents\Developer.py", line 195, in implement_task result = self.execute_task(convo_dev_task, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\src\development\Python\gpt-pilot\pilot\helpers\agents\Developer.py", line 497, in execute_task result = self.step_command_run(convo, task_steps, i, success_with_cli_response=need_to_see_output) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\src\development\Python\gpt-pilot\pilot\helpers\agents\Developer.py", line 268, in step_command_run return run_command_until_success(convo, data['command'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\src\development\Python\gpt-pilot\pilot\helpers\cli.py", line 499, in run_command_until_success success = convo.agent.debugger.debug(convo, { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\src\development\Python\gpt-pilot\pilot\helpers\Debugger.py", line 86, in debug result = self.agent.project.developer.execute_task( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\src\development\Python\gpt-pilot\pilot\helpers\agents\Developer.py", line 497, in execute_task result = self.step_command_run(convo, task_steps, i, success_with_cli_response=need_to_see_output) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\src\development\Python\gpt-pilot\pilot\helpers\agents\Developer.py", line 268, in step_command_run return run_command_until_success(convo, data['command'], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\src\development\Python\gpt-pilot\pilot\helpers\cli.py", line 499, in run_command_until_success success = convo.agent.debugger.debug(convo, { ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\src\development\Python\gpt-pilot\pilot\helpers\Debugger.py", line 97, in debug if 'step_index' in result: ^^^^^^^^^^^^^^^^^^^^^^ TypeError: argument of type 'NoneType' is not iterable

stevebrainng avatar Feb 05 '24 07:02 stevebrainng

hey there could you clarify, this problem ? those this error occur after creating a app and testing a feature ?

techjeylabs avatar Apr 22 '24 14:04 techjeylabs