Traceback (most recent call last):


 "/home/robin/.virtualenvs/moodstream-django-EtsEGWRm/lib/python3.7/site-packages/spotipy/client.py", line 188, in __del__
TypeError: isinstance() arg 2 must be a type or tuple of types

Traceback (most recent call last):


 "/data/stock/libs/common.py", line 160, in run_with_args

run_fun(tmp_datetime_show)
# 使用当前时间


 "/data/stock/jobs/daily_job.py", line 30, in stat_all

data = ts.top_list(datetime_str)


 "/usr/local/lib/python3.6/site-packages/tushare/stock/billboard.py", line 64, in top_list

if(du.is_holiday(date)):


 "/usr/local/lib/python3.6/site-packages/tushare/util/dateu.py", line 91, in is_holiday

df = trade_cal()


 "/usr/local/lib/python3.6/site-packages/tushare/util/dateu.py", line 83, in trade_cal

df = pd.read_csv(ct.ALL_CAL_FILE)


 "/usr/local/lib/python3.6/site-packages/pandas/io/parsers.py", line 676, in parser_f

return _read(filepath_or_buffer, kwds)


 "/usr/local/lib/python3.6/site-packages/pandas/io/parsers.py", line 431, in _read

filepath_or_buffer, encoding, compression


 "/usr/local/lib/python3.6/site-packages/pandas/io/common.py", line 172, in get_filepath_or_buffer

req = urlopen(filepath_or_buffer)


 "/usr/local/lib/python3.6/site-packages/pandas/io/common.py", line 141, in urlopen

return urllib.request.urlopen(*args, **kwargs)


 "/usr/local/lib/python3.6/urllib/request.py", line 223, in urlopen

return opener.open(url, data, timeout)


 "/usr/local/lib/python3.6/urllib/request.py", line 532, in open

response = meth(req, response)


 "/usr/local/lib/python3.6/urllib/request.py", line 642, in http_response

'http', request, response, code, msg, hdrs)


 "/usr/local/lib/python3.6/urllib/request.py", line 564, in error

result = self._call_chain(*args)


 "/usr/local/lib/python3.6/urllib/request.py", line 504, in _call_chain

result = func(*args)


 "/usr/local/lib/python3.6/urllib/request.py", line 756, in http_error_302

return self.parent.open(new, timeout=req.timeout)


 "/usr/local/lib/python3.6/urllib/request.py", line 532, in open

response = meth(req, response)


 "/usr/local/lib/python3.6/urllib/request.py", line 642, in http_response

'http', request, response, code, msg, hdrs)


 "/usr/local/lib/python3.6/urllib/request.py", line 570, in error

return self._call_chain(*args)


 "/usr/local/lib/python3.6/urllib/request.py", line 504, in _call_chain

result = func(*args)


 "/usr/local/lib/python3.6/urllib/request.py", line 650, in http_error_default

raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 404: Not Found