Skip to content

Problem executing step 5: make create_database #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
rcanepa opened this issue Oct 4, 2014 · 3 comments
Closed

Problem executing step 5: make create_database #10

rcanepa opened this issue Oct 4, 2014 · 3 comments

Comments

@rcanepa
Copy link

rcanepa commented Oct 4, 2014

Hi Kevin,

I was trying to setup everything to follow up the tutorial but I couldn't make it work. I did the first four steps without problems, but I got stuck in the next one. I am getting this error:

(kevinastone-tutorial)rcanepa@rcanepa-R480:~/Development/django_projects/kevinastone-tutorial/django-api-rest-and-angular$ make create_database 
./manage.py syncdb --noinput
System check identified some issues:

WARNINGS:
?: (1_6.W001) Some project unittests may not execute as expected.
        HINT: Django 1.6 introduced a new default test runner. It looks like this project was generated using Django 1.5 or earlier. You should ensure your tests are all running & behaving as expected. See https://docs.djangoproject.com/en/dev/releases/1.6/#new-test-runner for more information.
Syncing...
Traceback (most recent call last):
  File "./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/home/rcanepa/.virtualenvs/kevinastone-tutorial/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
  File "/home/rcanepa/.virtualenvs/kevinastone-tutorial/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 377, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/rcanepa/.virtualenvs/kevinastone-tutorial/local/lib/python2.7/site-packages/django/core/management/base.py", line 288, in run_from_argv
    self.execute(*args, **options.__dict__)
  File "/home/rcanepa/.virtualenvs/kevinastone-tutorial/local/lib/python2.7/site-packages/django/core/management/base.py", line 338, in execute
    output = self.handle(*args, **options)
  File "/home/rcanepa/.virtualenvs/kevinastone-tutorial/local/lib/python2.7/site-packages/django/core/management/base.py", line 533, in handle
    return self.handle_noargs(**options)
  File "/home/rcanepa/.virtualenvs/kevinastone-tutorial/local/lib/python2.7/site-packages/south/management/commands/syncdb.py", line 82, in handle_noargs
    old_app_store, cache.app_store = cache.app_store, SortedDict([
AttributeError: 'Apps' object has no attribute 'app_store'
make: *** [create_database] Error 1

Any idea of what could be happening?.

Regards,

Renzo

@rcanepa
Copy link
Author

rcanepa commented Oct 4, 2014

I will leave the packages installed by pip too:

(kevinastone-tutorial)rcanepa@rcanepa-R480:~/Development/django_projects/kevinastone-tutorial/django-api-rest-and-angular$ pip freeze
-e git+https://github.com/kevinastone/django-api-rest-and-angular.git@91b8ff52f8a7043e3b227788dd754a2c8cb6d29e#egg=API_Example-master
Django==1.7
Pillow==2.6.0
South==1.0
Werkzeug==0.9.6
argparse==1.2.1
django-extensions==1.4.0
djangorestframework==2.4.3
six==1.8.0
wsgiref==0.1.2

@kevinastone
Copy link
Owner

This was fixed by #11

@rcanepa
Copy link
Author

rcanepa commented Oct 6, 2014

Thanks Kevin. It worked perfectly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants