Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2020-02-09 12:26:09,450 ERROR: 订单结算页面获取异常:Exceeded 30 redirects. #9

Open
jocket1314 opened this issue Feb 9, 2020 · 3 comments

Comments

@jocket1314
Copy link

2020-02-09 12:26:27,163 INFO: 第8次检测结束.耗时: 11s
2020-02-09 12:26:28,729 INFO: [100005603522]类型口罩有货啦!马上下单
2020-02-09 12:26:28,741 INFO: 第[1/3]次尝试提交订单
2020-02-09 12:26:30,219 INFO: 购物车信息:{'100005603522': {'name': '荣耀20 李现同款 4800万超广角AI四摄 3200W美颜自拍 麒麟Kirin980全网通版8GB+128GB 幻夜黑 全面屏手机', 'verder_id': '8888', 'count': 1, 'unit_price': '2089.00', 'total_price': '2089.00', 'is_selected': False, 'p_type': '13', 'target_id': '50066850873', 'promo_id': '50066850873'}}
2020-02-09 12:26:30,221 INFO: 100005603522 已在购物车中,调整数量为 1
2020-02-09 12:26:34,486 ERROR: 订单结算页面获取异常:Exceeded 30 redirects.
Exception in thread item_exist_100005603522:
Traceback (most recent call last):
File "threading.py", line 917, in _bootstrap_inner
File "jd-automask_V1.py", line 760, in run
File "jd-automask_V1.py", line 794, in is_item_removed
File "jd-automask_V1.py", line 479, in buyMask
File "jd-automask_V1.py", line 362, in get_checkout_page_detail
UnboundLocalError: local variable 'risk_control' referenced before assignment

失败了,这个获取异常怎么处理

@diaomina
Copy link

diaomina commented Feb 9, 2020

2020-02-09 12:26:27,163 INFO: 第8次检测结束.耗时: 11s
2020-02-09 12:26:28,729 INFO: [100005603522]类型口罩有货啦!马上下单
2020-02-09 12:26:28,741 INFO: 第[1/3]次尝试提交订单
2020-02-09 12:26:30,219 INFO: 购物车信息:{'100005603522': {'name': '荣耀20 李现同款 4800万超广角AI四摄 3200W美颜自拍 麒麟Kirin980全网通版8GB+128GB 幻夜黑 全面屏手机', 'verder_id': '8888', 'count': 1, 'unit_price': '2089.00', 'total_price': '2089.00', 'is_selected': False, 'p_type': '13', 'target_id': '50066850873', 'promo_id': '50066850873'}}
2020-02-09 12:26:30,221 INFO: 100005603522 已在购物车中,调整数量为 1
2020-02-09 12:26:34,486 ERROR: 订单结算页面获取异常:Exceeded 30 redirects.
Exception in thread item_exist_100005603522:
Traceback (most recent call last):
File "threading.py", line 917, in _bootstrap_inner
File "jd-automask_V1.py", line 760, in run
File "jd-automask_V1.py", line 794, in is_item_removed
File "jd-automask_V1.py", line 479, in buyMask
File "jd-automask_V1.py", line 362, in get_checkout_page_detail
UnboundLocalError: local variable 'risk_control' referenced before assignment

失败了,这个获取异常怎么处理
亲测删除cookie重新扫码登录后不会出现该错误

@solife2020
Copy link

应该给出一个窗口显示购买成功的信息。

@XNW0W
Copy link

XNW0W commented Feb 11, 2020

每次退出再打开自动登录后,都有这个问题,建议每次登录时强制扫描二维码

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants