Traceback (most recent call last):


 "/home/mahdi/Desktop/pycharm-community-4.5.3/helpers/pydev/pydevd_comm.py", line 1071, in doIt

result = pydevd_vars.evaluateExpression(self.thread_id, self.frame_id, self.expression, self.doExec)


 "/home/mahdi/Desktop/pycharm-community-4.5.3/helpers/pydev/pydevd_vars.py", line 344, in evaluateExpression

Exec(expression, updated_globals, frame.f_locals)


 "/home/mahdi/Desktop/pycharm-community-4.5.3/helpers/pydev/pydevd_exec2.py", line 3, in Exec

exec(exp, global_vars, local_vars)


 "<string>", line 2, in <module>


 "/home/mahdi/anaconda3/envs/py36/lib/python3.6/site-packages/transformers/modeling_utils.py", line 482, in from_pretrained

if resolved_archive_file.endswith(".index"):
AttributeError: 'NoneType' object has no attribute 'endswith' 

Traceback (most recent call last):


 "/Users/kristen/weiboSpider/weibo_spider/parser/index_parser.py", line 36, in get_user

self.user.id = user_id
AttributeError: 'NoneType' object has no attribute 'id'
