TypeError: coercing to Unicode: need string or buffer, NoneType found (PyPhisher)

I'm running Ubuntu 18.04.

I cloned PyPhisher from GitHub -

git clone 

then I ran PyPhisher.py file by executing -

python PyPhisher.py

So I got this output -

Traceback (most recent call last): File "PyPhisher.py", line 79, in main(args) File "PyPhisher.py", line 17, in main pish(args) File "PyPhisher.py", line 20, in pish message_html = open_html_file(args.html) File "PyPhisher.py", line 26, in open_html_file with open(file, 'r') as open_html: TypeError: coercing to Unicode: need string or buffer, NoneType found

Can someone fix this?

1 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like