whitenoise.storage.MissingFileError:文件'ecommerce / fonts / icofont.eot

我正在尝试在Heroku上部署我的应用程序。它之前已成功上传,但是我进行了一些更改,并尝试重新上传,但此后一直未响应。我一直收到此错误: whitenoise.storage.MissingFileError:无法找到文件'ecommerce / fonts / icofont.eot'。我该怎么办?

这是回溯:

whitenoise.storage.MissingFileError: The file 'ecommerce/fonts/icofont.eot' could not be found with <whitenoise.storage.CompressedManifestStaticfilesStorage object at 0x7f73c4861320>.
remote:        The CSS file 'ecommerce/css/icofont.css' references a file which could not be found:
remote:          ecommerce/fonts/icofont.eot
remote:        Please check the URL references in this CSS file,particularly any
remote:        relative paths which might be pointing to the wrong location.
remote:        Sentry is attempting to send 0 pending error messages
remote:        Waiting up to 2 seconds
remote:        Press Ctrl-C to quit

我的settings.py文件中有这个


STATIC_ROOT = os.path.join(BASE_DIR,'staticfiles')
STATIcfileS_STORAGE = 'whitenoise.storage.CompressedManifestStaticfilesStorage'
STATIC_URL = '/static/'
jnyangxiao 回答:whitenoise.storage.MissingFileError:文件'ecommerce / fonts / icofont.eot

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/2434837.html

大家都在问