Traceback (most recent call last):

 "/usr/local/lib/python2.7/site-packages/Flask-0.11.1-py2.7.egg/flask/app.py", line 2000, in __call__
return self.wsgi_app(environ, start_response)

 "/usr/local/lib/python2.7/site-packages/Flask-0.11.1-py2.7.egg/flask/app.py", line 1991, in wsgi_app
response = self.make_response(self.handle_exception(e))

 "/usr/local/lib/python2.7/site-packages/Flask-0.11.1-py2.7.egg/flask/app.py", line 1567, in handle_exception
reraise(exc_type, exc_value, tb)

 "/usr/local/lib/python2.7/site-packages/Flask-0.11.1-py2.7.egg/flask/app.py", line 1988, in wsgi_app
response = self.full_dispatch_request()

 "/usr/local/lib/python2.7/site-packages/Flask-0.11.1-py2.7.egg/flask/app.py", line 1641, in full_dispatch_request
rv = self.handle_user_exception(e)

 "/usr/local/lib/python2.7/site-packages/Flask-0.11.1-py2.7.egg/flask/app.py", line 1544, in handle_user_exception
reraise(exc_type, exc_value, tb)

 "/usr/local/lib/python2.7/site-packages/Flask-0.11.1-py2.7.egg/flask/app.py", line 1639, in full_dispatch_request
rv = self.dispatch_request()

 "/usr/local/lib/python2.7/site-packages/Flask-0.11.1-py2.7.egg/flask/app.py", line 1625, in dispatch_request
return self.view_functions[rule.endpoint](**req.view_args)

 "/usr/local/lib/python2.7/site-packages/Flask_AppBuilder-1.8.1-py2.7.egg/flask_appbuilder/security/decorators.py", line 26, in wraps
return f(self, *args, **kwargs)

 "/Users/z084258/dev/new/caravel/caravel/models.py", line 1760, in wrapper
return f(*args, **kwargs)

 "/Users/z084258/dev/new/caravel/caravel/views.py", line 1184, in explore
viz_obj.get_json(),

 "/Users/z084258/dev/new/caravel/caravel/viz.py", line 318, in get_json
'data': self.get_data(),

 "/Users/z084258/dev/new/caravel/caravel/viz.py", line 513, in get_data
return self.get_df().to_html(

 "/Users/z084258/dev/new/caravel/caravel/viz.py", line 508, in get_df
margins=True,

 "/usr/local/lib/python2.7/site-packages/pandas-0.18.1-py2.7-macosx-10.11-x86_64.egg/pandas/tools/pivot.py", line 158, in pivot_table
margins_name=margins_name)

 "/usr/local/lib/python2.7/site-packages/pandas-0.18.1-py2.7-macosx-10.11-x86_64.egg/pandas/tools/pivot.py", line 222, in _add_margins
row_margin[k] = grand_margin[k[0]]KeyError: u'OOS%'
Traceback (most recent call last):


 "/home/saad/.pyenv/versions/2.7.12/lib/python2.7/site-packages/kivy/core/window/window_pygame.py", line 403, in mainloop

self._mainloop()


 "/home/saad/.pyenv/versions/2.7.12/lib/python2.7/site-packages/kivy/core/window/window_pygame.py", line 290, in _mainloop

EventLoop.idle()


 "/home/saad/.pyenv/versions/2.7.12/lib/python2.7/site-packages/kivy/base.py", line 327, in idle

Clock.tick()


 "/home/saad/.pyenv/versions/2.7.12/lib/python2.7/site-packages/kivy/clock.py", line 515, in tick

self._process_events()


 "/home/saad/.pyenv/versions/2.7.12/lib/python2.7/site-packages/kivy/clock.py", line 647, in _process_events

event.tick(self._last_tick, remove)


 "/home/saad/.pyenv/versions/2.7.12/lib/python2.7/site-packages/kivy/clock.py", line 406, in tick

ret = callback(self._dt)


 "/home/saad/.pyenv/versions/2.7.12/lib/python2.7/site-packages/kivy/uix/boxlayout.py", line 175, in do_layout

c.width = w


 "kivy/properties.pyx", line 408, in kivy.properties.Property.__set__ (/tmp/pycharm-packaging0.tmp/Kivy/kivy/properties.c:5515)


 "kivy/properties.pyx", line 446, in kivy.properties.Property.set (/tmp/pycharm-packaging0.tmp/Kivy/kivy/properties.c:6348)


 "kivy/properties.pyx", line 501, in kivy.properties.Property.dispatch (/tmp/pycharm-packaging0.tmp/Kivy/kivy/properties.c:7048)


 "kivy/_event.pyx", line 1224, in kivy._event.EventObservers.dispatch (/tmp/pycharm-packaging0.tmp/Kivy/kivy/_event.c:14008)


 "kivy/_event.pyx", line 1130, in kivy._event.EventObservers._dispatch (/tmp/pycharm-packaging0.tmp/Kivy/kivy/_event.c:13166)


 "designer/components/kv_lang_area.py", line 58, in on_width

self.kv_lang_area.bind(_lines=self.on_lines_changed)
AttributeError: 'NoneType' object has no attribute 'bind'
