Skip to content
This repository has been archived by the owner on Dec 19, 2023. It is now read-only.

验证码通过,开始登录后报错 #820

Open
xmzhangs opened this issue Sep 13, 2021 · 3 comments
Open

验证码通过,开始登录后报错 #820

xmzhangs opened this issue Sep 13, 2021 · 3 comments

Comments

@xmzhangs
Copy link

描述问题

验证码通过,开始登录.
url: /passport/web/login返回参数为空, 接口状态码: 302
url: /passport/web/login返回参数为空, 接口状态码: 302
url: /passport/web/login返回参数为空, 接口状态码: 302
url: /passport/web/login返回参数为空, 接口状态码: 302

验证码通过,开始登录..
url: /passport/web/login返回参数为空, 接口状态码: 302
Traceback (most recent call last):
  File "run.py", line 22, in <module>
    select_ticket_info.select().main()
  File "/usr/src/app/init/select_ticket_info.py", line 123, in main
    self.call_login()
  File "/usr/src/app/init/select_ticket_info.py", line 117, in call_login
    self.login.go_login()
  File "/usr/src/app/init/login.py", line 129, in go_login
    uamtk = self.baseLogin(user, passwd)
  File "/usr/src/app/init/login.py", line 66, in baseLogin
    tresult = self.session.httpClint.send(logurl, loginData)
  File "/usr/src/app/myUrllib/httpUtils.py", line 196, in send
    url_host = self.cdnList.pop(random.randint(0, 4))
IndexError: pop index out of range

重现步骤

步骤一

截图&日志

环境信息

  • windows
  • python3.7.1
  • 订票小助手版本 1.1.101

额外的备注

  • Add any other context about the problem here.
@Zhangdeli1993
Copy link

我也遇到,一样的问题,请问怎么解决

@yayaleslie
Copy link

一样,好难啊,楼主解决了吗
image

@abucraft
Copy link

参考#320

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

No branches or pull requests

4 participants