openedx-unsupported/ecommerce

Site matching query does not exist

Closed this issue · 0 comments

Traceback (most recent call last):
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 223, in get_response
response = middleware_method(request, response)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/contrib/flatpages/middleware.py", line 11, in process_response
return flatpage(request, request.path_info)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/contrib/flatpages/views.py", line 35, in flatpage
site_id = get_current_site(request).id
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/contrib/sites/shortcuts.py", line 15, in get_current_site
return Site.objects.get_current(request)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/contrib/sites/models.py", line 62, in get_current
return self._get_site_by_request(request)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/contrib/sites/models.py", line 46, in _get_site_by_request
site = self.get(domain__iexact=host)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/db/models/manager.py", line 127, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/db/models/query.py", line 334, in get
self.model._meta.object_name
DoesNotExist: Site matching query does not exist.
2016-12-23 12:16:02,291 ERROR 5654 [django.request] /home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/core/handlers/base.py:256 - Internal Server Error: /
Traceback (most recent call last):
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 223, in get_response
response = middleware_method(request, response)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/contrib/flatpages/middleware.py", line 11, in process_response
return flatpage(request, request.path_info)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/contrib/flatpages/views.py", line 35, in flatpage
site_id = get_current_site(request).id
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/contrib/sites/shortcuts.py", line 15, in get_current_site
return Site.objects.get_current(request)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/contrib/sites/models.py", line 62, in get_current
return self._get_site_by_request(request)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/contrib/sites/models.py", line 46, in _get_site_by_request
site = self.get(domain__iexact=host)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/db/models/manager.py", line 127, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/db/models/query.py", line 334, in get
self.model._meta.object_name
DoesNotExist: Site matching query does not exist.
2016-12-23 12:16:02,291 ERROR 5654 [django.request] /home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/core/handlers/base.py:256 - Internal Server Error: /
Traceback (most recent call last):
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 223, in get_response
response = middleware_method(request, response)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/contrib/flatpages/middleware.py", line 11, in process_response
return flatpage(request, request.path_info)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/contrib/flatpages/views.py", line 35, in flatpage
site_id = get_current_site(request).id
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/contrib/sites/shortcuts.py", line 15, in get_current_site
return Site.objects.get_current(request)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/contrib/sites/models.py", line 62, in get_current
return self._get_site_by_request(request)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/contrib/sites/models.py", line 46, in _get_site_by_request
site = self.get(domain__iexact=host)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/db/models/manager.py", line 127, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/db/models/query.py", line 334, in get
self.model._meta.object_name
DoesNotExist: Site matching query does not exist.
[23/Dec/2016 12:16:02] "GET / HTTP/1.1" 500 177632
2016-12-23 12:16:02,626 WARNING 5654 [django.request] /home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/core/handlers/base.py:170 - Not Found: /favicon.ico
2016-12-23 12:16:02,626 WARNING 5654 [django.request] /home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/core/handlers/base.py:170 - Not Found: /favicon.ico
2016-12-23 12:16:02,626 WARNING 5654 [django.request] /home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/core/handlers/base.py:170 - Not Found: /favicon.ico
2016-12-23 12:16:02,634 ERROR 5654 [django.request] /home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/core/handlers/base.py:256 - Internal Server Error: /favicon.ico
Traceback (most recent call last):
File "/home/msalinas/ecommerce/env_ecommcerce/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 223, in get_response