APSL/puput

FontAwesome files are empty (zero file size)

tarocco opened this issue · 1 comments

When navigating to my puput site, I was getting this error in my web console:

downloadable font: rejected by sanitizer (font-family: "FontAwesome" style:normal weight:400 stretch:100 src index:1) source: http://localhost:8000/static/puput/fonts/fontawesome-webfont.woff?v=4.2.0

I went to make sure that file is indeed in my puput package static files. It turns out the file(s) are there, but several of them have a file size of 0.

(.venv) PS C:\Users\tarocco\Code\my-cool-app> ls .\.venv\Lib\site-packages\puput\static\puput\fonts\


    Directory: C:\Users\tarocco\Code\my-cool-app\.venv\Lib\site-packages\puput\static\puput\fonts


Mode                LastWriteTime         Length Name
----                -------------         ------ ----
-a----       2020-11-20   4:37 AM              0 fontawesome-webfont.eot
-a----       2020-11-20   4:37 AM         287007 fontawesome-webfont.svg
-a----       2020-11-20   4:37 AM         112160 fontawesome-webfont.ttf
-a----       2020-11-20   4:37 AM              0 fontawesome-webfont.woff
-a----       2020-11-20   4:37 AM              0 FontAwesome.otf

The files in the repository appear to be empty https://github.com/APSL/puput/tree/232b832/puput/static/puput/fonts

bashu commented

fixed in develop branch, stay tuned