Wednesday, December 23, 2015

django 1.9 - application does not

Hello,

I have a application on my laptop and I am trying to move it to AWS.
I have installed django 1.9 on aws server under a virtualhost and scp'd all my local files to aws server.

Under the virtualhost, when I try to run the server, I get an error.


$ python3.4 manage.py runserver 0.0.0.0:8000

Traceback (most recent call last):

  File "manage.py", line 10, in <module>

    execute_from_command_line(sys.argv)

  File "/home/ctippur/db/dropboat_virtual/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 350, in execute_from_command_line

    utility.execute()

  File "/home/ctippur/db/dropboat_virtual/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 342, in execute

    self.fetch_command(subcommand).run_from_argv(self.argv)

  File "/home/ctippur/db/dropboat_virtual/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 176, in fetch_command

    commands = get_commands()

  File "/home/ctippur/db/dropboat_virtual/lib64/python3.4/functools.py", line 448, in wrapper

    result = user_function(*args, **kwds)

  File "/home/ctippur/db/dropboat_virtual/local/lib/python3.4/site-packages/django/core/management/__init__.py", line 71, in get_commands

    for app_config in reversed(list(apps.get_app_configs())):

  File "/home/ctippur/db/dropboat_virtual/local/lib/python3.4/site-packages/django/apps/registry.py", line 137, in get_app_configs

    self.check_apps_ready()

  File "/home/ctippur/db/dropboat_virtual/local/lib/python3.4/site-packages/django/apps/registry.py", line 124, in check_apps_ready

    raise AppRegistryNotReady("Apps aren't loaded yet.")

django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.


- Shekar

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8280d2bf-19cc-41ee-8db5-b382e67bc9f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment