Traceback (most recent call last):

 "**main**.py", line 18, in <module>

 "youtube_dl__init__.pyo", line 805, in main

 "youtube_dl__init__.pyo", line 795, in _real_main

 "youtube_dl\YoutubeDL.pyo", line 982, in download

 "youtube_dl\YoutubeDL.pyo", line 510, in extract_info

 "youtube_dl\YoutubeDL.pyo", line 539, in process_ie_result

 "youtube_dl\YoutubeDL.pyo", line 763, in process_video_result

 "youtube_dl\YoutubeDL.pyo", line 953, in process_info

 "youtube_dl\YoutubeDL.pyo", line 929, in dl

 "youtube_dl\downloader\common.pyo", line 290, in download

 "youtube_dl\downloader\hls.pyo", line 29, in real_download

 "subprocess.pyo", line 524, in call

 "subprocess.pyo", line 711, in __init__

 "subprocess.pyo", line 948, in _execute_childUnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 213
Traceback (most recent call last):

 "/home/travis/build/mhallsmoore/qstrader/tests/test_statistics.py", line 159, in test_calculating_statistics
results = statistics.get_results()

 "/home/travis/build/mhallsmoore/qstrader/qstrader/statistics/simple.py", line 70, in get_results
timeseries[0] = timeseries[1] - pd.Timedelta(days=1)

 "pandas/tslib.pyx", line 2522, in pandas.tslib.Timedelta._binary_op_method_timedeltalike.f (pandas/tslib.c:45617)

 "pandas/tslib.pyx", line 2258, in pandas.tslib.Timedelta.__new__ (pandas/tslib.c:40892)

 "pandas/tslib.pyx", line 2742, in pandas.tslib.parse_timedelta_string (pandas/tslib.c:48473)ValueError: only leading negative signs are allowed