weiboSpider
weiboSpider copied to clipboard
请问大家有没有加到crontab 里面的,为啥我加到crontab里面会卡住(进程一直在运行),正常运行(python weiboSpider.py)没问题。
请问大家有没有加到crontab 里面的,为啥我加到crontab里面会卡住(进程一直在运行),正常运行(python weiboSpider.py)没问题。
欸嘿,遇到这种问题建议用 >> test.log 然后判断下程序错在哪。
感觉是不是没有写入权限的问题,就是对应crontab的用户没有写入权限的缘故。如果没记错应该有一个“-u user" 选项的。
哦哦 发现错误了 正常运行时候没有错加到crontab里面出错了
cat ddd.log
============================Weibo类初始化============================
self.users_config = {u'1773682715': {u'phone': u'13711368317', u'pwd': u'12345678'}, u'1816029971': {u'phone': u'13269027524', u'pwd': u'12345678'}, u'1729435203': {u'phone': u'16562154949', u'pwd': u'12345678'}, u'1216326934': {u'phone': u'15082470964', u'pwd': u'12345678'}, u'1214262181': {u'phone': u'13261804982', u'pwd': u'12345678'}, u'5103578591': {u'phone': u'18409757859', u'pwd': u'12345678'}, u'2368706220': {u'phone': u'14737314413', u'pwd': u'12345678'}}
****************************************************************************************************
('Error: ', UnicodeEncodeError('ascii', u'\u7528\u6237\u6635\u79f0: \u5510\u4e03Seven', 0, 4, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'\u6b63\u5728\u8fc7\u6ee4\u8f6c\u53d1\u5fae\u535a', 0, 8, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c1\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'\u6b63\u5728\u8fc7\u6ee4\u8f6c\u53d1\u5fae\u535a', 0, 8, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c2\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c3\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c4\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'\u6b63\u5728\u8fc7\u6ee4\u8f6c\u53d1\u5fae\u535a', 0, 8, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'\u6b63\u5728\u8fc7\u6ee4\u8f6c\u53d1\u5fae\u535a', 0, 8, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c5\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'\u6b63\u5728\u8fc7\u6ee4\u8f6c\u53d1\u5fae\u535a', 0, 8, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c6\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'\u6b63\u5728\u8fc7\u6ee4\u8f6c\u53d1\u5fae\u535a', 0, 8, 'ordinal not in range(128)'))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c7\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c8\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'\u6b63\u5728\u8fc7\u6ee4\u8f6c\u53d1\u5fae\u535a', 0, 8, 'ordinal not in range(128)'))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c9\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'\u6b63\u5728\u8fc7\u6ee4\u8f6c\u53d1\u5fae\u535a', 0, 8, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c10\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c11\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'\u6b63\u5728\u8fc7\u6ee4\u8f6c\u53d1\u5fae\u535a', 0, 8, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'\u6b63\u5728\u8fc7\u6ee4\u8f6c\u53d1\u5fae\u535a', 0, 8, 'ordinal not in range(128)'))
('Error: ', UnicodeEncodeError('ascii', u'\u6b63\u5728\u8fc7\u6ee4\u8f6c\u53d1\u5fae\u535a', 0, 8, 'ordinal not in range(128)'))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c12\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', UnicodeEncodeError('ascii', u'\u6b63\u5728\u8fc7\u6ee4\u8f6c\u53d1\u5fae\u535a', 0, 8, 'ordinal not in range(128)'))
('Error: ', UnicodeEncodeError('ascii', u'\u6b63\u5728\u8fc7\u6ee4\u8f6c\u53d1\u5fae\u535a', 0, 8, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c13\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c14\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'\u6b63\u5728\u8fc7\u6ee4\u8f6c\u53d1\u5fae\u535a', 0, 8, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c15\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'\u6b63\u5728\u8fc7\u6ee4\u8f6c\u53d1\u5fae\u535a', 0, 8, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c16\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c17\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c18\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c19\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', UnicodeEncodeError('ascii', u'------------------------------\u5df2\u83b7\u53d6\u5510\u4e03Seven(1729435203)\u7684\u7b2c20\u9875\u5fae\u535a------------------------------', 30, 35, 'ordinal not in range(128)'))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'rfind'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
('Error: ', AttributeError("'NoneType' object has no attribute 'startswith'",))
('Error: ', TypeError('encode() argument 1 must be string, not None',))
写个start.sh脚本,再定时启动start.sh也可以。
我是写的 start.sh
➜ weiboSpider git:(master) ✗ cat start.sh
cd /home/dave/weiboSpider
#python weiboSpider.py
#/usr/bin/python2.7 timer_test.py
/usr/bin/python2.7 weiboSpider.py
crontab
*/15 * * * * /home/dave/weiboSpider/start.sh -u dave >> /home/dave/weiboSpider/ddd.log
可以了 升级python3可以了
保存到文档,python2报错,需要用python3,之前我也遇到过。