Skip to content

Instantly share code, notes, and snippets.

@STPo
Created May 6, 2014 13:18
Show Gist options
  • Save STPo/7e77e95f433e5d2c4f70 to your computer and use it in GitHub Desktop.
Save STPo/7e77e95f433e5d2c4f70 to your computer and use it in GitHub Desktop.
ERROR Internal Server Error: /questions/
Traceback (most recent call last):
File "/home/vagrant/.virtualenvs/oforum/local/lib/python2.7/site-packages/djan
go/core/handlers/base.py", line 115, in get_response
response = callback(request, *callback_args, **callback_kwargs)
File "/home/vagrant/.virtualenvs/oforum/src/askbot/askbot/views/readers.py", l
ine 287, in questions
return render(request, 'main_page.html', template_data)
File "/home/vagrant/.virtualenvs/oforum/local/lib/python2.7/site-packages/djan
go/shortcuts/__init__.py", line 49, in render
context_instance = RequestContext(request, current_app=current_app)
File "/home/vagrant/.virtualenvs/oforum/local/lib/python2.7/site-packages/djan
go/template/context.py", line 179, in __init__
self.update(processor(request))
File "/home/vagrant/.virtualenvs/oforum/src/askbot/askbot/context.py", line 33
, in application_settings
my_settings['LANGUAGE_CODE'] = getattr(request, 'LANGUAGE_CODE', settings.LA
NGUAGE_CODE)
TypeError: 'NoneType' object does not support item assignment
[06/May/2014 15:16:37] "GET /questions/ HTTP/1.1" 500 114070
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment