You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Getting the following error - after contextualising, the code stops while creating directory. Can you please help.
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/pratik/stocks_project/gpt-engineer/gpt_engineer/main.py", line 49, in
app()
File "/home/pratik/stocks_project/gpt-engineer/gpt_engineer/main.py", line 45, in chat
messages = step(ai, dbs)
^^^^^^^^^^^^^
File "/home/pratik/stocks_project/gpt-engineer/gpt_engineer/steps.py", line 78, in pre_unit_tests
to_files(dbs.memory['unit_tests'], dbs.workspace)
File "/home/pratik/stocks_project/gpt-engineer/gpt_engineer/chat_to_files.py", line 29, in to_files
workspace[file_name] = file_content
~~~~~~~~~^^^^^^^^^^^
File "/home/pratik/stocks_project/gpt-engineer/gpt_engineer/db.py", line 20, in setitem
with open(self.path / key, 'w', encoding='utf-8') as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IsADirectoryError: [Errno 21] Is a directory: '/home/pratik/stocks_project/gpt-engineer/woe_class/workspace'
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Getting the following error - after contextualising, the code stops while creating directory. Can you please help.
File "", line 198, in _run_module_as_main
File "", line 88, in _run_code
File "/home/pratik/stocks_project/gpt-engineer/gpt_engineer/main.py", line 49, in
app()
File "/home/pratik/stocks_project/gpt-engineer/gpt_engineer/main.py", line 45, in chat
messages = step(ai, dbs)
^^^^^^^^^^^^^
File "/home/pratik/stocks_project/gpt-engineer/gpt_engineer/steps.py", line 78, in pre_unit_tests
to_files(dbs.memory['unit_tests'], dbs.workspace)
File "/home/pratik/stocks_project/gpt-engineer/gpt_engineer/chat_to_files.py", line 29, in to_files
workspace[file_name] = file_content
~~~~~~~~~^^^^^^^^^^^
File "/home/pratik/stocks_project/gpt-engineer/gpt_engineer/db.py", line 20, in setitem
with open(self.path / key, 'w', encoding='utf-8') as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
IsADirectoryError: [Errno 21] Is a directory: '/home/pratik/stocks_project/gpt-engineer/woe_class/workspace'
Beta Was this translation helpful? Give feedback.
All reactions