1.0-pre satchmo_copy_templates fails

Issue #957 invalid
Former user created an issue

python manage.py satchmo_copy_templates is trying to copy templates from a directory that does not exist

craig@solidus:~/dev/myproject$ python manage.py satchmo_copy_templates Traceback (most recent call last): File "manage.py", line 27, in <module> execute_manager(settings) File "/usr/lib/python2.5/site-packages/django/core/management/init.py", line 362, in execute_manager utility.execute() File "/usr/lib/python2.5/site-packages/django/core/management/init.py", line 303, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.5/site-packages/django/core/management/base.py", line 195, in run_from_argv self.execute(args, options.dict) File "/usr/lib/python2.5/site-packages/django/core/management/base.py", line 222, in execute output = self.handle(*args, options) File "/usr/lib/python2.5/site-packages/django/core/management/base.py", line 351, in handle return self.handle_noargs(*options) File "/home/craig/dev/src/satchmo/satchmo/apps/satchmo_store/shop/management/commands/satchmo_copy_templates.py", line 16, in handle_noargs shutil.copytree(template_src, template_dest) File "/usr/lib/python2.5/shutil.py", line 109, in copytree names = os.listdir(src) OSError: [Errno 2] No such file or directory: '/home/craig/dev/src/satchmo/satchmo/apps/satchmo_store/templates'

also, i don't know much about how pip works, but why doesn't pip installa satchmo to site-packages? currently it installs to my home directory

Comments (1)

  1. Log in to comment