Giter Site home page Giter Site logo

Comments (3)

BlueFisher avatar BlueFisher commented on August 17, 2024

将main.py中第23行设置为 True
将main.py中第24行设置为你想开始补报的日期

from shu-selfreport.

ghy861918226 avatar ghy861918226 commented on August 17, 2024

按照您的建议,我改过了True+填报日期,但是这一步不知道哪里有问题,麻烦帮忙看看。
Run python -u main.py
python -u main.py
shell: /usr/bin/bash -e {0}
env:
pythonLocation: /opt/hostedtoolcache/Python/3.8.12/x64
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.8.12/x64/lib
ovpn_username: ***
ovpn_password: ***
users: ***
=====0338=====
Traceback (most recent call last):
File "main.py", line 321, in
browser = webdriver.Chrome(options=chrome_options, service=s)
File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/selenium/webdriver/chrome/webdriver.py", line 70, in init
super(WebDriver, self).init(DesiredCapabilities.CHROME['browserName'], "goog",
File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/selenium/webdriver/chromium/webdriver.py", line 93, in init
RemoteWebDriver.init(
File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 269, in init
self.start_session(capabilities, browser_profile)
File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 360, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/selenium/webdriver/remote/webdriver.py", line 425, in execute
self.error_handler.check_response(response)
File "/opt/hostedtoolcache/Python/3.8.12/x64/lib/python3.8/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.SessionNotCreatedException: Message: session not created: This version of ChromeDriver only supports Chrome version 99
Current browser version is 98.0.4758.102 with binary path /usr/bin/google-chrome
Stacktrace:
#0 0x55d32fb607d3
#1 0x55d32f8bc688
#2 0x55d32f8e36a0
#3 0x55d32f8dee36
#4 0x55d32f8db68f
#5 0x55d32f916355
#6 0x55d32f9105a3
#7 0x55d32f8e5ddc
#8 0x55d32f8e6de5
#9 0x55d32fb9149d
#10 0x55d32fbaa60c
#11 0x55d32fb93205
#12 0x55d32fbaaee5
#13 0x55d32fb87070
#14 0x55d32fbc6488
#15 0x55d32fbc660c
#16 0x55d32fbdfc6d
#17 0x7f8c026bc609

Error: Process completed with exit code 1.

from shu-selfreport.

BlueFisher avatar BlueFisher commented on August 17, 2024

需要更新一下最新的 2546d6a 因为ChromeDriver版本过期了

from shu-selfreport.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.