Staticfy icon indicating copy to clipboard operation
Staticfy copied to clipboard

TypeError: write() argument must be str, not bytes

Open DaniDiazTech opened this issue 4 years ago • 3 comments

When I try to run staticfy, with the the command staticfy index.html -o new.html --framework=django , I get a type error, and I don't know what I'm doing wrong

DaniDiazTech avatar Feb 03 '21 17:02 DaniDiazTech

Which version of Python are you running?

danidee10 avatar Feb 03 '21 23:02 danidee10

which version of Python are you running? I'm using Python 3.8.6

DaniDiazTech avatar Feb 04 '21 21:02 DaniDiazTech

I can't reproduce it.

I setup multi-version testing with Github workflows and I specifically added a key for python 3.8.6 on ubuntu-latest and it doesn't fail. you can see it here: https://github.com/danidee10/Staticfy/runs/1848553832?check_suite_focus=true

are you using the latest version i.e Staticfy==2.0?

danidee10 avatar Feb 07 '21 10:02 danidee10