恒邦报价.log 87 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312
  1. 2023-08-28 11:56:47,992 - getlogs.py - line:27 - INFO - 安盛保费计算共用时0.0s -1692
  2. 2023-08-28 11:56:47,995 - getlogs.py - line:34 - ERROR - decoding to str: need a bytes-like object, NoneType found -1692
  3. 2023-08-28 11:56:47,995 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  4. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  5. ret = carinfo.main()
  6. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 865, in main
  7. self.check_login()
  8. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 137, in check_login
  9. self.token=str(redis_conn.hget('hengbang_'+self.username,'token'),'utf8')
  10. TypeError: decoding to str: need a bytes-like object, NoneType found
  11. --------------
  12. -1692
  13. 2023-08-28 11:58:45,876 - getlogs.py - line:27 - INFO - 安盛保费计算共用时3.32s -1692
  14. 2023-08-28 11:58:45,877 - getlogs.py - line:34 - ERROR - list index out of range -1692
  15. 2023-08-28 11:58:45,877 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  16. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  17. ret = carinfo.main()
  18. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 871, in main
  19. self.get_carinfo()
  20. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 188, in get_carinfo
  21. self.carinfo = cars_list[0]
  22. IndexError: list index out of range
  23. --------------
  24. -1692
  25. 2023-08-28 11:59:32,976 - getlogs.py - line:27 - INFO - 安盛保费计算共用时3.66s -2356
  26. 2023-08-28 11:59:32,977 - getlogs.py - line:34 - ERROR - list index out of range -2356
  27. 2023-08-28 11:59:32,977 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  28. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  29. ret = carinfo.main()
  30. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 873, in main
  31. self.get_carinfo()
  32. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 190, in get_carinfo
  33. self.carinfo = cars_list[0]
  34. IndexError: list index out of range
  35. --------------
  36. -2356
  37. 2023-08-28 14:07:08,376 - getlogs.py - line:27 - INFO - 安盛保费计算共用时5.65s -5452
  38. 2023-08-28 14:07:08,376 - getlogs.py - line:34 - ERROR - list index out of range -5452
  39. 2023-08-28 14:07:08,376 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  40. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  41. ret = carinfo.main()
  42. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 875, in main
  43. self.get_carinfo()
  44. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 192, in get_carinfo
  45. self.carinfo = cars_list[0]
  46. IndexError: list index out of range
  47. --------------
  48. -5452
  49. 2023-08-28 14:08:32,509 - getlogs.py - line:27 - INFO - 安盛保费计算共用时7.66s -2080
  50. 2023-08-29 17:58:50,686 - getlogs.py - line:27 - INFO - 安盛保费计算共用时20.71s -10348
  51. 2023-08-29 17:59:52,284 - getlogs.py - line:27 - INFO - 安盛保费计算共用时20.85s -8328
  52. 2023-08-29 18:03:14,996 - getlogs.py - line:27 - INFO - 安盛保费计算共用时21.02s -14168
  53. 2023-08-29 18:06:19,005 - getlogs.py - line:27 - INFO - 安盛保费计算共用时18.83s -15968
  54. 2023-08-29 18:11:35,952 - getlogs.py - line:27 - INFO - 安盛保费计算共用时20.68s -15648
  55. 2023-08-29 18:16:20,019 - getlogs.py - line:27 - INFO - 安盛保费计算共用时19.07s -3300
  56. 2023-08-29 18:16:58,961 - getlogs.py - line:27 - INFO - 安盛保费计算共用时18.37s -14656
  57. 2023-08-29 18:17:48,277 - getlogs.py - line:27 - INFO - 安盛保费计算共用时20.62s -8336
  58. 2023-08-29 18:18:45,761 - getlogs.py - line:27 - INFO - 安盛保费计算共用时18.26s -15156
  59. 2023-08-29 18:21:35,209 - getlogs.py - line:27 - INFO - 安盛保费计算共用时18.47s -15644
  60. 2023-08-29 18:23:29,883 - getlogs.py - line:27 - INFO - 安盛保费计算共用时19.29s -14720
  61. 2023-08-29 18:23:29,883 - getlogs.py - line:34 - ERROR - bad operand type for unary +: 'str' -14720
  62. 2023-08-29 18:23:29,884 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  63. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  64. ret = carinfo.main()
  65. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 884, in main
  66. 'message': self.bj_response.json().get('message')+'\\r'++'\\n'+'-------------------------------------------'+self.cftb_message if self.bj_response.json().get('status') != 500 else self.bj_response.json().get('detail')+'-------------------------------------------'+self.cftb_message,
  67. TypeError: bad operand type for unary +: 'str'
  68. --------------
  69. -14720
  70. 2023-08-29 18:24:27,092 - getlogs.py - line:27 - INFO - 安盛保费计算共用时20.41s -5760
  71. 2023-08-31 11:10:09,367 - getlogs.py - line:27 - INFO - 安盛保费计算共用时9.26s -3712
  72. 2023-08-31 14:04:14,616 - getlogs.py - line:27 - INFO - 安盛保费计算共用时7.32s -5440
  73. 2023-08-31 14:06:18,439 - getlogs.py - line:27 - INFO - 安盛保费计算共用时12.32s -5440
  74. 2023-08-31 17:37:15,633 - getlogs.py - line:27 - INFO - 安盛保费计算共用时20.91s -7848
  75. 2023-08-31 17:37:15,634 - getlogs.py - line:34 - ERROR - can only concatenate str (not "NoneType") to str -7848
  76. 2023-08-31 17:37:15,634 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  77. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  78. ret = carinfo.main()
  79. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 884, in main
  80. 'message': self.bj_response.json().get('message')+'-------------------------------------------'+self.cftb_message if self.bj_response.json().get('status') != 500 else self.bj_response.json().get('detail')+'-------------------------------------------'+self.cftb_message,
  81. TypeError: can only concatenate str (not "NoneType") to str
  82. --------------
  83. -7848
  84. 2023-08-31 17:38:36,329 - getlogs.py - line:27 - INFO - 安盛保费计算共用时28.87s -13580
  85. 2023-08-31 17:38:36,330 - getlogs.py - line:34 - ERROR - can only concatenate str (not "NoneType") to str -13580
  86. 2023-08-31 17:38:36,330 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  87. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  88. ret = carinfo.main()
  89. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 885, in main
  90. 'message': self.bj_response.json().get('message')+'-------------------------------------------'+self.cftb_message if self.bj_response.json().get('status') != 500 else self.bj_response.json().get('detail')+'-------------------------------------------'+self.cftb_message,
  91. TypeError: can only concatenate str (not "NoneType") to str
  92. --------------
  93. -13580
  94. 2023-08-31 17:40:33,847 - getlogs.py - line:27 - INFO - 安盛保费计算共用时22.13s -14520
  95. 2023-08-31 17:43:21,605 - getlogs.py - line:27 - INFO - 安盛保费计算共用时24.24s -1360
  96. 2023-08-31 17:43:21,606 - getlogs.py - line:34 - ERROR - can only concatenate str (not "NoneType") to str -1360
  97. 2023-08-31 17:43:21,606 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  98. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  99. ret = carinfo.main()
  100. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 892, in main
  101. 'message': message1+'-------------------------------------------'+message2,
  102. TypeError: can only concatenate str (not "NoneType") to str
  103. --------------
  104. -1360
  105. 2023-08-31 17:44:44,032 - getlogs.py - line:27 - INFO - 安盛保费计算共用时24.11s -15356
  106. 2023-08-31 17:44:44,033 - getlogs.py - line:34 - ERROR - can only concatenate str (not "NoneType") to str -15356
  107. 2023-08-31 17:44:44,033 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  108. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  109. ret = carinfo.main()
  110. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 894, in main
  111. 'message': message1+'-------------------------------------------'+message2,
  112. TypeError: can only concatenate str (not "NoneType") to str
  113. --------------
  114. -15356
  115. 2023-08-31 17:45:37,954 - getlogs.py - line:27 - INFO - 安盛保费计算共用时21.93s -15068
  116. 2023-08-31 17:45:37,955 - getlogs.py - line:34 - ERROR - can only concatenate str (not "NoneType") to str -15068
  117. 2023-08-31 17:45:37,955 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  118. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  119. ret = carinfo.main()
  120. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 895, in main
  121. 'message': message1+'-------------------------------------------'+message2,
  122. TypeError: can only concatenate str (not "NoneType") to str
  123. --------------
  124. -15068
  125. 2023-08-31 17:46:38,346 - getlogs.py - line:27 - INFO - 安盛保费计算共用时21.85s -6188
  126. 2023-08-31 17:46:38,347 - getlogs.py - line:34 - ERROR - can only concatenate str (not "NoneType") to str -6188
  127. 2023-08-31 17:46:38,347 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  128. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  129. ret = carinfo.main()
  130. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 895, in main
  131. 'message': message1+'-------------------------------------------'+message2,
  132. TypeError: can only concatenate str (not "NoneType") to str
  133. --------------
  134. -6188
  135. 2023-08-31 17:48:17,921 - getlogs.py - line:27 - INFO - 安盛保费计算共用时23.17s -13444
  136. 2023-08-31 17:48:17,921 - getlogs.py - line:34 - ERROR - can only concatenate str (not "NoneType") to str -13444
  137. 2023-08-31 17:48:17,921 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  138. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  139. ret = carinfo.main()
  140. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 897, in main
  141. 'message': message1+'-------------------------------------------'+message2,
  142. TypeError: can only concatenate str (not "NoneType") to str
  143. --------------
  144. -13444
  145. 2023-08-31 18:14:50,784 - getlogs.py - line:27 - INFO - 安盛保费计算共用时20.38s -10748
  146. 2023-08-31 18:14:50,785 - getlogs.py - line:34 - ERROR - can only concatenate str (not "NoneType") to str -10748
  147. 2023-08-31 18:14:50,785 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  148. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  149. ret = carinfo.main()
  150. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 897, in main
  151. 'message': message1+'-------------------------------------------'+message2,
  152. TypeError: can only concatenate str (not "NoneType") to str
  153. --------------
  154. -10748
  155. 2023-08-31 18:17:31,607 - getlogs.py - line:27 - INFO - 安盛保费计算共用时22.91s -3124
  156. 2023-08-31 18:17:31,608 - getlogs.py - line:34 - ERROR - can only concatenate str (not "NoneType") to str -3124
  157. 2023-08-31 18:17:31,608 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  158. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  159. ret = carinfo.main()
  160. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 897, in main
  161. 'message': message1+'-------------------------------------------'+message2,
  162. TypeError: can only concatenate str (not "NoneType") to str
  163. --------------
  164. -3124
  165. 2023-08-31 18:18:24,078 - getlogs.py - line:27 - INFO - 安盛保费计算共用时21.98s -7340
  166. 2023-08-31 18:18:24,079 - getlogs.py - line:34 - ERROR - can only concatenate str (not "NoneType") to str -7340
  167. 2023-08-31 18:18:24,079 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  168. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  169. ret = carinfo.main()
  170. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 897, in main
  171. 'message': message1+'-------------------------------------------'+message2,
  172. TypeError: can only concatenate str (not "NoneType") to str
  173. --------------
  174. -7340
  175. 2023-08-31 18:19:19,731 - getlogs.py - line:27 - INFO - 安盛保费计算共用时23.77s -7376
  176. 2023-08-31 18:19:19,732 - getlogs.py - line:34 - ERROR - can only concatenate str (not "NoneType") to str -7376
  177. 2023-08-31 18:19:19,732 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  178. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  179. ret = carinfo.main()
  180. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 898, in main
  181. 'message': message1+'-------------------------------------------'+message2,
  182. TypeError: can only concatenate str (not "NoneType") to str
  183. --------------
  184. -7376
  185. 2023-08-31 18:20:15,978 - getlogs.py - line:27 - INFO - 安盛保费计算共用时19.61s -14828
  186. 2023-08-31 18:20:15,979 - getlogs.py - line:34 - ERROR - can only concatenate str (not "NoneType") to str -14828
  187. 2023-08-31 18:20:15,979 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  188. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  189. ret = carinfo.main()
  190. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 898, in main
  191. 'message': message1+'-------------------------------------------'+message2,
  192. TypeError: can only concatenate str (not "NoneType") to str
  193. --------------
  194. -14828
  195. 2023-08-31 18:20:49,715 - getlogs.py - line:27 - INFO - 安盛保费计算共用时26.34s -2736
  196. 2023-08-31 18:20:49,716 - getlogs.py - line:34 - ERROR - can only concatenate str (not "NoneType") to str -2736
  197. 2023-08-31 18:20:49,716 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  198. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  199. ret = carinfo.main()
  200. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 899, in main
  201. 'message': message1+'-------------------------------------------'+message2,
  202. TypeError: can only concatenate str (not "NoneType") to str
  203. --------------
  204. -2736
  205. 2023-08-31 18:21:41,840 - getlogs.py - line:27 - INFO - 安盛保费计算共用时20.49s -5908
  206. 2023-08-31 18:21:41,841 - getlogs.py - line:34 - ERROR - can only concatenate str (not "NoneType") to str -5908
  207. 2023-08-31 18:21:41,841 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  208. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  209. ret = carinfo.main()
  210. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 900, in main
  211. 'message': message1+'-------------------------------------------'+message2,
  212. TypeError: can only concatenate str (not "NoneType") to str
  213. --------------
  214. -5908
  215. 2023-08-31 18:24:09,759 - getlogs.py - line:27 - INFO - 安盛保费计算共用时21.8s -2044
  216. 2023-08-31 18:24:09,760 - getlogs.py - line:34 - ERROR - can only concatenate str (not "NoneType") to str -2044
  217. 2023-08-31 18:24:09,760 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  218. File "E:\FlaskProject\blueprint\hb_api.py", line 180, in hb_bfjs
  219. ret = carinfo.main()
  220. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 900, in main
  221. 'message': message1+'-------------------------------------------'+message2,
  222. TypeError: can only concatenate str (not "NoneType") to str
  223. --------------
  224. -2044
  225. 2023-08-31 18:25:16,357 - getlogs.py - line:27 - INFO - 安盛保费计算共用时22.79s -5300
  226. 2023-08-31 18:26:27,882 - getlogs.py - line:27 - INFO - 安盛保费计算共用时13.13s -5300
  227. 2023-08-31 18:27:15,891 - getlogs.py - line:27 - INFO - 安盛保费计算共用时10.79s -5300
  228. 2023-09-01 08:42:27,805 - getlogs.py - line:27 - INFO - 安盛保费计算共用时10.99s -1032
  229. 2023-09-05 09:13:55,745 - getlogs.py - line:27 - INFO - 安盛保费计算共用时9.14s -11536
  230. 2023-09-05 09:14:52,753 - getlogs.py - line:27 - INFO - 安盛保费计算共用时13.45s -11536
  231. 2023-09-05 09:31:34,078 - getlogs.py - line:27 - INFO - 安盛保费计算共用时19.24s -6948
  232. 2023-09-05 09:35:58,246 - getlogs.py - line:27 - INFO - 安盛保费计算共用时19.32s -6384
  233. 2023-09-05 09:49:55,122 - getlogs.py - line:27 - INFO - 安盛保费计算共用时18.61s -3208
  234. 2023-09-05 10:11:47,677 - getlogs.py - line:27 - INFO - 安盛保费计算共用时21.1s -3208
  235. 2023-09-05 10:15:54,811 - getlogs.py - line:27 - INFO - 安盛保费计算共用时0.0s -3208
  236. 2023-09-05 10:15:54,812 - getlogs.py - line:34 - ERROR - decoding to str: need a bytes-like object, NoneType found -3208
  237. 2023-09-05 10:15:54,812 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  238. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  239. ret = carinfo.main()
  240. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 874, in main
  241. self.check_login()
  242. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 137, in check_login
  243. self.token=str(redis_conn.hget('hengbang_'+self.username,'token'),'utf8')
  244. TypeError: decoding to str: need a bytes-like object, NoneType found
  245. --------------
  246. -3208
  247. 2023-09-06 11:43:30,853 - getlogs.py - line:27 - INFO - 安盛保费计算共用时8.18s -11760
  248. 2023-09-06 11:47:03,877 - getlogs.py - line:27 - INFO - 安盛保费计算共用时16.77s -11760
  249. 2023-09-06 11:48:10,919 - getlogs.py - line:27 - INFO - 安盛保费计算共用时16.83s -11760
  250. 2023-09-06 14:27:56,273 - getlogs.py - line:27 - INFO - 安盛保费计算共用时18.21s -11492
  251. 2023-09-13 15:59:27,630 - getlogs.py - line:27 - INFO - 安盛保费计算共用时23.17s -12416
  252. 2023-09-13 16:02:39,179 - getlogs.py - line:27 - INFO - 安盛保费计算共用时9.49s -692
  253. 2023-09-13 16:02:39,180 - getlogs.py - line:34 - ERROR - 'NoneType' object has no attribute 'json' -692
  254. 2023-09-13 16:02:39,180 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  255. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  256. ret = carinfo.main()
  257. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 898, in main
  258. if self.bj_response.json().get('status') == '9' :
  259. AttributeError: 'NoneType' object has no attribute 'json'
  260. --------------
  261. -692
  262. 2023-09-13 16:03:37,647 - getlogs.py - line:27 - INFO - 安盛保费计算共用时10.16s -7524
  263. 2023-09-13 16:03:37,648 - getlogs.py - line:34 - ERROR - 'NoneType' object has no attribute 'text' -7524
  264. 2023-09-13 16:03:37,648 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  265. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  266. ret = carinfo.main()
  267. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 897, in main
  268. print(self.bj_response.text)
  269. AttributeError: 'NoneType' object has no attribute 'text'
  270. --------------
  271. -7524
  272. 2023-09-13 16:05:56,373 - getlogs.py - line:27 - INFO - 安盛保费计算共用时20.39s -3584
  273. 2023-09-13 16:06:26,985 - getlogs.py - line:27 - INFO - 安盛保费计算共用时17.09s -3584
  274. 2023-09-13 16:08:26,190 - getlogs.py - line:27 - INFO - 安盛保费计算共用时20.74s -14012
  275. 2023-09-13 17:13:11,382 - getlogs.py - line:27 - INFO - 安盛保费计算共用时5.64s -12820
  276. 2023-09-13 17:13:11,391 - getlogs.py - line:34 - ERROR - unsupported operand type(s) for +: '_io.TextIOWrapper' and 'str' -12820
  277. 2023-09-13 17:13:11,392 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  278. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  279. ret = carinfo.main()
  280. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 911, in main
  281. self.get_carinfo()
  282. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 208, in get_carinfo
  283. beginDate=self.get_utctime(self.chesun_startDate)
  284. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 140, in get_utctime
  285. ret=execjs.compile(self.js_code).call('get_utc',x)
  286. File "E:\flaskProject\venv\lib\site-packages\execjs\_abstract_runtime_context.py", line 37, in call
  287. return self._call(name, *args)
  288. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 92, in _call
  289. return self._eval("{identifier}.apply(this, {args})".format(identifier=identifier, args=args))
  290. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 78, in _eval
  291. return self.exec_(code)
  292. File "E:\flaskProject\venv\lib\site-packages\execjs\_abstract_runtime_context.py", line 18, in exec_
  293. return self._exec_(source)
  294. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 82, in _exec_
  295. source = self._source + '\n' + source
  296. TypeError: unsupported operand type(s) for +: '_io.TextIOWrapper' and 'str'
  297. --------------
  298. -12820
  299. 2023-09-13 17:13:54,380 - getlogs.py - line:27 - INFO - 安盛保费计算共用时5.79s -10568
  300. 2023-09-13 17:13:54,381 - getlogs.py - line:34 - ERROR - unsupported operand type(s) for +: '_io.TextIOWrapper' and 'str' -10568
  301. 2023-09-13 17:13:54,381 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  302. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  303. ret = carinfo.main()
  304. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 912, in main
  305. self.get_carinfo()
  306. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 209, in get_carinfo
  307. beginDate=self.get_utctime(self.chesun_startDate)
  308. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 141, in get_utctime
  309. ret=execjs.compile(self.js_code).call('get_utc',x)
  310. File "E:\flaskProject\venv\lib\site-packages\execjs\_abstract_runtime_context.py", line 37, in call
  311. return self._call(name, *args)
  312. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 92, in _call
  313. return self._eval("{identifier}.apply(this, {args})".format(identifier=identifier, args=args))
  314. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 78, in _eval
  315. return self.exec_(code)
  316. File "E:\flaskProject\venv\lib\site-packages\execjs\_abstract_runtime_context.py", line 18, in exec_
  317. return self._exec_(source)
  318. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 82, in _exec_
  319. source = self._source + '\n' + source
  320. TypeError: unsupported operand type(s) for +: '_io.TextIOWrapper' and 'str'
  321. --------------
  322. -10568
  323. 2023-09-13 17:15:07,706 - getlogs.py - line:27 - INFO - 安盛保费计算共用时5.63s -2536
  324. 2023-09-13 17:15:07,707 - getlogs.py - line:34 - ERROR - unsupported operand type(s) for +: '_io.TextIOWrapper' and 'str' -2536
  325. 2023-09-13 17:15:07,707 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  326. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  327. ret = carinfo.main()
  328. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 912, in main
  329. self.get_carinfo()
  330. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 209, in get_carinfo
  331. beginDate=self.get_utctime(self.chesun_startDate)
  332. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 141, in get_utctime
  333. ret=execjs.compile(self.js_code).call('get_utc',x)
  334. File "E:\flaskProject\venv\lib\site-packages\execjs\_abstract_runtime_context.py", line 37, in call
  335. return self._call(name, *args)
  336. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 92, in _call
  337. return self._eval("{identifier}.apply(this, {args})".format(identifier=identifier, args=args))
  338. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 78, in _eval
  339. return self.exec_(code)
  340. File "E:\flaskProject\venv\lib\site-packages\execjs\_abstract_runtime_context.py", line 18, in exec_
  341. return self._exec_(source)
  342. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 82, in _exec_
  343. source = self._source + '\n' + source
  344. TypeError: unsupported operand type(s) for +: '_io.TextIOWrapper' and 'str'
  345. --------------
  346. -2536
  347. 2023-09-13 17:15:21,146 - getlogs.py - line:27 - INFO - 安盛保费计算共用时5.68s -2304
  348. 2023-09-13 17:15:21,147 - getlogs.py - line:34 - ERROR - unsupported operand type(s) for +: '_io.TextIOWrapper' and 'str' -2304
  349. 2023-09-13 17:15:21,147 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  350. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  351. ret = carinfo.main()
  352. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 913, in main
  353. self.get_carinfo()
  354. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 210, in get_carinfo
  355. beginDate=self.get_utctime(self.chesun_startDate)
  356. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 141, in get_utctime
  357. ret=execjs.compile(self.js_code).call('get_utc',x)
  358. File "E:\flaskProject\venv\lib\site-packages\execjs\_abstract_runtime_context.py", line 37, in call
  359. return self._call(name, *args)
  360. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 92, in _call
  361. return self._eval("{identifier}.apply(this, {args})".format(identifier=identifier, args=args))
  362. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 78, in _eval
  363. return self.exec_(code)
  364. File "E:\flaskProject\venv\lib\site-packages\execjs\_abstract_runtime_context.py", line 18, in exec_
  365. return self._exec_(source)
  366. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 82, in _exec_
  367. source = self._source + '\n' + source
  368. TypeError: unsupported operand type(s) for +: '_io.TextIOWrapper' and 'str'
  369. --------------
  370. -2304
  371. 2023-09-13 17:18:32,788 - getlogs.py - line:27 - INFO - 安盛保费计算共用时5.66s -13324
  372. 2023-09-13 17:18:32,789 - getlogs.py - line:34 - ERROR - unsupported operand type(s) for +: '_io.TextIOWrapper' and 'str' -13324
  373. 2023-09-13 17:18:32,789 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  374. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  375. ret = carinfo.main()
  376. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 913, in main
  377. self.get_carinfo()
  378. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 210, in get_carinfo
  379. beginDate=self.get_utctime(self.chesun_startDate)
  380. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 141, in get_utctime
  381. ret=execjs.compile(self.js_code).call('get_utc',x)
  382. File "E:\flaskProject\venv\lib\site-packages\execjs\_abstract_runtime_context.py", line 37, in call
  383. return self._call(name, *args)
  384. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 92, in _call
  385. return self._eval("{identifier}.apply(this, {args})".format(identifier=identifier, args=args))
  386. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 78, in _eval
  387. return self.exec_(code)
  388. File "E:\flaskProject\venv\lib\site-packages\execjs\_abstract_runtime_context.py", line 18, in exec_
  389. return self._exec_(source)
  390. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 82, in _exec_
  391. source = self._source + '\n' + source
  392. TypeError: unsupported operand type(s) for +: '_io.TextIOWrapper' and 'str'
  393. --------------
  394. -13324
  395. 2023-09-13 17:19:51,357 - getlogs.py - line:27 - INFO - 安盛保费计算共用时5.74s -9284
  396. 2023-09-13 17:19:51,358 - getlogs.py - line:34 - ERROR - unsupported operand type(s) for +: '_io.TextIOWrapper' and 'str' -9284
  397. 2023-09-13 17:19:51,359 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  398. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  399. ret = carinfo.main()
  400. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 914, in main
  401. self.get_carinfo()
  402. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 211, in get_carinfo
  403. beginDate=self.get_utctime(self.chesun_startDate)
  404. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 142, in get_utctime
  405. ret=execjs.compile(self.js_code).call('get_utc',x)
  406. File "E:\flaskProject\venv\lib\site-packages\execjs\_abstract_runtime_context.py", line 37, in call
  407. return self._call(name, *args)
  408. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 92, in _call
  409. return self._eval("{identifier}.apply(this, {args})".format(identifier=identifier, args=args))
  410. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 78, in _eval
  411. return self.exec_(code)
  412. File "E:\flaskProject\venv\lib\site-packages\execjs\_abstract_runtime_context.py", line 18, in exec_
  413. return self._exec_(source)
  414. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 82, in _exec_
  415. source = self._source + '\n' + source
  416. TypeError: unsupported operand type(s) for +: '_io.TextIOWrapper' and 'str'
  417. --------------
  418. -9284
  419. 2023-09-13 17:20:11,877 - getlogs.py - line:27 - INFO - 安盛保费计算共用时5.44s -8236
  420. 2023-09-13 17:20:11,878 - getlogs.py - line:34 - ERROR - unsupported operand type(s) for +: '_io.TextIOWrapper' and 'str' -8236
  421. 2023-09-13 17:20:11,878 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  422. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  423. ret = carinfo.main()
  424. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 915, in main
  425. self.get_carinfo()
  426. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 212, in get_carinfo
  427. beginDate=self.get_utctime(self.chesun_startDate)
  428. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 143, in get_utctime
  429. ret=execjs.compile(self.js_code).call('get_utc',x)
  430. File "E:\flaskProject\venv\lib\site-packages\execjs\_abstract_runtime_context.py", line 37, in call
  431. return self._call(name, *args)
  432. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 92, in _call
  433. return self._eval("{identifier}.apply(this, {args})".format(identifier=identifier, args=args))
  434. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 78, in _eval
  435. return self.exec_(code)
  436. File "E:\flaskProject\venv\lib\site-packages\execjs\_abstract_runtime_context.py", line 18, in exec_
  437. return self._exec_(source)
  438. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 82, in _exec_
  439. source = self._source + '\n' + source
  440. TypeError: unsupported operand type(s) for +: '_io.TextIOWrapper' and 'str'
  441. --------------
  442. -8236
  443. 2023-09-13 17:20:49,773 - getlogs.py - line:27 - INFO - 安盛保费计算共用时5.77s -10128
  444. 2023-09-13 17:20:49,774 - getlogs.py - line:34 - ERROR - unsupported operand type(s) for +: '_io.TextIOWrapper' and 'str' -10128
  445. 2023-09-13 17:20:49,774 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  446. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  447. ret = carinfo.main()
  448. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 915, in main
  449. self.get_carinfo()
  450. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 212, in get_carinfo
  451. beginDate=self.get_utctime(self.chesun_startDate)
  452. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 143, in get_utctime
  453. ret=execjs.compile(self.js_code).call('get_utc',x)
  454. File "E:\flaskProject\venv\lib\site-packages\execjs\_abstract_runtime_context.py", line 37, in call
  455. return self._call(name, *args)
  456. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 92, in _call
  457. return self._eval("{identifier}.apply(this, {args})".format(identifier=identifier, args=args))
  458. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 78, in _eval
  459. return self.exec_(code)
  460. File "E:\flaskProject\venv\lib\site-packages\execjs\_abstract_runtime_context.py", line 18, in exec_
  461. return self._exec_(source)
  462. File "E:\flaskProject\venv\lib\site-packages\execjs\_external_runtime.py", line 82, in _exec_
  463. source = self._source + '\n' + source
  464. TypeError: unsupported operand type(s) for +: '_io.TextIOWrapper' and 'str'
  465. --------------
  466. -10128
  467. 2023-09-13 17:21:54,859 - getlogs.py - line:27 - INFO - 安盛保费计算共用时8.48s -3792
  468. 2023-09-13 17:22:56,755 - getlogs.py - line:27 - INFO - 安盛保费计算共用时7.23s -5600
  469. 2023-09-13 17:35:23,720 - getlogs.py - line:27 - INFO - 安盛保费计算共用时7.29s -2732
  470. 2023-09-13 17:35:56,681 - getlogs.py - line:27 - INFO - 安盛保费计算共用时18.61s -2732
  471. 2023-09-13 17:37:10,766 - getlogs.py - line:27 - INFO - 安盛保费计算共用时17.2s -6552
  472. 2023-09-13 17:38:17,888 - getlogs.py - line:27 - INFO - 安盛保费计算共用时18.21s -4684
  473. 2023-09-13 17:46:27,753 - getlogs.py - line:27 - INFO - 安盛保费计算共用时10.43s -10600
  474. 2023-09-13 17:52:47,986 - getlogs.py - line:27 - INFO - 安盛保费计算共用时10.73s -14012
  475. 2023-09-13 17:54:50,604 - getlogs.py - line:27 - INFO - 安盛保费计算共用时17.46s -14012
  476. 2023-09-13 18:03:06,417 - getlogs.py - line:27 - INFO - 安盛保费计算共用时16.34s -6720
  477. 2023-09-13 18:04:09,705 - getlogs.py - line:27 - INFO - 安盛保费计算共用时19.21s -9092
  478. 2023-09-13 18:08:02,598 - getlogs.py - line:27 - INFO - 安盛保费计算共用时17.36s -172
  479. 2023-09-14 17:33:22,186 - getlogs.py - line:27 - INFO - 安盛保费计算共用时10.84s -16852
  480. 2023-09-14 17:33:51,351 - getlogs.py - line:27 - INFO - 安盛保费计算共用时11.89s -12600
  481. 2023-09-14 17:34:26,469 - getlogs.py - line:27 - INFO - 安盛保费计算共用时12.41s -17016
  482. 2023-09-14 17:36:26,223 - getlogs.py - line:27 - INFO - 安盛保费计算共用时11.21s -18168
  483. 2023-09-14 17:37:00,925 - getlogs.py - line:27 - INFO - 安盛保费计算共用时9.86s -12348
  484. 2023-09-14 17:37:27,434 - getlogs.py - line:27 - INFO - 安盛保费计算共用时9.24s -15804
  485. 2023-09-14 17:37:55,975 - getlogs.py - line:27 - INFO - 安盛保费计算共用时8.31s -276
  486. 2023-09-14 17:38:30,853 - getlogs.py - line:27 - INFO - 安盛保费计算共用时11.56s -18372
  487. 2023-09-14 17:48:26,807 - getlogs.py - line:27 - INFO - 安盛保费计算共用时59.88s -18372
  488. 2023-09-15 08:46:37,050 - getlogs.py - line:27 - INFO - 安盛保费计算共用时8.55s -15608
  489. 2023-09-15 08:47:23,343 - getlogs.py - line:27 - INFO - 安盛保费计算共用时11.7s -15608
  490. 2023-09-15 08:49:03,070 - getlogs.py - line:27 - INFO - 安盛保费计算共用时13.05s -15412
  491. 2023-09-15 10:22:01,421 - getlogs.py - line:27 - INFO - 安盛保费计算共用时7.01s -17108
  492. 2023-09-15 10:24:03,993 - getlogs.py - line:27 - INFO - 安盛保费计算共用时8.07s -16868
  493. 2023-09-15 10:25:07,335 - getlogs.py - line:27 - INFO - 安盛保费计算共用时7.76s -7540
  494. 2023-09-18 16:30:34,203 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时8.39s -2164
  495. 2023-09-18 16:30:34,204 - getlogs.py - line:34 - ERROR - can only concatenate str (not "NoneType") to str -2164
  496. 2023-09-18 16:30:34,204 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  497. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  498. ret = carinfo.main()
  499. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 865, in main
  500. self.repeat(res)
  501. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 673, in repeat
  502. self.message=response.json().get('message')+'--'+response.json().get('detail')
  503. TypeError: can only concatenate str (not "NoneType") to str
  504. --------------
  505. -2164
  506. 2023-09-18 16:38:09,446 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时7.86s -396
  507. 2023-09-18 16:38:53,946 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时7.94s -396
  508. 2023-09-19 11:47:44,028 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.9s -9088
  509. 2023-09-22 10:09:52,785 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.11s -9788
  510. 2023-09-25 08:59:08,066 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时4.05s -6184
  511. 2023-09-25 08:59:08,067 - getlogs.py - line:34 - ERROR - Error 10061 connecting to 127.0.0.1:6379. 由于目标计算机积极拒绝,无法连接。. -6184
  512. 2023-09-25 08:59:08,067 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  513. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 484, in connect
  514. sock = self._connect()
  515. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 541, in _connect
  516. raise err
  517. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 529, in _connect
  518. sock.connect(socket_address)
  519. ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。
  520. During handling of the above exception, another exception occurred:
  521. Traceback (most recent call last):
  522. File "E:\flaskProject\venv\lib\site-packages\redis\client.py", line 667, in execute_command
  523. connection.send_command(*args)
  524. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 610, in send_command
  525. self.send_packed_command(self.pack_command(*args))
  526. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 585, in send_packed_command
  527. self.connect()
  528. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 489, in connect
  529. raise ConnectionError(self._error_message(e))
  530. redis.exceptions.ConnectionError: Error 10061 connecting to 127.0.0.1:6379. 由于目标计算机积极拒绝,无法连接。.
  531. During handling of the above exception, another exception occurred:
  532. Traceback (most recent call last):
  533. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 484, in connect
  534. sock = self._connect()
  535. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 541, in _connect
  536. raise err
  537. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 529, in _connect
  538. sock.connect(socket_address)
  539. ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。
  540. During handling of the above exception, another exception occurred:
  541. Traceback (most recent call last):
  542. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  543. ret = carinfo.main()
  544. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 862, in main
  545. self.check_login()
  546. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 150, in check_login
  547. self.token=str(redis_conn.hget('hengbang_'+self.username,'token'),'utf8')
  548. File "E:\flaskProject\venv\lib\site-packages\redis\client.py", line 1963, in hget
  549. return self.execute_command('HGET', name, key)
  550. File "E:\flaskProject\venv\lib\site-packages\redis\client.py", line 673, in execute_command
  551. connection.send_command(*args)
  552. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 610, in send_command
  553. self.send_packed_command(self.pack_command(*args))
  554. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 585, in send_packed_command
  555. self.connect()
  556. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 489, in connect
  557. raise ConnectionError(self._error_message(e))
  558. redis.exceptions.ConnectionError: Error 10061 connecting to 127.0.0.1:6379. 由于目标计算机积极拒绝,无法连接。.
  559. --------------
  560. -6184
  561. 2023-09-25 08:59:36,717 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时7.98s -6184
  562. 2023-09-25 09:00:07,983 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时7.96s -6184
  563. 2023-09-25 09:00:27,554 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时12.32s -6184
  564. 2023-09-25 17:18:49,310 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.33s -1420
  565. 2023-09-25 17:20:16,623 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.21s -7464
  566. 2023-09-25 17:20:32,597 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.3s -532
  567. 2023-09-25 17:25:26,319 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.33s -10160
  568. 2023-09-25 17:25:46,964 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.09s -6644
  569. 2023-09-25 17:28:54,410 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.32s -12768
  570. 2023-09-25 17:29:11,862 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.23s -3524
  571. 2023-09-25 17:29:56,867 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.41s -7488
  572. 2023-09-27 09:47:57,106 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时8.33s -9564
  573. 2023-09-27 09:51:27,306 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.65s -10388
  574. 2023-09-27 09:56:01,646 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.17s -7232
  575. 2023-09-27 09:57:31,059 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.87s -7032
  576. 2023-09-27 09:59:53,532 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时12.27s -10316
  577. 2023-09-27 10:00:27,592 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时12.42s -7172
  578. 2023-09-27 10:54:43,191 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时12.43s -9248
  579. 2023-09-27 10:59:12,231 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时7.16s -9512
  580. 2023-09-27 11:00:50,620 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时6.93s -8024
  581. 2023-09-27 11:06:25,343 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时13.48s -6276
  582. 2023-09-27 11:08:27,651 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时14.46s -1436
  583. 2023-09-27 11:19:41,411 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.64s -1324
  584. 2023-09-27 11:20:29,519 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时8.67s -2844
  585. 2023-09-27 11:35:24,489 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时6.0s -11860
  586. 2023-09-27 11:38:34,850 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时6.03s -2040
  587. 2023-09-27 11:38:55,129 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时6.95s -6880
  588. 2023-09-27 11:39:27,332 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时6.1s -11604
  589. 2023-09-27 11:40:55,225 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时6.45s -3604
  590. 2023-09-27 11:41:22,770 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时6.1s -12256
  591. 2023-09-27 11:41:41,806 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.78s -11564
  592. 2023-09-27 11:42:01,708 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.9s -9760
  593. 2023-09-27 11:42:25,507 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.99s -11364
  594. 2023-09-27 11:43:03,608 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时18.88s -2680
  595. 2023-09-27 11:43:50,441 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时18.68s -2680
  596. 2023-09-27 11:49:34,233 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时8.73s -2680
  597. 2023-09-27 11:51:06,251 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时15.8s -2680
  598. 2023-09-27 11:51:57,936 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时16.1s -2680
  599. 2023-09-27 11:54:02,453 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时18.5s -12164
  600. 2023-09-27 11:57:38,902 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.11s -12164
  601. 2023-09-27 11:57:38,903 - getlogs.py - line:34 - ERROR - 'NoneType' object has no attribute 'get' -12164
  602. 2023-09-27 11:57:38,903 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  603. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  604. ret = carinfo.main()
  605. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1032, in main
  606. ret = self.proposal()
  607. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 932, in proposal
  608. jq_startDate=self.get_time(res.json().get('forceCarInsureRisk').get('begintime'))
  609. AttributeError: 'NoneType' object has no attribute 'get'
  610. --------------
  611. -12164
  612. 2023-09-27 11:58:19,566 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.98s -9652
  613. 2023-09-27 11:58:19,566 - getlogs.py - line:34 - ERROR - 'NoneType' object has no attribute 'get' -9652
  614. 2023-09-27 11:58:19,566 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  615. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  616. ret = carinfo.main()
  617. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1032, in main
  618. ret = self.proposal()
  619. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 932, in proposal
  620. jq_startDate=self.get_time(res.json().get('forceCarInsureRisk').get('begintime'))
  621. AttributeError: 'NoneType' object has no attribute 'get'
  622. --------------
  623. -9652
  624. 2023-09-27 11:59:50,867 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时8.01s -10560
  625. 2023-09-27 14:08:27,448 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时8.52s -10560
  626. 2023-09-27 14:09:14,645 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时8.21s -3232
  627. 2023-09-27 14:13:51,171 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时16.66s -7468
  628. 2023-09-27 14:19:02,501 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时16.38s -2472
  629. 2023-09-27 14:48:06,892 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.72s -9652
  630. 2023-09-27 14:48:06,893 - getlogs.py - line:34 - ERROR - 'transferVehicle' -9652
  631. 2023-09-27 14:48:06,893 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  632. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  633. ret = carinfo.main()
  634. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1003, in main
  635. self.repeat(res)
  636. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 794, in repeat
  637. del self.json_data['transferVehicle']
  638. KeyError: 'transferVehicle'
  639. --------------
  640. -9652
  641. 2023-09-27 14:49:02,667 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.96s -11688
  642. 2023-09-27 14:49:02,667 - getlogs.py - line:34 - ERROR - 'transferVehicle' -11688
  643. 2023-09-27 14:49:02,668 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  644. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  645. ret = carinfo.main()
  646. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1005, in main
  647. self.repeat(res)
  648. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 795, in repeat
  649. if self.json_data['transferVehicle']:
  650. KeyError: 'transferVehicle'
  651. --------------
  652. -11688
  653. 2023-09-27 14:50:49,299 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时22.36s -12204
  654. 2023-09-28 16:38:18,723 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时4.79s -6996
  655. 2023-09-28 16:38:18,725 - getlogs.py - line:34 - ERROR - list index out of range -6996
  656. 2023-09-28 16:38:18,725 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  657. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  658. ret = carinfo.main()
  659. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1005, in main
  660. self.get_carinfo()
  661. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 214, in get_carinfo
  662. self.carinfo = cars_list[0]
  663. IndexError: list index out of range
  664. --------------
  665. -6996
  666. 2023-09-28 16:38:34,351 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时3.69s -6336
  667. 2023-09-28 16:38:34,352 - getlogs.py - line:34 - ERROR - list index out of range -6336
  668. 2023-09-28 16:38:34,352 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  669. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  670. ret = carinfo.main()
  671. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1005, in main
  672. self.get_carinfo()
  673. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 214, in get_carinfo
  674. self.carinfo = cars_list[0]
  675. IndexError: list index out of range
  676. --------------
  677. -6336
  678. 2023-09-28 16:40:35,161 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时4.37s -5504
  679. 2023-09-28 16:40:35,162 - getlogs.py - line:34 - ERROR - list index out of range -5504
  680. 2023-09-28 16:40:35,162 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  681. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  682. ret = carinfo.main()
  683. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1005, in main
  684. self.get_carinfo()
  685. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 214, in get_carinfo
  686. self.carinfo = cars_list[0]
  687. IndexError: list index out of range
  688. --------------
  689. -5504
  690. 2023-09-28 16:48:16,280 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时4.11s -3768
  691. 2023-09-28 16:48:16,281 - getlogs.py - line:34 - ERROR - 'NoneType' object has no attribute 'get' -3768
  692. 2023-09-28 16:48:16,281 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  693. File "E:\FlaskProject\blueprint\hb_api.py", line 182, in hb_bfjs
  694. ret = carinfo.main()
  695. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1028, in main
  696. self.get_carinfo()
  697. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 251, in get_carinfo
  698. 'seatCount': str(self.carinfo.get('seatCount')),
  699. AttributeError: 'NoneType' object has no attribute 'get'
  700. --------------
  701. -3768
  702. 2023-09-28 16:49:02,267 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时7.14s -11368
  703. 2023-10-07 15:56:17,781 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时18.54s -14692
  704. 2023-10-07 15:58:18,034 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.76s -572
  705. 2023-10-07 17:38:30,095 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.93s -9076
  706. 2023-10-08 08:52:47,487 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时7.55s -11388
  707. 2023-10-08 09:09:53,392 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时7.54s -11388
  708. 2023-10-08 14:30:15,231 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时16.7s -8428
  709. 2023-10-10 16:54:47,996 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时12.04s -13084
  710. 2023-10-10 17:02:01,781 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.91s -7800
  711. 2023-10-11 11:07:10,953 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时8.56s -2020
  712. 2023-10-11 11:07:28,430 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时7.05s -1440
  713. 2023-10-11 11:08:30,171 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时7.27s -1440
  714. 2023-10-11 11:09:03,904 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.26s -10368
  715. 2023-10-11 11:11:08,262 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.49s -13268
  716. 2023-10-12 08:57:30,672 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时13.62s -1308
  717. 2023-10-12 08:58:06,390 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.84s -2848
  718. 2023-10-12 08:58:44,238 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时15.08s -12136
  719. 2023-10-12 08:59:12,653 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.34s -11472
  720. 2023-10-12 09:00:02,056 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.77s -11200
  721. 2023-10-12 09:03:48,105 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时13.79s -10384
  722. 2023-10-12 09:05:03,521 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时14.18s -10168
  723. 2023-10-12 09:05:35,828 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时14.16s -12164
  724. 2023-10-12 09:06:20,814 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时13.79s -2772
  725. 2023-10-13 09:05:13,333 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时16.42s -14492
  726. 2023-10-17 09:47:04,625 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时7.22s -1976
  727. 2023-10-17 09:54:26,193 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时12.82s -1976
  728. 2023-10-17 09:55:32,316 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.6s -12348
  729. 2023-10-17 09:56:39,630 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时12.75s -8560
  730. 2023-10-17 10:01:49,248 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时12.66s -800
  731. 2023-10-17 10:02:27,795 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时13.06s -12980
  732. 2023-10-17 10:02:49,680 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时12.18s -5600
  733. 2023-10-17 10:55:40,570 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.85s -12644
  734. 2023-10-17 10:59:59,055 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时14.36s -11720
  735. 2023-10-17 11:01:02,553 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时12.83s -1712
  736. 2023-10-17 11:11:44,926 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时13.34s -7528
  737. 2023-10-17 11:23:03,660 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时6.85s -6716
  738. 2023-10-17 11:23:03,661 - getlogs.py - line:34 - ERROR - [Errno 22] Invalid argument -6716
  739. 2023-10-17 11:23:03,661 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  740. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  741. ret = carinfo.main()
  742. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1111, in main
  743. self.repeat(res)
  744. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 711, in repeat
  745. print(11111111111,response.text)
  746. OSError: [Errno 22] Invalid argument
  747. --------------
  748. -6716
  749. 2023-10-17 11:24:00,089 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时7.13s -6116
  750. 2023-10-17 11:24:00,090 - getlogs.py - line:34 - ERROR - [Errno 22] Invalid argument -6116
  751. 2023-10-17 11:24:00,090 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  752. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  753. ret = carinfo.main()
  754. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1108, in main
  755. self.repeat(res)
  756. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 711, in repeat
  757. print(11111111111,response.text)
  758. OSError: [Errno 22] Invalid argument
  759. --------------
  760. -6116
  761. 2023-10-17 11:24:55,077 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时7.56s -13200
  762. 2023-10-17 11:24:55,078 - getlogs.py - line:34 - ERROR - [Errno 22] Invalid argument -13200
  763. 2023-10-17 11:24:55,078 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  764. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  765. ret = carinfo.main()
  766. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1108, in main
  767. self.repeat(res)
  768. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 711, in repeat
  769. print(response.text)
  770. OSError: [Errno 22] Invalid argument
  771. --------------
  772. -13200
  773. 2023-10-17 11:26:31,070 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时6.44s -10500
  774. 2023-10-17 11:26:31,071 - getlogs.py - line:34 - ERROR - [Errno 22] Invalid argument -10500
  775. 2023-10-17 11:26:31,071 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  776. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  777. ret = carinfo.main()
  778. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1107, in main
  779. res = self.calculation()
  780. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 708, in calculation
  781. print(response.text)
  782. OSError: [Errno 22] Invalid argument
  783. --------------
  784. -10500
  785. 2023-10-17 11:27:20,518 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时8.94s -6040
  786. 2023-10-17 11:27:20,519 - getlogs.py - line:34 - ERROR - [Errno 22] Invalid argument -6040
  787. 2023-10-17 11:27:20,519 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  788. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  789. ret = carinfo.main()
  790. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1107, in main
  791. self.repeat(res)
  792. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 812, in repeat
  793. print(2222222222222222,ress.text)
  794. OSError: [Errno 22] Invalid argument
  795. --------------
  796. -6040
  797. 2023-10-17 11:28:43,500 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时12.24s -12864
  798. 2023-10-17 11:44:02,031 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时6.77s -12764
  799. 2023-10-17 11:44:02,032 - getlogs.py - line:34 - ERROR - [Errno 22] Invalid argument -12764
  800. 2023-10-17 11:44:02,032 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  801. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  802. ret = carinfo.main()
  803. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1107, in main
  804. self.repeat(res)
  805. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 712, in repeat
  806. print(11111111,response.text)
  807. OSError: [Errno 22] Invalid argument
  808. --------------
  809. -12764
  810. 2023-10-17 11:46:58,861 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时12.31s -6900
  811. 2023-10-17 11:47:32,215 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.5s -6604
  812. 2023-10-17 11:50:34,052 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.17s -1164
  813. 2023-10-17 11:51:35,575 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.48s -12304
  814. 2023-10-17 11:52:15,775 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.79s -2828
  815. 2023-10-17 11:52:36,589 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.19s -13940
  816. 2023-10-17 11:53:03,202 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.27s -14276
  817. 2023-10-17 11:53:27,797 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.32s -13904
  818. 2023-10-17 11:54:19,923 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.75s -11744
  819. 2023-10-17 11:55:36,621 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.6s -7180
  820. 2023-10-17 11:58:02,144 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.54s -1504
  821. 2023-10-17 12:00:36,793 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.01s -1208
  822. 2023-10-17 12:00:54,712 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时8.94s -1208
  823. 2023-10-17 12:01:17,837 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.35s -10180
  824. 2023-10-17 14:04:03,243 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.19s -2420
  825. 2023-10-17 14:06:42,821 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时6.22s -13880
  826. 2023-10-17 14:07:12,376 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.48s -11828
  827. 2023-10-18 08:50:05,622 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.11s -4284
  828. 2023-10-18 08:50:05,623 - getlogs.py - line:34 - ERROR - 'hb_calculation' object has no attribute 'accidentalDrivin' -4284
  829. 2023-10-18 08:50:05,623 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  830. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  831. ret = carinfo.main()
  832. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1063, in main
  833. res = self.calculation()
  834. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 705, in calculation
  835. json=self.get_fcxinfo(self.json_data))
  836. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 222, in get_fcxinfo
  837. res['accidentInsuranceList']=self.accidentalDrivin
  838. AttributeError: 'hb_calculation' object has no attribute 'accidentalDrivin'
  839. --------------
  840. -4284
  841. 2023-10-18 08:50:55,590 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.44s -9624
  842. 2023-10-18 08:51:29,431 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时6.53s -3292
  843. 2023-10-18 08:52:44,665 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.24s -3292
  844. 2023-10-18 08:56:16,501 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.3s -3292
  845. 2023-10-18 08:56:32,447 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.37s -1336
  846. 2023-10-18 09:03:10,260 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.67s -9164
  847. 2023-10-18 09:07:33,834 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.74s -2444
  848. 2023-10-18 09:08:59,983 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.34s -7668
  849. 2023-10-18 09:09:18,005 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.46s -2944
  850. 2023-10-18 09:09:45,289 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.54s -11676
  851. 2023-10-18 09:14:38,157 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.76s -1208
  852. 2023-10-18 09:14:38,157 - getlogs.py - line:34 - ERROR - 'policyCode' -1208
  853. 2023-10-18 09:14:38,157 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  854. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  855. ret = carinfo.main()
  856. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1065, in main
  857. res = self.calculation()
  858. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 707, in calculation
  859. print(self.get_fcxinfo(self.json_data))
  860. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 215, in get_fcxinfo
  861. del self.accidentalDriving['policyCode']
  862. KeyError: 'policyCode'
  863. --------------
  864. -1208
  865. 2023-10-18 09:16:52,283 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.45s -11144
  866. 2023-10-18 09:16:52,284 - getlogs.py - line:34 - ERROR - 'policyCode' -11144
  867. 2023-10-18 09:16:52,284 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  868. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  869. ret = carinfo.main()
  870. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1065, in main
  871. res = self.calculation()
  872. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 707, in calculation
  873. print(self.get_fcxinfo(self.json_data))
  874. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 215, in get_fcxinfo
  875. del self.accidentalDriving['policyCode']
  876. KeyError: 'policyCode'
  877. --------------
  878. -11144
  879. 2023-10-18 09:17:54,956 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.47s -6356
  880. 2023-10-18 09:17:54,957 - getlogs.py - line:34 - ERROR - 'ifDefault' -6356
  881. 2023-10-18 09:17:54,957 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  882. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  883. ret = carinfo.main()
  884. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1065, in main
  885. res = self.calculation()
  886. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 707, in calculation
  887. print(self.get_fcxinfo(self.json_data))
  888. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 216, in get_fcxinfo
  889. del self.accidentalDriving['ifDefault']
  890. KeyError: 'ifDefault'
  891. --------------
  892. -6356
  893. 2023-10-18 09:20:16,175 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.53s -7284
  894. 2023-10-18 09:20:16,175 - getlogs.py - line:34 - ERROR - 'policyCode' -7284
  895. 2023-10-18 09:20:16,175 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  896. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  897. ret = carinfo.main()
  898. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1066, in main
  899. res = self.calculation()
  900. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 708, in calculation
  901. print(self.get_fcxinfo(self.json_data))
  902. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 216, in get_fcxinfo
  903. del self.accidentalDriving['policyCode']
  904. KeyError: 'policyCode'
  905. --------------
  906. -7284
  907. 2023-10-18 09:20:32,167 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.53s -5992
  908. 2023-10-18 09:20:32,167 - getlogs.py - line:34 - ERROR - 'policyCode' -5992
  909. 2023-10-18 09:20:32,167 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  910. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  911. ret = carinfo.main()
  912. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1066, in main
  913. res = self.calculation()
  914. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 708, in calculation
  915. print(self.get_fcxinfo(self.json_data))
  916. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 216, in get_fcxinfo
  917. del self.accidentalDriving['policyCode']
  918. KeyError: 'policyCode'
  919. --------------
  920. -5992
  921. 2023-10-18 09:25:08,969 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.85s -7788
  922. 2023-10-18 09:26:15,332 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.44s -1896
  923. 2023-10-18 09:26:29,589 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.48s -8516
  924. 2023-10-18 09:28:36,558 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.38s -2472
  925. 2023-10-18 09:40:04,232 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.63s -6100
  926. 2023-10-18 09:40:04,233 - getlogs.py - line:34 - ERROR - 'policyCode' -6100
  927. 2023-10-18 09:40:04,233 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  928. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  929. ret = carinfo.main()
  930. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1073, in main
  931. res = self.calculation()
  932. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 715, in calculation
  933. print(111222333,self.get_fcxinfo(self.json_data))
  934. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 217, in get_fcxinfo
  935. del self.accidentalDriving['policyCode']
  936. KeyError: 'policyCode'
  937. --------------
  938. -6100
  939. 2023-10-18 09:41:08,049 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.46s -6060
  940. 2023-10-18 09:42:56,471 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.49s -6736
  941. 2023-10-18 09:43:35,105 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时7.28s -10560
  942. 2023-10-18 09:43:57,449 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.29s -2256
  943. 2023-10-18 09:44:11,545 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.53s -2436
  944. 2023-10-18 09:44:11,546 - getlogs.py - line:34 - ERROR - 'policyCode' -2436
  945. 2023-10-18 09:44:11,546 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  946. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  947. ret = carinfo.main()
  948. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1075, in main
  949. res = self.calculation()
  950. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 717, in calculation
  951. print(111222333,self.get_fcxinfo(self.json_data))
  952. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 219, in get_fcxinfo
  953. del self.accidentalDriving['policyCode']
  954. KeyError: 'policyCode'
  955. --------------
  956. -2436
  957. 2023-10-18 09:45:30,871 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.58s -8252
  958. 2023-10-18 09:45:30,871 - getlogs.py - line:34 - ERROR - 'policyCode' -8252
  959. 2023-10-18 09:45:30,871 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  960. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  961. ret = carinfo.main()
  962. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1076, in main
  963. res = self.calculation()
  964. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 718, in calculation
  965. print(111222333,self.get_fcxinfo(self.json_data))
  966. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 219, in get_fcxinfo
  967. print(self.accidentalDriving['policyCode'])
  968. KeyError: 'policyCode'
  969. --------------
  970. -8252
  971. 2023-10-18 09:48:51,212 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时6.31s -9264
  972. 2023-10-18 09:48:51,213 - getlogs.py - line:34 - ERROR - 'policyCode' -9264
  973. 2023-10-18 09:48:51,213 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  974. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  975. ret = carinfo.main()
  976. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1077, in main
  977. res = self.calculation()
  978. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 719, in calculation
  979. print(111222333,self.get_fcxinfo(self.json_data))
  980. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 220, in get_fcxinfo
  981. print(self.accidentalDriving['policyCode'])
  982. KeyError: 'policyCode'
  983. --------------
  984. -9264
  985. 2023-10-18 09:49:53,016 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.66s -3292
  986. 2023-10-18 09:49:53,017 - getlogs.py - line:34 - ERROR - 'policyCode' -3292
  987. 2023-10-18 09:49:53,017 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  988. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  989. ret = carinfo.main()
  990. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1078, in main
  991. res = self.calculation()
  992. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 720, in calculation
  993. print(111222333,self.get_fcxinfo(self.json_data))
  994. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 220, in get_fcxinfo
  995. print(self.accidentalDriving['policyCode'])
  996. KeyError: 'policyCode'
  997. --------------
  998. -3292
  999. 2023-10-18 09:51:08,531 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时8.05s -11612
  1000. 2023-10-18 09:51:08,532 - getlogs.py - line:34 - ERROR - 'policyCode' -11612
  1001. 2023-10-18 09:51:08,532 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  1002. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  1003. ret = carinfo.main()
  1004. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1077, in main
  1005. res = self.calculation()
  1006. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 719, in calculation
  1007. print(111222333,self.get_fcxinfo(self.json_data))
  1008. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 219, in get_fcxinfo
  1009. print(self.accidentalDriving['policyCode'])
  1010. KeyError: 'policyCode'
  1011. --------------
  1012. -11612
  1013. 2023-10-18 09:51:38,599 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.74s -3240
  1014. 2023-10-18 09:51:38,600 - getlogs.py - line:34 - ERROR - 'policyCode' -3240
  1015. 2023-10-18 09:51:38,600 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  1016. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  1017. ret = carinfo.main()
  1018. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1076, in main
  1019. res = self.calculation()
  1020. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 718, in calculation
  1021. print(111222333,self.get_fcxinfo(self.json_data))
  1022. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 219, in get_fcxinfo
  1023. del self.accidentalDriving['policyCode']
  1024. KeyError: 'policyCode'
  1025. --------------
  1026. -3240
  1027. 2023-10-18 09:53:27,981 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.61s -7196
  1028. 2023-10-18 10:02:42,968 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.88s -7288
  1029. 2023-10-18 10:03:31,922 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.83s -9856
  1030. 2023-10-18 10:41:17,124 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.53s -12684
  1031. 2023-10-18 10:44:38,032 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.44s -9964
  1032. 2023-10-18 10:47:25,752 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时8.82s -11948
  1033. 2023-10-18 10:49:09,202 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.03s -788
  1034. 2023-10-18 10:57:46,900 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.44s -11884
  1035. 2023-10-18 11:12:16,614 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.28s -12368
  1036. 2023-10-18 11:14:42,209 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.4s -13140
  1037. 2023-10-18 11:17:47,233 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.4s -11948
  1038. 2023-10-18 11:56:56,366 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时8.64s -11820
  1039. 2023-10-18 14:13:43,740 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.19s -2076
  1040. 2023-10-18 14:51:38,789 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时7.85s -816
  1041. 2023-10-18 17:35:06,117 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时12.81s -8372
  1042. 2023-10-19 10:24:58,111 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时13.58s -12072
  1043. 2023-10-19 10:28:16,276 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.19s -1504
  1044. 2023-10-19 10:28:54,494 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.29s -6024
  1045. 2023-10-19 10:31:05,500 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时12.77s -2984
  1046. 2023-10-19 10:31:54,393 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.91s -11668
  1047. 2023-10-19 10:32:25,816 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时13.28s -9892
  1048. 2023-10-19 10:33:01,805 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.35s -2764
  1049. 2023-10-19 10:39:10,283 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时13.39s -11848
  1050. 2023-10-19 10:42:12,556 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.81s -1396
  1051. 2023-10-19 10:42:12,557 - getlogs.py - line:34 - ERROR - 'NoneType' object has no attribute 'get' -1396
  1052. 2023-10-19 10:42:12,557 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  1053. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  1054. ret = carinfo.main()
  1055. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1101, in main
  1056. self.repeat(res)
  1057. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 815, in repeat
  1058. self.repeat(response)
  1059. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 829, in repeat
  1060. return self.repeat(ress)
  1061. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 838, in repeat
  1062. self.chesun_startDate = self.get_utctime(response.json().get('responseBody').get('begintimeBi'))
  1063. AttributeError: 'NoneType' object has no attribute 'get'
  1064. --------------
  1065. -1396
  1066. 2023-10-19 10:42:49,624 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.36s -9288
  1067. 2023-10-19 10:42:49,625 - getlogs.py - line:34 - ERROR - 'NoneType' object has no attribute 'get' -9288
  1068. 2023-10-19 10:42:49,625 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  1069. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  1070. ret = carinfo.main()
  1071. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1101, in main
  1072. self.repeat(res)
  1073. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 815, in repeat
  1074. self.repeat(response)
  1075. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 829, in repeat
  1076. return self.repeat(ress)
  1077. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 838, in repeat
  1078. self.chesun_startDate = self.get_utctime(response.json().get('responseBody').get('begintimeBi'))
  1079. AttributeError: 'NoneType' object has no attribute 'get'
  1080. --------------
  1081. -9288
  1082. 2023-10-19 10:44:52,728 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.32s -12800
  1083. 2023-10-19 10:44:52,729 - getlogs.py - line:34 - ERROR - 'NoneType' object has no attribute 'get' -12800
  1084. 2023-10-19 10:44:52,729 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  1085. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  1086. ret = carinfo.main()
  1087. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1102, in main
  1088. self.repeat(res)
  1089. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 815, in repeat
  1090. self.repeat(response)
  1091. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 830, in repeat
  1092. return self.repeat(ress)
  1093. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 839, in repeat
  1094. self.chesun_startDate = self.get_utctime(response.json().get('responseBody').get('begintimeBi'))
  1095. AttributeError: 'NoneType' object has no attribute 'get'
  1096. --------------
  1097. -12800
  1098. 2023-10-19 10:45:59,818 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时23.76s -6844
  1099. 2023-10-19 10:48:53,127 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时20.72s -2420
  1100. 2023-10-19 10:54:26,825 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.38s -12028
  1101. 2023-10-19 10:54:58,376 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.29s -12228
  1102. 2023-10-19 10:59:14,619 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时19.7s -12404
  1103. 2023-10-19 11:00:32,471 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时19.39s -8832
  1104. 2023-10-19 17:41:37,290 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时5.14s -14124
  1105. 2023-10-19 17:41:37,291 - getlogs.py - line:34 - ERROR - int() argument must be a string, a bytes-like object or a number, not 'NoneType' -14124
  1106. 2023-10-19 17:41:37,291 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  1107. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  1108. ret = carinfo.main()
  1109. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1094, in main
  1110. self.get_carinfo()
  1111. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 348, in get_carinfo
  1112. 'completeKerbMass': str(int(self.carinfo.get('completeKerbMass'))),
  1113. TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
  1114. --------------
  1115. -14124
  1116. 2023-10-19 17:42:45,754 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时6.29s -13904
  1117. 2023-10-19 17:42:45,755 - getlogs.py - line:34 - ERROR - int() argument must be a string, a bytes-like object or a number, not 'NoneType' -13904
  1118. 2023-10-19 17:42:45,755 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  1119. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  1120. ret = carinfo.main()
  1121. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1095, in main
  1122. self.get_carinfo()
  1123. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 349, in get_carinfo
  1124. 'completeKerbMass': str(int(self.carinfo.get('completeKerbMass'))),
  1125. TypeError: int() argument must be a string, a bytes-like object or a number, not 'NoneType'
  1126. --------------
  1127. -13904
  1128. 2023-10-19 17:44:48,455 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时21.33s -5764
  1129. 2023-10-20 15:19:02,222 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时13.05s -9152
  1130. 2023-10-20 15:20:07,052 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时27.05s -4232
  1131. 2023-10-20 15:21:00,389 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时27.11s -8188
  1132. 2023-10-20 15:21:45,369 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时22.75s -8188
  1133. 2023-10-20 15:22:54,864 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时21.6s -9016
  1134. 2023-10-20 15:24:06,695 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时24.73s -552
  1135. 2023-11-01 11:02:57,018 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时19.71s -5504
  1136. 2023-11-01 11:12:52,245 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时14.87s -9028
  1137. 2023-11-01 11:14:28,548 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时13.86s -11800
  1138. 2023-11-07 18:13:54,013 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.47s -1804
  1139. 2023-11-07 18:14:25,378 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.55s -13668
  1140. 2023-11-07 18:16:15,739 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时14.3s -12960
  1141. 2023-11-07 18:17:42,812 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时14.04s -13348
  1142. 2023-11-09 11:12:31,125 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时8.64s -3668
  1143. 2023-11-09 11:14:17,260 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.4s -10872
  1144. 2023-11-09 11:15:38,746 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.21s -7808
  1145. 2023-11-09 11:16:14,594 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.78s -1280
  1146. 2023-11-09 11:16:52,783 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.52s -5876
  1147. 2023-11-09 11:17:35,254 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时8.69s -2468
  1148. 2023-11-09 11:18:00,841 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时8.18s -3992
  1149. 2023-11-09 11:18:51,949 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.79s -11964
  1150. 2023-11-14 09:50:21,682 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时12.56s -14200
  1151. 2023-11-14 09:50:21,682 - getlogs.py - line:34 - ERROR - local variable 'ocr' referenced before assignment -14200
  1152. 2023-11-14 09:50:21,682 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  1153. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  1154. ret = carinfo.main()
  1155. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1130, in main
  1156. self.repeat(res)
  1157. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 834, in repeat
  1158. self.repeat(ress)
  1159. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 753, in repeat
  1160. self.JQres = ocr.classification(image).replace('0','O')
  1161. UnboundLocalError: local variable 'ocr' referenced before assignment
  1162. --------------
  1163. -14200
  1164. 2023-11-14 09:51:46,631 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时15.4s -7796
  1165. 2023-11-28 10:19:39,709 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时4.06s -8728
  1166. 2023-11-28 10:19:39,710 - getlogs.py - line:34 - ERROR - Error 10061 connecting to 127.0.0.1:6379. 由于目标计算机积极拒绝,无法连接。. -8728
  1167. 2023-11-28 10:19:39,710 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  1168. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 484, in connect
  1169. sock = self._connect()
  1170. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 541, in _connect
  1171. raise err
  1172. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 529, in _connect
  1173. sock.connect(socket_address)
  1174. ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。
  1175. During handling of the above exception, another exception occurred:
  1176. Traceback (most recent call last):
  1177. File "E:\flaskProject\venv\lib\site-packages\redis\client.py", line 667, in execute_command
  1178. connection.send_command(*args)
  1179. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 610, in send_command
  1180. self.send_packed_command(self.pack_command(*args))
  1181. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 585, in send_packed_command
  1182. self.connect()
  1183. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 489, in connect
  1184. raise ConnectionError(self._error_message(e))
  1185. redis.exceptions.ConnectionError: Error 10061 connecting to 127.0.0.1:6379. 由于目标计算机积极拒绝,无法连接。.
  1186. During handling of the above exception, another exception occurred:
  1187. Traceback (most recent call last):
  1188. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 484, in connect
  1189. sock = self._connect()
  1190. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 541, in _connect
  1191. raise err
  1192. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 529, in _connect
  1193. sock.connect(socket_address)
  1194. ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。
  1195. During handling of the above exception, another exception occurred:
  1196. Traceback (most recent call last):
  1197. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  1198. ret = carinfo.main()
  1199. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1119, in main
  1200. self.check_login()
  1201. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 166, in check_login
  1202. self.token=str(redis_conn.hget('hengbang_'+self.username,'token'),'utf8')
  1203. File "E:\flaskProject\venv\lib\site-packages\redis\client.py", line 1963, in hget
  1204. return self.execute_command('HGET', name, key)
  1205. File "E:\flaskProject\venv\lib\site-packages\redis\client.py", line 673, in execute_command
  1206. connection.send_command(*args)
  1207. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 610, in send_command
  1208. self.send_packed_command(self.pack_command(*args))
  1209. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 585, in send_packed_command
  1210. self.connect()
  1211. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 489, in connect
  1212. raise ConnectionError(self._error_message(e))
  1213. redis.exceptions.ConnectionError: Error 10061 connecting to 127.0.0.1:6379. 由于目标计算机积极拒绝,无法连接。.
  1214. --------------
  1215. -8728
  1216. 2023-11-28 10:20:05,298 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时4.03s -8728
  1217. 2023-11-28 10:20:05,298 - getlogs.py - line:34 - ERROR - Error 10061 connecting to 127.0.0.1:6379. 由于目标计算机积极拒绝,无法连接。. -8728
  1218. 2023-11-28 10:20:05,298 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  1219. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 484, in connect
  1220. sock = self._connect()
  1221. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 541, in _connect
  1222. raise err
  1223. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 529, in _connect
  1224. sock.connect(socket_address)
  1225. ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。
  1226. During handling of the above exception, another exception occurred:
  1227. Traceback (most recent call last):
  1228. File "E:\flaskProject\venv\lib\site-packages\redis\client.py", line 667, in execute_command
  1229. connection.send_command(*args)
  1230. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 610, in send_command
  1231. self.send_packed_command(self.pack_command(*args))
  1232. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 585, in send_packed_command
  1233. self.connect()
  1234. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 489, in connect
  1235. raise ConnectionError(self._error_message(e))
  1236. redis.exceptions.ConnectionError: Error 10061 connecting to 127.0.0.1:6379. 由于目标计算机积极拒绝,无法连接。.
  1237. During handling of the above exception, another exception occurred:
  1238. Traceback (most recent call last):
  1239. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 484, in connect
  1240. sock = self._connect()
  1241. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 541, in _connect
  1242. raise err
  1243. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 529, in _connect
  1244. sock.connect(socket_address)
  1245. ConnectionRefusedError: [WinError 10061] 由于目标计算机积极拒绝,无法连接。
  1246. During handling of the above exception, another exception occurred:
  1247. Traceback (most recent call last):
  1248. File "E:\FlaskProject\blueprint\hb_api.py", line 188, in hb_bfjs
  1249. ret = carinfo.main()
  1250. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 1119, in main
  1251. self.check_login()
  1252. File "E:\FlaskProject\spiders\hengbang\baojia\hb_bfjs.py", line 166, in check_login
  1253. self.token=str(redis_conn.hget('hengbang_'+self.username,'token'),'utf8')
  1254. File "E:\flaskProject\venv\lib\site-packages\redis\client.py", line 1963, in hget
  1255. return self.execute_command('HGET', name, key)
  1256. File "E:\flaskProject\venv\lib\site-packages\redis\client.py", line 673, in execute_command
  1257. connection.send_command(*args)
  1258. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 610, in send_command
  1259. self.send_packed_command(self.pack_command(*args))
  1260. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 585, in send_packed_command
  1261. self.connect()
  1262. File "E:\flaskProject\venv\lib\site-packages\redis\connection.py", line 489, in connect
  1263. raise ConnectionError(self._error_message(e))
  1264. redis.exceptions.ConnectionError: Error 10061 connecting to 127.0.0.1:6379. 由于目标计算机积极拒绝,无法连接。.
  1265. --------------
  1266. -8728
  1267. 2023-11-28 10:20:52,481 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时20.27s -8728
  1268. 2023-11-29 14:29:59,727 - getlogs.py - line:27 - INFO - 太平保费计算共用时1.01s -9556
  1269. 2023-11-29 14:30:35,949 - getlogs.py - line:27 - INFO - 太平保费计算共用时0.53s -8032
  1270. 2023-11-29 14:30:35,950 - getlogs.py - line:34 - ERROR - 'tp_calculation' object has no attribute 'interSalesmanRegisterNo' -8032
  1271. 2023-11-29 14:30:35,950 - getlogs.py - line:35 - ERROR - Traceback (most recent call last):
  1272. File "E:\FlaskProject\blueprint\tp_api.py", line 191, in tp_bfjs
  1273. ret = carinfo.main()
  1274. File "E:\FlaskProject\spiders\taiping\baojia\tp_bfjs.py", line 242, in main
  1275. self.get_guishu()
  1276. File "E:\FlaskProject\spiders\taiping\baojia\tp_bfjs.py", line 196, in get_guishu
  1277. "interSalesmanRegisterNo":self.interSalesmanRegisterNo, # 综拓业务员职业证号
  1278. AttributeError: 'tp_calculation' object has no attribute 'interSalesmanRegisterNo'
  1279. --------------
  1280. -8032
  1281. 2023-12-07 16:29:26,728 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.51s -8252
  1282. 2023-12-07 16:33:52,654 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.48s -17056
  1283. 2023-12-07 16:34:32,174 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时12.56s -16224
  1284. 2023-12-07 16:37:39,780 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时8.03s -17160
  1285. 2023-12-07 16:38:15,075 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.27s -16300
  1286. 2023-12-07 16:45:08,992 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时11.28s -12452
  1287. 2023-12-07 16:46:41,905 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.47s -12452
  1288. 2023-12-07 16:47:46,115 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.51s -17212
  1289. 2023-12-08 16:17:14,275 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时9.54s -15000
  1290. 2023-12-08 16:20:29,069 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时46.98s -10588
  1291. 2023-12-14 11:44:58,003 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时12.05s -13748
  1292. 2023-12-14 11:46:04,118 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时10.49s -8964
  1293. 2024-01-08 11:45:21,021 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时33.14s -4088
  1294. 2024-01-08 11:48:45,317 - getlogs.py - line:27 - INFO - 恒邦保费计算共用时28.18s -12276