Comments (8)
from clock-in-gzhu.
from clock-in-gzhu.
from clock-in-gzhu.
脚本运行报错这个
Run python scraper.py
====== WebDriver manager ======
Current google-chrome version is 98.0.4758
Get LATEST chromedriver version for 98.0.4758 google-chrome
There is no [linux64] chromedriver for browser 98.0.4758 in cache
Trying to download new driver from https://chromedriver.storage.googleapis.com/98.0.4758.102/chromedriver_linux64.zip
Driver has been saved in cache [/home/runner/.wdm/drivers/chromedriver/linux64/98.0.4758.102]
登录融合门户成功!
Traceback (most recent call last):
File "/home/runner/work/gzhu_clockIN/gzhu_clockIN/scraper.py", line 231, in
wd_login(xuhao, mima)
File "/home/runner/work/gzhu_clockIN/gzhu_clockIN/scraper.py", line 121, in wd_login
driver.get('https://yqtb.gzhu.edu.cn/infoplus/form/XNYQSB/start')
File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 437, in get
self.execute(Command.GET, {'url': url})
File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 425, in execute
self.error_handler.check_response(response)
File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: -0.003
(Session info: headless chrome=98.0.4758.102)
Stacktrace:
#0 0x564ca6642b33
#1 0x564ca610b6d8
#2 0x564ca60f6f81
#3 0x564ca60f5ccf
#4 0x564ca60f611c
#5 0x564ca61040d0
#6 0x564ca6104ca2
#7 0x564ca611274d
#8 0x564ca611584a
#9 0x564ca60f6546
#10 0x564ca6112454
#11 0x564ca61721da
#12 0x564ca615ef53
#13 0x564ca6134a0a
#14 0x564ca6135ad5
#15 0x564ca66742fd
#16 0x564ca668d4bb
#17 0x564ca66760d5
#18 0x564ca668e145
#19 0x564ca6669aaf
#20 0x564ca66aaba8
#21 0x564ca66aad28
#22 0x564ca66c548d
#23 0x7f5564442609
Error: Process completed with exit code 1.
from clock-in-gzhu.
谢谢你的反馈!
错误信息是说的请求 https://yqtb.gzhu.edu.cn/infoplus/form/XNYQSB/start 这个网址超时了。
我之前少写了一个异常处理,现在已经加上了。
如果你没有其它问题的话,我将会关闭这个Issue
from clock-in-gzhu.
from clock-in-gzhu.
请问你是说在我修改了脚本后,你现在运行这个脚本仍然失败吗?你是否更新了项目?
from clock-in-gzhu.
from clock-in-gzhu.
Related Issues (10)
- 哥,打卡好像又坏了 HOT 1
- 哥,你的自述文件是不是删了呀? HOT 3
- 请问test和scrapy哪个是打卡脚本? HOT 1
- schedule时间有问题 HOT 2
- 今天怎么报错了呀哥们 HOT 4
- 报错三天咯,求大佬修复😘 HOT 6
- 同求修复,删了后重新fork也会报错😊 HOT 8
- 不知道为啥。。。又报错了 HOT 3
- 建议 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clock-in-gzhu.