-
Notifications
You must be signed in to change notification settings - Fork 649
Open
Labels
bugThis is a bug!This is a bug!
Description
Sentry Issue: PYDOTORG-PROD-1J9
KeyError: 'URL_NAME'
File "django/template/base.py", line 880, in _resolve_lookup
current = current[bit]
File "django/template/context.py", line 83, in __getitem__
raise KeyError(key)
AttributeError: type object 'RequestContext' has no attribute 'URL_NAME'
File "django/template/base.py", line 886, in _resolve_lookup
if isinstance(current, BaseContext) and getattr(
ValueError: invalid literal for int() with base 10: 'URL_NAME'
File "django/template/base.py", line 896, in _resolve_lookup
current = current[int(bit)]
VariableDoesNotExist: Failed lookup for key [URL_NAME] in [{'True': True, 'False': False, 'None': None}, {}, {}, {'legacy_path': 'http://legacy.python.org/search/', 'download_path': '/downloads/', 'doc_path': '/doc/', 'pypi_path': 'https://pypi.org/', 'sentry_trace_meta': '<meta name="sentry-trace" content="90507f0968a34470a57356b1ee3de847-a7bd1d251c573367-0"><meta name="baggage" content="sentry-trace_id=90507f0968a34470a57356b1ee3de847,sentry-sample_rand=0.959570,sentry-environment=production,sentry-release=4218afeb0af61a217bab41003981b444a48f4aef,sentry-public_key=95f826ce8a6d47e9ab5dbb055c24eb74,sentry-transaction=/search/,sentry-sample_rate=0.1,sentry-sampled=false">'}]
File "django/template/base.py", line 715, in resolve
obj = self.var.resolve(context)
File "django/template/base.py", line 847, in resolve
value = self._resolve_lookup(context)
File "django/template/base.py", line 903, in _resolve_lookup
raise VariableDoesNotExist(
AttributeError: 'NoneType' object has no attribute 'engine'
(24 additional frame(s) were not displayed)
...
File "pages/middleware.py", line 47, in __call__
response.render()
Metadata
Metadata
Assignees
Labels
bugThis is a bug!This is a bug!