GreyDGL / PentestGPT

A GPT-empowered penetration testing tool
MIT License
7.28k stars 883 forks source link

KeyError #206

Closed veanome closed 7 months ago

veanome commented 7 months ago

I am in the Usage Tier 1 for OpenAPI and I correctly input my OpenAPI key via the export command in the instructions, however it still gives me an error when I test the connection

testconnection

When I try to execute pentestgtp, I can get to the part where I input something, like 'discuss', but it then immediately errors out with a KeyError:

pentestgpt

Any help would be appreciated!

GreyDGL commented 7 months ago

May I confirm if you're using the latest version? How did you install the tool?

veanome commented 7 months ago

I tried both the 0.9 release and the latest branch build from March 29th

JiahaoLi2003 commented 7 months ago

I have the same problem, is there any solution?

Thanks for any help!

veanome commented 7 months ago

I have the same problem, is there any solution?

Thanks for any help!

I haven't had any luck yet

veanome commented 7 months ago

A full reinstall of Python 3.10.9 and pentestgpt seemed to have done the trick. I'm not sure what exactly went wrong, but fully reinstalling both seemed to have fixed the issue.