rongchenlin / BiliBili-Lucky-Draw

B站抽奖转发——薅羊毛脚本 : 一个小脚本能够帮助你去看看B站上面今天有哪些Up有抽奖活动,然后还能帮助你自动进行抽奖(转发动态+关注),毕竟抽奖总得试试吗,万一中奖了呢
GNU General Public License v3.0
353 stars 46 forks source link

项目启动后,扫描数量是0条,Message: invalid argument: 'value' must be a string #30

Open Abs985 opened 8 months ago

Abs985 commented 8 months ago

图片

Abs985 commented 8 months ago

2024_02_21_10_err.log 最后面那一部分

Traceback (most recent call last): File "/app/service/search_draw_dynamic_service/SearchDynamicByUps.py", line 127, in searchFromSmile base_link_element = ElementUtil.get_element_by_xpath(bro, chains, pathOne) File "/app/utils/webdriver_util.py", line 21, in get_element_by_xpath return WebDriverWait(bro, 10).until(EC.element_to_be_clickable((By.XPATH, path))) File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 78, in until value = method(self._driver) File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 326, in _predicate target = driver.find_element(*target) # grab element at locator File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 1238, in find_element return self.execute(Command.FIND_ELEMENT, { File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 418, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 243, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: 'value' must be a string (Session info: chrome=96.0.4664.110) Stacktrace:

0 0x55b870ee7ee3

1 0x55b8709b5608

2 0x55b8709eb567

3 0x55b8709ebc61

4 0x55b870a1e714

5 0x55b870a0929d

6 0x55b870a1c3bc

7 0x55b870a09163

8 0x55b8709debfc

9 0x55b8709dfc05

10 0x55b870f19baa

11 0x55b870f2f651

12 0x55b870f1ab05

13 0x55b870f30a68

14 0x55b870f0f05f

15 0x55b870f4b818

16 0x55b870f4b998

17 0x55b870f66eed

18 0x7fa90c7ac609