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
saving a current session leads to exception No such file or directory: 'test_history
The directory needs to be created manually prior saving a session
Exception: can only concatenate str (not "tuple") to str
Exception details are below. You may submit an issue on github and paste the error trace
<class 'TypeError'> pentest_gpt.py 615
Before you quit, you may want to save the current session.
Please enter the name of the current session. (Default with current timestamp)
> htb-previse
Traceback (most recent call last):
File "/Users/adelakloul/github/GreyDGL/PentestGPT/main.py", line 27, in <module>
pentestGPTHandler.main()
File "/Users/adelakloul/github/GreyDGL/PentestGPT/utils/pentest_gpt.py", line 645, in main
self.save_session()
File "/Users/adelakloul/github/GreyDGL/PentestGPT/utils/pentest_gpt.py", line 538, in save_session
with open(os.path.join(self.save_dir, save_name), "w") as f:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: 'test_history/htb-previse'
Expected behavior
the test_directory should be automated created if not exist
Version
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered:
Describe the bug
saving a current session leads to exception No such file or directory: 'test_history
The directory needs to be created manually prior saving a session
Expected behavior
the test_directory should be automated created if not exist
Version
N/A
Additional context
N/A
The text was updated successfully, but these errors were encountered: