Skip to content

Instantly share code, notes, and snippets.

@kbat
Created January 20, 2022 15:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kbat/d1f0af99711fa77e6572814d24e3cecb to your computer and use it in GitHub Desktop.
Save kbat/d1f0af99711fa77e6572814d24e3cecb to your computer and use it in GitHub Desktop.
ZPublisher.HTTPResponse.HTTPResponse.redirect stack trace
(Pdb) where
~/usr/local/miniconda3/envs/plone51/lib/python2.7/threading.py(774)__bootstrap()
-> self.__bootstrap_inner()
~/usr/local/miniconda3/envs/plone51/lib/python2.7/threading.py(801)__bootstrap_inner()
-> self.run()
~/usr/local/miniconda3/envs/plone51/lib/python2.7/threading.py(754)run()
-> self.__target(*self.__args, **self.__kwargs)
~/Plone/buildout-cache/eggs/waitress-1.4.4-py2.7.egg/waitress/task.py(86)handler_thread()
-> task.service()
~/Plone/buildout-cache/eggs/waitress-1.4.4-py2.7.egg/waitress/channel.py(350)service()
-> task.service()
~/Plone/buildout-cache/eggs/waitress-1.4.4-py2.7.egg/waitress/task.py(171)service()
-> self.execute()
~/Plone/buildout-cache/eggs/waitress-1.4.4-py2.7.egg/waitress/task.py(441)execute()
-> app_iter = self.channel.server.application(environ, start_response)
~/Plone/buildout-cache/eggs/Paste-3.5.0-py2.7.egg/paste/translogger.py(69)__call__()
-> return self.application(environ, replacement_start_response)
~/Plone/buildout-cache/eggs/Zope-4.6.3-py2.7.egg/ZPublisher/httpexceptions.py(30)__call__()
-> return self.application(environ, start_response)
~/Plone/buildout-cache/eggs/Zope-4.6.3-py2.7.egg/ZPublisher/WSGIPublisher.py(376)publish_module()
-> environ['REMOTE_USER'] = user.getUserName()
~/usr/local/miniconda3/envs/plone51/lib/python2.7/contextlib.py(35)__exit__()
-> self.gen.throw(type, value, traceback)
~/Plone/buildout-cache/eggs/Zope-4.6.3-py2.7.egg/ZPublisher/WSGIPublisher.py(210)transaction_pubevents()
-> response._unauthorized()
~/Plone/buildout-cache/eggs/Products.PluggableAuthService-2.6.4-py2.7.egg/Products/PluggableAuthService/PluggableAuthService.py(1064)_unauthorized()
-> if not self.challenge(req, resp):
~/Plone/buildout-cache/eggs/Products.PluggableAuthService-2.6.4-py2.7.egg/Products/PluggableAuthService/PluggableAuthService.py(1103)challenge()
-> if challenger.challenge(request, response):
~/Plone/buildout-cache/eggs/Products.PluggableAuthService-2.6.4-py2.7.egg/Products/PluggableAuthService/plugins/CookieAuthHelper.py(164)challenge()
-> return self.unauthorized()
~/Plone/buildout-cache/eggs/Products.PluggableAuthService-2.6.4-py2.7.egg/Products/PluggableAuthService/plugins/CookieAuthHelper.py(240)unauthorized()
-> resp.redirect(url, lock=1)
~/Plone/buildout-cache/eggs/Zope-4.6.3-py2.7.egg/ZPublisher/HTTPResponse.py(231)redirect()
-> parsed = list(urlparse(location))
~/usr/local/miniconda3/envs/plone51/lib/python2.7/urlparse.py(143)urlparse()
-> tuple = urlsplit(url, scheme, allow_fragments)
> ~/usr/local/miniconda3/envs/plone51/lib/python2.7/urlparse.py(176)urlsplit()
-> cached = _parse_cache.get(key, None)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment