Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: 'NoneType' object has no attribute '__getitem__' #24

Open
Captain1 opened this issue Feb 26, 2015 · 0 comments
Open

TypeError: 'NoneType' object has no attribute '__getitem__' #24

Captain1 opened this issue Feb 26, 2015 · 0 comments
Assignees
Labels

Comments

@Captain1
Copy link

TypeError: 'NoneType' object has no attribute 'getitem'

Traceback (most recent call last)
File "/home/frank/Downloads/bombolone-master/venv/lib/python2.7/site-packages/flask/app.py", line 1836, in call
return self.wsgi_app(environ, start_response)
File "/home/frank/Downloads/bombolone-master/venv/lib/python2.7/site-packages/flask/app.py", line 1820, in wsgi_app
response = self.make_response(self.handle_exception(e))
File "/home/frank/Downloads/bombolone-master/venv/lib/python2.7/site-packages/flask/app.py", line 1403, in handle_exception
reraise(exc_type, exc_value, tb)
File "/home/frank/Downloads/bombolone-master/venv/lib/python2.7/site-packages/flask/app.py", line 1817, in wsgi_app
response = self.full_dispatch_request()
File "/home/frank/Downloads/bombolone-master/venv/lib/python2.7/site-packages/flask/app.py", line 1477, in full_dispatch_request
rv = self.handle_user_exception(e)
File "/home/frank/Downloads/bombolone-master/venv/lib/python2.7/site-packages/flask/app.py", line 1381, in handle_user_exception
reraise(exc_type, exc_value, tb)
File "/home/frank/Downloads/bombolone-master/venv/lib/python2.7/site-packages/flask/app.py", line 1473, in full_dispatch_request
rv = self.preprocess_request()
File "/home/frank/Downloads/bombolone-master/venv/lib/python2.7/site-packages/flask/app.py", line 1666, in preprocess_request
rv = func()
File "/home/frank/Downloads/bombolone-master/app.py", line 104, in before_request
return core_before_request()
File "/home/frank/Downloads/bombolone-master/before.py", line 68, in core_before_request
g.all_the_languages = g.languages_object.all_lang_by_tuple
File "/home/frank/Downloads/bombolone-master/core/languages.py", line 123, in all_lang_by_tuple
return [ (x , y) for x, y in sorted(names['value'].iteritems())]
TypeError: 'NoneType' object has no attribute 'getitem'

Here is the full terminal log:http://pastebin.com/NF7FjtMA

@Zizzamia Zizzamia added the bug label Feb 26, 2015
@Zizzamia Zizzamia self-assigned this Feb 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants