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

门户登陆不上去 #43

Open
HandsomeAozai opened this issue Mar 5, 2022 · 0 comments
Open

门户登陆不上去 #43

HandsomeAozai opened this issue Mar 5, 2022 · 0 comments

Comments

@HandsomeAozai
Copy link

请问这是什么原因呢?门户老是登陆不上去
D:\PKUAutoSubmit-main>python main.py
环境检查通过
Driver Launched

读取到1份配置文件

||第1个学生备案||
门户登陆中...
Retrying...
门户登陆中...
Retrying...
门户登陆中...
Retrying...
Traceback (most recent call last):
File "D:\PKUAutoSubmit-main\func.py", line 38, in login
5).until(EC.visibility_of_element_located((By.ID, 'all')))
File "D:\Users\Aozai\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\support\wait.py", line 80, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Screenshot: available via screen

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\PKUAutoSubmit-main\func.py", line 38, in login
5).until(EC.visibility_of_element_located((By.ID, 'all')))
File "D:\Users\Aozai\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\support\wait.py", line 80, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Screenshot: available via screen

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\PKUAutoSubmit-main\func.py", line 38, in login
5).until(EC.visibility_of_element_located((By.ID, 'all')))
File "D:\Users\Aozai\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\support\wait.py", line 80, in until
raise TimeoutException(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message:
Screenshot: available via screen

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "D:\PKUAutoSubmit-main\main.py", line 62, in
go('config.ini')
File "D:\PKUAutoSubmit-main\main.py", line 38, in go
run(driver_pjs, userName, password, campus, reason, detail, destination, track,
File "D:\PKUAutoSubmit-main\func.py", line 260, in run
login(driver, userName, password)
File "D:\PKUAutoSubmit-main\func.py", line 42, in login
login(driver, userName, password, retry + 1)
File "D:\PKUAutoSubmit-main\func.py", line 42, in login
login(driver, userName, password, retry + 1)
File "D:\PKUAutoSubmit-main\func.py", line 42, in login
login(driver, userName, password, retry + 1)
File "D:\PKUAutoSubmit-main\func.py", line 17, in login
raise Exception('门户登录失败')
Exception: 门户登录失败

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

1 participant