Traceback (most recent call last):


 "/usr/local/lib/python2.7/dist-packages/kivy/core/window/window_pygame.py", line 403, in mainloop

self._mainloop()


 "/usr/local/lib/python2.7/dist-packages/kivy/core/window/window_pygame.py", line 289, in _mainloop

EventLoop.idle()


 "/usr/local/lib/python2.7/dist-packages/kivy/base.py", line 348, in idle

Clock.tick_draw()


 "/usr/local/lib/python2.7/dist-packages/kivy/clock.py", line 588, in tick_draw

self._process_events_before_frame()


 "kivy/_clock.pyx", line 405, in kivy._clock.CyClockBase._process_events_before_frame (/tmp/pip-build-Hg6prg/kivy/kivy/_clock.c:8381)


 "kivy/_clock.pyx", line 445, in kivy._clock.CyClockBase._process_events_before_frame (/tmp/pip-build-Hg6prg/kivy/kivy/_clock.c:8255)


 "kivy/_clock.pyx", line 443, in kivy._clock.CyClockBase._process_events_before_frame (/tmp/pip-build-Hg6prg/kivy/kivy/_clock.c:8176)


 "kivy/_clock.pyx", line 167, in kivy._clock.ClockEvent.tick (/tmp/pip-build-Hg6prg/kivy/kivy/_clock.c:3490)


 "/usr/local/lib/python2.7/dist-packages/kivy/uix/video.py", line 182, in _do_video_load

self._video.play()


 "/usr/local/lib/python2.7/dist-packages/kivy/core/video/video_gstplayer.py", line 88, in play

self.player.set_volume(self.volume)
AttributeError: 'NoneType' object has no attribute 'set_volume'

Traceback (most recent call last):


 "/Library/Frameworks/Python.framework/Versions/3.6/bin/zipline", line 11, in <module>

load_entry_point('zipline==1.1.1', 'console_scripts', 'zipline')()


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 722, in __call__

return self.main(*args, **kwargs)


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/zipline/__main__.py", line 97, in _

return f(*args, **kwargs)


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/click/decorators.py", line 17, in new_func

return f(get_current_context(), *args, **kwargs)


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/zipline/__main__.py", line 240, in run

environ=os.environ,


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/zipline/utils/run_algo.py", line 132, in _run

env = TradingEnvironment(asset_db_path=connstr, environ=environ)


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/zipline/finance/trading.py", line 99, in __init__

self.bm_symbol,


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/zipline/data/loader.py", line 173, in load_market_data

environ,


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/zipline/data/loader.py", line 287, in ensure_treasury_data

if not has_data_for_dates(data, first_date, last_date):


 "/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/zipline/data/loader.py", line 87, in has_data_for_dates

dts = series_or_df.index
AttributeError: 'NoneType' object has no attribute 'index'
