Created
January 10, 2020 14:59
-
-
Save peterbe/2d2efebf872040fc6c735e4faaa45268 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
web_1 | Traceback (most recent call last): | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/contrib/staticfiles/handlers.py", line 63, in __call__ | |
web_1 | return self.application(environ, start_response) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/wsgi.py", line 157, in __call__ | |
web_1 | response = self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 124, in get_response | |
web_1 | response = self._middleware_chain(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 140, in __call__ | |
web_1 | response = self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/whitenoise/middleware.py", line 25, in __call__ | |
web_1 | response = self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/redirect_urls/middleware.py", line 19, in __call__ | |
web_1 | return self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/app/kuma/core/middleware.py", line 306, in __call__ | |
web_1 | return self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 140, in __call__ | |
web_1 | response = self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/app/kuma/core/middleware.py", line 44, in __call__ | |
web_1 | return self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/app/kuma/core/middleware.py", line 78, in __call__ | |
web_1 | response = self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/app/kuma/core/middleware.py", line 157, in __call__ | |
web_1 | response = self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/app/kuma/wiki/middleware.py", line 17, in __call__ | |
web_1 | return self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/app/kuma/core/middleware.py", line 221, in __call__ | |
web_1 | response = self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 140, in __call__ | |
web_1 | response = self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 140, in __call__ | |
web_1 | response = self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 140, in __call__ | |
web_1 | response = self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/app/kuma/core/middleware.py", line 270, in __call__ | |
web_1 | response = self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 140, in __call__ | |
web_1 | response = self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 140, in __call__ | |
web_1 | response = self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 140, in __call__ | |
web_1 | response = self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 140, in __call__ | |
web_1 | response = self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/utils/deprecation.py", line 140, in __call__ | |
web_1 | response = self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/app/kuma/core/middleware.py", line 335, in __call__ | |
web_1 | return self.get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 43, in inner | |
web_1 | response = response_for_exception(request, exc) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 93, in response_for_exception | |
web_1 | response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info()) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 41, in inner | |
web_1 | response = get_response(request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 187, in _get_response | |
web_1 | response = self.process_exception_by_middleware(e, request) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 185, in _get_response | |
web_1 | response = wrapped_callback(request, *callback_args, **callback_kwargs) | |
web_1 | File "/app/kuma/core/decorators.py", line 37, in _cache_controlled | |
web_1 | response = viewfunc(request, *args, **kw) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 58, in wrapped_view | |
web_1 | return view_func(*args, **kwargs) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/django/views/decorators/http.py", line 40, in inner | |
web_1 | return func(request, *args, **kwargs) | |
web_1 | File "/app/kuma/wiki/decorators.py", line 30, in _added_header | |
web_1 | response = func(request, *args, **kwargs) | |
web_1 | File "/app/kuma/wiki/decorators.py", line 104, in process | |
web_1 | return func(request, *args, **kwargs) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/newrelic/api/function_trace.py", line 127, in literal_wrapper | |
web_1 | return wrapped(*args, **kwargs) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/ratelimit/decorators.py", line 30, in _wrapped | |
web_1 | return fn(*args, **kw) | |
web_1 | File "/app/kuma/wiki/views/document.py", line 616, in document | |
web_1 | return wiki_document(request, document_slug, document_locale) | |
web_1 | File "/app/kuma/wiki/views/document.py", line 713, in wiki_document | |
web_1 | doc_html, ks_errors, render_raw_fallback = _get_html_and_errors( | |
web_1 | File "/app/kuma/wiki/views/document.py", line 77, in _get_html_and_errors | |
web_1 | r_body, r_errors = doc.get_rendered(cache_control, base_url) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/newrelic/api/function_trace.py", line 127, in literal_wrapper | |
web_1 | return wrapped(*args, **kwargs) | |
web_1 | File "/app/kuma/wiki/models.py", line 492, in get_rendered | |
web_1 | self.schedule_rendering(cache_control, base_url) | |
web_1 | File "/app/kuma/wiki/models.py", line 547, in schedule_rendering | |
web_1 | self.render(cache_control, base_url) | |
web_1 | File "/app/kuma/wiki/models.py", line 583, in render | |
web_1 | self.regenerate_cache_with_fields() | |
web_1 | File "/app/kuma/wiki/models.py", line 412, in regenerate_cache_with_fields | |
web_1 | self.get_summary_html(force_fresh=True) | |
web_1 | File "/app/kuma/wiki/models.py", line 69, in wrapper | |
web_1 | field_val = fn(self, force_fresh=force_fresh) | |
web_1 | File "/app/kuma/wiki/models.py", line 361, in get_summary_html | |
web_1 | return self.get_summary(strip_markup=False) | |
web_1 | File "/app/kuma/wiki/models.py", line 621, in get_summary | |
web_1 | return get_seo_description(src, self.locale, strip_markup) | |
web_1 | File "/usr/local/lib/python3.8/site-packages/newrelic/api/function_trace.py", line 127, in literal_wrapper | |
web_1 | return wrapped(*args, **kwargs) | |
web_1 | File "/app/kuma/wiki/content.py", line 241, in get_seo_description | |
web_1 | seo_summary = ''.join( | |
web_1 | TypeError: sequence item 0: expected str instance, NoneType found |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment