Guest User

Untitled

a guest
Oct 23rd, 2014
23
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. Traceback (most recent call last):
  2. File "manage.py", line 11, in <module>
  3. execute_from_command_line(sys.argv)
  4. File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
  5. utility.execute()
  6. File "/usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute
  7. self.fetch_command(subcommand).run_from_argv(self.argv)
  8. File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 242, in run_from_argv
  9. self.execute(*args, **options.__dict__)
  10. File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 284, in execute
  11. self.validate()
  12. File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 310, in validate
  13. num_errors = get_validation_errors(s, app)
  14. File "/usr/local/lib/python2.7/dist-packages/django/core/management/validation.py", line 34, in get_validation_errors
  15. for (app_name, error) in get_app_errors().items():
  16. File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 196, in get_app_errors
  17. self._populate()
  18. File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 75, in _populate
  19. self.load_app(app_name, True)
  20. File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 99, in load_app
  21. models = import_module('%s.models' % app_name)
  22. File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
  23. __import__(name)
  24. File "/usr/local/lib/python2.7/dist-packages/debug_toolbar/models.py", line 9, in <module>
  25. dt_settings.patch_all()
  26. File "/usr/local/lib/python2.7/dist-packages/debug_toolbar/settings.py", line 215, in patch_all
  27. patch_root_urlconf()
  28. File "/usr/local/lib/python2.7/dist-packages/debug_toolbar/settings.py", line 203, in patch_root_urlconf
  29. reverse('djdt:render_panel')
  30. File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 507, in reverse
  31. app_list = resolver.app_dict[ns]
  32. File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 329, in app_dict
  33. self._populate()
  34. File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 267, in _populate
  35. for pattern in reversed(self.url_patterns):
  36. File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 365, in url_patterns
  37. patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
  38. File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 360, in urlconf_module
  39. self._urlconf_module = import_module(self.urlconf_name)
  40. File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
  41. __import__(name)
  42. File "/home/thom/Programmation/zds-site/zds/urls.py", line 82, in <module>
  43. url(r'^rechercher/', include('zds.search.urls')),
  44. File "/usr/local/lib/python2.7/dist-packages/django/conf/urls/__init__.py", line 26, in include
  45. urlconf_module = import_module(urlconf_module)
  46. File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
  47. __import__(name)
  48. File "/home/thom/Programmation/zds-site/zds/search/urls.py", line 5, in <module>
  49. from . import views
  50. File "/home/thom/Programmation/zds-site/zds/search/views.py", line 3, in <module>
  51. from haystack.views import SearchView
  52. File "/usr/local/lib/python2.7/dist-packages/haystack/views.py", line 14, in <module>
  53. class SearchView(object):
  54. File "/usr/local/lib/python2.7/dist-packages/haystack/views.py", line 18, in SearchView
  55. results = EmptySearchQuerySet()
  56. File "/usr/local/lib/python2.7/dist-packages/haystack/query.py", line 24, in __init__
  57. self._determine_backend()
  58. File "/usr/local/lib/python2.7/dist-packages/haystack/query.py", line 62, in _determine_backend
  59. self.query = connections[backend_alias].get_query()
  60. File "/usr/local/lib/python2.7/dist-packages/haystack/utils/loading.py", line 99, in __getitem__
  61. self._connections[key] = load_backend(self.connections_info[key]['ENGINE'])(using=key)
  62. File "/usr/local/lib/python2.7/dist-packages/haystack/utils/loading.py", line 52, in load_backend
  63. return import_class(full_backend_path)
  64. File "/usr/local/lib/python2.7/dist-packages/haystack/utils/loading.py", line 19, in import_class
  65. module_itself = importlib.import_module(module_path)
  66. File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
  67. __import__(name)
  68. File "/usr/local/lib/python2.7/dist-packages/haystack/backends/solr_backend.py", line 21, in <module>
  69. raise MissingDependency("The 'solr' backend requires the installation of 'pysolr'. Please refer to the documentation.")
  70. haystack.exceptions.MissingDependency: The 'solr' backend requires the installation of 'pysolr'. Please refer to the documentation.
RAW Paste Data