Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.88 KB | None | 0 0
  1. (env)! askbot-devel/ > sudo python manage.py syncdb --migrate --noinput
  2. /usr/local/lib/python2.7/dist-packages/django_keyedcache-1.5.1-py2.7.egg/keyedcache/__init__.py:78: UserWarning: The setting `CACHE_PREFIX` is obsoleted and is ignored by keyedcache.
  3. Use "CACHES = {'default': {... 'KEY_PREFIX': '...'}}" instead.
  4. warn("The setting `CACHE_PREFIX` is obsoleted and is ignored by keyedcache.\n"
  5. WARNING!!! You are using a 'locmem' (local memory) caching backend,
  6. which is OK for a low volume site running on a single-process server.
  7. For a multi-process configuration it is neccessary to have a production
  8. cache system, such as redis or memcached.
  9.  
  10. With local memory caching and multi-process setup you might intermittently
  11. see outdated content on your site.
  12.  
  13. Please run command
  14.  
  15. python manage.py collectstatic
  16. WARNING!!! You are using a 'locmem' (local memory) caching backend,
  17. which is OK for a low volume site running on a single-process server.
  18. For a multi-process configuration it is neccessary to have a production
  19. cache system, such as redis or memcached.
  20.  
  21. With local memory caching and multi-process setup you might intermittently
  22. see outdated content on your site.
  23.  
  24. Please run command
  25.  
  26. python manage.py collectstatic
  27. Traceback (most recent call last):
  28. File "manage.py", line 11, in <module>
  29. execute_manager(settings)
  30. File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 438, in execute_manager
  31. utility.execute()
  32. File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 379, in execute
  33. self.fetch_command(subcommand).run_from_argv(self.argv)
  34. File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 191, in run_from_argv
  35. self.execute(*args, **options.__dict__)
  36. File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 219, in execute
  37. self.validate()
  38. File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 249, in validate
  39. num_errors = get_validation_errors(s, app)
  40. File "/usr/lib/python2.7/dist-packages/django/core/management/validation.py", line 35, in get_validation_errors
  41. for (app_name, error) in get_app_errors().items():
  42. File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py", line 146, in get_app_errors
  43. self._populate()
  44. File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py", line 64, in _populate
  45. self.load_app(app_name)
  46. File "/usr/lib/python2.7/dist-packages/django/db/models/loading.py", line 78, in load_app
  47. models = import_module('.models', app_name)
  48. File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module
  49. __import__(name)
  50. File "/home/dlu/Projects/askbot-devel/askbot/models/__init__.py", line 73, in <module>
  51. from askbot.models import signals
  52. ImportError: cannot import name signals
  53. (env)! askbot-devel/ >
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement