#35297: Not showing static file and 404 error instead of GET mathod -------------------------------------+------------------------------------- Reporter: Shihab | Owner: nobody Khan | Type: Bug | Status: new Component: | Version: 4.2 contrib.staticfiles | Keywords: static file error Severity: Normal | 404 Triage Stage: | Has patch: 0 Unreviewed | Needs documentation: 0 | Needs tests: 0 Patch needs improvement: 0 | Easy pickings: 0 UI/UX: 0 | -------------------------------------+------------------------------------- {{{ $ python manage.py collectstatic
You have requested to collect static files at the destination location as specified in your settings: C:\Users\int\Downloads\New folder\project\assets This will overwrite existing files! Are you sure you want to do this? Type 'yes' to continue, or 'no' to cancel: yes Post-processing 'admin\assets\css\vendors\icon\font-awesome\all.min.css' failed! Traceback (most recent call last): File "C:\Users\int\Downloads\New folder\project\manage.py", line 22, in <module> main() File "C:\Users\int\Downloads\New folder\project\manage.py", line 18, in main execute_from_command_line(sys.argv) File "C:\Users\int\AppData\Local\Programs\Python\Python310\lib\site- packages\django\core\management\__init__.py", line 442, in execute_from_command_line utility.execute() File "C:\Users\int\AppData\Local\Programs\Python\Python310\lib\site- packages\django\core\management\__init__.py", line 436, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "C:\Users\int\AppData\Local\Programs\Python\Python310\lib\site- packages\django\core\management\base.py", line 412, in run_from_argv self.execute(*args, **cmd_options) File "C:\Users\int\AppData\Local\Programs\Python\Python310\lib\site- packages\django\core\management\base.py", line 458, in execute output = self.handle(*args, **options) File "C:\Users\int\AppData\Local\Programs\Python\Python310\lib\site- packages\django\contrib\staticfiles\management\commands\collectstatic.py", line 209, in handle collected = self.collect() File "C:\Users\int\AppData\Local\Programs\Python\Python310\lib\site- packages\django\contrib\staticfiles\management\commands\collectstatic.py", line 154, in collect raise processed whitenoise.storage.MissingFileError: The file 'admin/assets/css/vendors/icon/webfonts/fa-brands-400.woff2' could not be found with <whitenoise.storage.CompressedManifestStaticFilesStorage object at 0x000002A745A6C370>. The CSS file 'admin\assets\css\vendors\icon\font-awesome\all.min.css' references a file which could not be found: admin/assets/css/vendors/icon/webfonts/fa-brands-400.woff2 Please check the URL references in this CSS file, particularly any relative paths which might be pointing to the wrong location. }}} -- Ticket URL: <https://code.djangoproject.com/ticket/35297> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/0107018e364c4c56-11393b20-68b2-4b2f-83a5-a3b06c2452cf-000000%40eu-central-1.amazonses.com.