When trying to get Pinax "account" starter project installed, I am getting a "tarfile.ReadError: file could not be opened successfully".
Is there something else I need to do in order to get this to work? The only commands I ran are:
virtualenv myenv
source myenv/bin/activate
pip install pinax-cli
pinax start account myproject
After some warnings regarding SSL (which are probably due to my using a free account, but probably not relevant to the problem at hand) the resulting error was:
Starting project from Pinax
Traceback (most recent call last):
File "/home/moneymoy/myenv/bin/pinax", line 11, in <module>
sys.exit(main())
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/click/core.py", line 700, in __call__
return self.main(*args, **kwargs)
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/click/core.py", line 680, in main
rv = self.invoke(ctx)
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/click/core.py", line 1027, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/click/core.py", line 873, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/click/core.py", line 508, in invoke
return callback(*args, **kwargs)
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/click/decorators.py", line 63, in new_func
return ctx.invoke(f, obj, *args[1:], **kwargs)
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/click/core.py", line 508, in invoke
return callback(*args, **kwargs)
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/pcli.py", line 98, in start
start_project(projects[project], name, dev)
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/pcli.py", line 35, in start_project
call_command("startproject", name, **kwargs)
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 130, in
call_command
return command.execute(*args, **defaults)
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/django/core/management/base.py", line 345, in execute
output = self.handle(*args, **options)
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/django/core/management/commands/startproject.py", line 34, in handle
super(Command, self).handle('project', project_name, target, **options)
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/django/core/management/templates.py", line 126, in handle
base_subdir)
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/django/core/management/templates.py", line 213, in handle_template
return self.extract(absolute_path)
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/django/core/management/templates.py", line 314, in extract
archive.extract(filename, tempdir)
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/django/utils/archive.py", line 49, in extract
with Archive(path) as archive:
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/django/utils/archive.py", line 58, in __init__
self._archive = self._archive_cls(file)(file)
File "/home/moneymoy/myenv/local/lib/python2.7/site-packages/django/utils/archive.py", line 137, in __init__
self._archive = tarfile.open(file)
File "/usr/lib/python2.7/tarfile.py", line 1665, in open
raise ReadError("file could not be opened successfully")
tarfile.ReadError: file could not be opened successfully