Advertisement
ryuji1009

Untitled

Oct 27th, 2016
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. (venv) Ryujis-MacBook-Pro:myhellowebapp ryujimorita$ python manage.py collectstatic
  2.  
  3. You have requested to collect static files at the destination
  4. location as specified in your settings:
  5.  
  6. /Users/ryujimorita/projects/myhellowebapp/staticfiles
  7.  
  8. This will overwrite existing files!
  9. Are you sure you want to do this?
  10.  
  11. Type 'yes' to continue, or 'no' to cancel: yes
  12. Traceback (most recent call last):
  13. File "manage.py", line 10, in <module>
  14. execute_from_command_line(sys.argv)
  15. File "/Users/ryujimorita/projects/myhellowebapp/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 353, in execute_from_command_line
  16. utility.execute()
  17. File "/Users/ryujimorita/projects/myhellowebapp/venv/lib/python2.7/site-packages/django/core/management/__init__.py", line 345, in execute
  18. self.fetch_command(subcommand).run_from_argv(self.argv)
  19. File "/Users/ryujimorita/projects/myhellowebapp/venv/lib/python2.7/site-packages/django/core/management/base.py", line 348, in run_from_argv
  20. self.execute(*args, **cmd_options)
  21. File "/Users/ryujimorita/projects/myhellowebapp/venv/lib/python2.7/site-packages/django/core/management/base.py", line 399, in execute
  22. output = self.handle(*args, **options)
  23. File "/Users/ryujimorita/projects/myhellowebapp/venv/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 176, in handle
  24. collected = self.collect()
  25. File "/Users/ryujimorita/projects/myhellowebapp/venv/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 98, in collect
  26. for path, storage in finder.list(self.ignore_patterns):
  27. File "/Users/ryujimorita/projects/myhellowebapp/venv/lib/python2.7/site-packages/django/contrib/staticfiles/finders.py", line 112, in list
  28. for path in utils.get_files(storage, ignore_patterns):
  29. File "/Users/ryujimorita/projects/myhellowebapp/venv/lib/python2.7/site-packages/django/contrib/staticfiles/utils.py", line 28, in get_files
  30. directories, files = storage.listdir(location)
  31. File "/Users/ryujimorita/projects/myhellowebapp/venv/lib/python2.7/site-packages/django/core/files/storage.py", line 299, in listdir
  32. for entry in os.listdir(path):
  33. OSError: [Errno 2] No such file or directory: '/Users/ryujimorita/projects/myhellowebapp/static'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement