thunderrabbit

error running python manage.py runserver 0.0.0.0:8000 --set

Mar 18th, 2015
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.24 KB | None | 0 0
  1. (ap)vagrant@vagrant-ubuntu-trusty-64:~/ap/ap$ python manage.py runserver 0.0.0.0:8000 --settings=ap.settings.dev
  2. /home/vagrant/ap/ap
  3. /home/vagrant/ap/ap
  4. Validating models...
  5.  
  6. 0 errors found
  7. March 18, 2015 - 05:55:24
  8. Django version 1.6.10, using settings 'ap.settings.dev'
  9. Starting development server at http://0.0.0.0:8000/
  10. Quit the server with CONTROL-C.
  11. Unhandled exception in thread started by <function wrapper at 0x7f818311c5f0>
  12. Traceback (most recent call last):
  13. File "/home/vagrant/.virtualenvs/ap/local/lib/python2.7/site-packages/django/utils/autoreload.py", line 93, in wrapper
  14. fn(*args, **kwargs)
  15. File "/home/vagrant/.virtualenvs/ap/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 126, in inner_run
  16. handler = self.get_handler(*args, **options)
  17. File "/home/vagrant/.virtualenvs/ap/local/lib/python2.7/site-packages/django/contrib/staticfiles/management/commands/runserver.py", line 24, in get_handler
  18. handler = super(Command, self).get_handler(*args, **options)
  19. File "/home/vagrant/.virtualenvs/ap/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 45, in get_handler
  20. return get_internal_wsgi_application()
  21. File "/home/vagrant/.virtualenvs/ap/local/lib/python2.7/site-packages/django/core/servers/basehttp.py", line 57, in get_internal_wsgi_application
  22. error_prefix="WSGI application '%s' could not be loaded; " % app_path
  23. File "/home/vagrant/.virtualenvs/ap/local/lib/python2.7/site-packages/django/utils/module_loading.py", line 26, in import_by_path
  24. sys.exc_info()[2])
  25. File "/home/vagrant/.virtualenvs/ap/local/lib/python2.7/site-packages/django/utils/module_loading.py", line 21, in import_by_path
  26. module = import_module(module_path)
  27. File "/home/vagrant/.virtualenvs/ap/local/lib/python2.7/site-packages/django/utils/importlib.py", line 40, in import_module
  28. __import__(name)
  29. File "/home/vagrant/ap/ap/ap/wsgi.py", line 38, in <module>
  30. from dj_static import Cling
  31. django.core.exceptions.ImproperlyConfigured: WSGI application 'ap.wsgi.application' could not be loaded; Error importing module ap.wsgi: "No module named dj_static"
  32. ^C(ap)vagrant@vagrant-ubuntu-trusty-64:~/ap/ap$ exit
  33. logout
  34. Connection to 127.0.0.1 closed.
Advertisement
Add Comment
Please, Sign In to add comment