pandaproject/panda — Issue #77: collectstatic command doesn't work in production
Author: onyxfish
Created: 2011-10-28 21:41:09+00:00
State: open
Labels: bug, Infrastructure

Copying '/home/ubuntu/.virtualenvs/panda/local/lib/python2.7/site-packages/django/contrib/admin/media/img/admin/selector_stacked-remove.gif'
Traceback (most recent call last):
File "manage.py", line 21, in
execute_manager(settings)
File "/home/ubuntu/.virtualenvs/panda/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 438, in execute_manager
utility.execute()
File "/home/ubuntu/.virtualenvs/panda/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 379, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/home/ubuntu/.virtualenvs/panda/local/lib/python2.7/site-packages/django/core/management/base.py", line 191, in run_from_argv
self.execute(*args, **options.__dict__)
File "/home/ubuntu/.virtualenvs/panda/local/lib/python2.7/site-packages/django/core/management/base.py", line 220, in execute
output = self.handle(*args, **options)
File "/home/ubuntu/.virtualenvs/panda/local/lib/python2.7/site-packages/django/core/management/base.py", line 351, in handle
return self.handle_noargs(**options)
File "/home/ubuntu/.virtualenvs/panda/local/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 89, in handle_noargs
self.copy_file(path, prefixed_path, storage, **options)
File "/home/ubuntu/.virtualenvs/panda/local/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 199, in copy_file
shutil.copy2(source_path, full_path)
File "/usr/lib/python2.7/shutil.py", line 127, in copy2
copyfile(src, dst)
File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
with open(dst, 'wb') as fdst:
IOError: [Errno 2] No such file or directory: u'/home/ubuntu/src/panda/media/admin/img/admin/selector_stacked-remove.gif'