SHARE
TWEET

Untitled

a guest Apr 23rd, 2019 72 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. ERROR 2019-04-24 03:17:17,604 39912 140271741089536 log.py log log_response 228 Internal Server Error: /accounts/register
  3. Traceback (most recent call last):
  4.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
  5.     response = get_response(request)
  6.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/django/core/handlers/base.py", line 126, in _get_response
  7.     response = self.process_exception_by_middleware(e, request)
  8.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/django/core/handlers/base.py", line 124, in _get_response
  9.     response = wrapped_callback(request, *callback_args, **callback_kwargs)
  10.   File "/var/www/python-blogs/python-blogs/gsoc/views.py", line 142, in register_view
  11.     user = reglink.create_user(username=username)
  12.   File "/var/www/python-blogs/python-blogs/gsoc/models.py", line 353, in create_user
  13.     api.publish_page(page, su, 'en')
  14.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/cms/api.py", line 424, in publish_page
  15.     if not page.has_publish_permission(user):
  16.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/cms/models/pagemodel.py", line 1527, in has_publish_permission
  17.     return user_can_publish_page(user, page=self)
  18.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/cms/utils/permissions.py", line 156, in cached_func
  19.     setattr(user, func_cache_name, cached_func)
  20. AttributeError: 'NoneType' object has no attribute '_djangocms_cached_func_user_can_publish_page'
  21. ERROR 2019-04-24 03:17:17,604 39912 140271741089536 log.py log log_response 228 Internal Server Error: /accounts/register
  22. Traceback (most recent call last):
  23.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
  24.     response = get_response(request)
  25.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/django/core/handlers/base.py", line 126, in _get_response
  26.     response = self.process_exception_by_middleware(e, request)
  27.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/django/core/handlers/base.py", line 124, in _get_response
  28.     response = wrapped_callback(request, *callback_args, **callback_kwargs)
  29.   File "/var/www/python-blogs/python-blogs/gsoc/views.py", line 142, in register_view
  30.     user = reglink.create_user(username=username)
  31.   File "/var/www/python-blogs/python-blogs/gsoc/models.py", line 353, in create_user
  32.     api.publish_page(page, su, 'en')
  33.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/cms/api.py", line 424, in publish_page
  34.     if not page.has_publish_permission(user):
  35.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/cms/models/pagemodel.py", line 1527, in has_publish_permission
  36.     return user_can_publish_page(user, page=self)
  37.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/cms/utils/permissions.py", line 156, in cached_func
  38.     setattr(user, func_cache_name, cached_func)
  39. AttributeError: 'NoneType' object has no attribute '_djangocms_cached_func_user_can_publish_page'
  40. ERROR 2019-04-24 03:19:51,155 41912 139878491977472 log.py log log_response 228 Internal Server Error: /accounts/register
  41. Traceback (most recent call last):
  42.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
  43.     response = get_response(request)
  44.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/django/core/handlers/base.py", line 126, in _get_response
  45.     response = self.process_exception_by_middleware(e, request)
  46.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/django/core/handlers/base.py", line 124, in _get_response
  47.     response = wrapped_callback(request, *callback_args, **callback_kwargs)
  48.   File "/var/www/python-blogs/python-blogs/gsoc/views.py", line 142, in register_view
  49.     user = reglink.create_user(username=username)
  50.   File "/var/www/python-blogs/python-blogs/gsoc/models.py", line 355, in create_user
  51.     group = Group.objects.get(name='students')
  52.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/django/db/models/manager.py", line 82, in manager_method
  53.     return getattr(self.get_queryset(), name)(*args, **kwargs)
  54.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/django/db/models/query.py", line 399, in get
  55.     self.model._meta.object_name
  56. django.contrib.auth.models.Group.DoesNotExist: Group matching query does not exist.
  57. ERROR 2019-04-24 03:19:51,155 41912 139878491977472 log.py log log_response 228 Internal Server Error: /accounts/register
  58. Traceback (most recent call last):
  59.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
  60.     response = get_response(request)
  61.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/django/core/handlers/base.py", line 126, in _get_response
  62.     response = self.process_exception_by_middleware(e, request)
  63.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/django/core/handlers/base.py", line 124, in _get_response
  64.     response = wrapped_callback(request, *callback_args, **callback_kwargs)
  65.   File "/var/www/python-blogs/python-blogs/gsoc/views.py", line 142, in register_view
  66.     user = reglink.create_user(username=username)
  67.   File "/var/www/python-blogs/python-blogs/gsoc/models.py", line 355, in create_user
  68.     group = Group.objects.get(name='students')
  69.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/django/db/models/manager.py", line 82, in manager_method
  70.     return getattr(self.get_queryset(), name)(*args, **kwargs)
  71.   File "/var/www/python-blogs/venv/lib64/python3.7/site-packages/django/db/models/query.py", line 399, in get
  72.     self.model._meta.object_name
  73. django.contrib.auth.models.Group.DoesNotExist: Group matching query does not exist.
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top