Stacktrace: GetHandleVerifier [0x00007FF78465A545+20677] simdutf::get_active_implementation [0x00007FF7845B6CF0+491296] Microsoft::Applications::Events::EventProperty::to_string [0x00007FF7848AD75A+1807418] (No symbol) [0x00007FF7843F72AC] (No symbol) [0x00007FF7843F758B] (No symbol) [0x00007FF7844385A7] (No symbol) [0x00007FF78441849F] (No symbol) [0x00007FF7843ED6ED] (No symbol) [0x00007FF784435D61] (No symbol) [0x00007FF7844181C3] (No symbol) [0x00007FF7843ECC36] (No symbol) [0x00007FF7843EC0C4] (No symbol) [0x00007FF7843ECA63] (No symbol) [0x00007FF7844D5BDD] (No symbol) [0x00007FF7844E2042] (No symbol) [0x00007FF7844DAA03] Microsoft::Applications::Events::EventProperty::to_string [0x00007FF7847342AA+262026] simdutf::get_active_implementation [0x00007FF7845C4421+546385] simdutf::get_active_implementation [0x00007FF7845BD6D4+518404] simdutf::get_active_implementation [0x00007FF7845BD819+518729] simdutf::get_active_implementation [0x00007FF7845AF3C6+460278] BaseThreadInitThunk [0x00007FF8124DE8D7+23] RtlUserThreadStart [0x00007FF813F7BF6C+44]这个错误如何解决

时间: 2025-04-03 15:20:05 浏览: 90
### 关于 Stacktrace 错误的解决方案 在处理 Selenium 自动化测试过程中遇到的 `StaleElementReferenceException` 和 `SessionNotCreatedException` 时,通常会涉及堆栈跟踪 (`Stacktrace`) 的分析。以下是针对这些异常的具体解决方法: #### StaleElementReferenceException 解决方案 当页面上的某个元素被重新加载或者 DOM 发生变化后,原先定位到的元素可能已经失效,这会导致抛出 `selenium.common.exceptions.StaleElementReferenceException: Message:` 异常[^1]。 - **解决策略**: 使用显式等待 (Explicit Waits),确保在操作前再次验证目标元素的存在状态。 ```python from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions as EC element = WebDriverWait(driver, 10).until( EC.presence_of_element_located((By.ID, "element_id")) ) ``` #### SessionNotCreatedException 解决方案 如果出现 `org.openqa.selenium.SessionNotCreatedException: session not created: No matching capabilities found` 异常,则可能是由于浏览器驱动程序与实际使用的浏览器版本不兼容引起的[^2]。 - **解决措施**: - 检查当前安装的 Chrome 浏览器版本号。 ```bash google-chrome --version ``` - 下载对应版本的 Chromedriver 并替换旧版文件。可以访问镜像站点获取所需资源[^3]: [http://npm.taobao.org/mirrors/chromedriver](http://npm.taobao.org/mirrors/chromedriver) #### 堆栈跟踪中的其他常见函数解释 对于提到的一些特定函数名称(如 `GetHandleVerifier`, `simdutf`, 或者线程启动相关),它们通常是操作系统底层调用的一部分,在调试阶段可能会显示出来作为辅助信息帮助开发者追踪问题源头。不过一般情况下无需特别关注这些细节部分除非深入研究具体实现逻辑。 --- ### 提供一段代码示例用于设置正确的 WebDriver 版本匹配流程如下所示: ```python import os from selenium import webdriver chrome_version = 'your_chrome_browser_version_here' chromedriver_path = f'./drivers/{chrome_version}/chromedriver' if not os.path.exists(chromedriver_path): raise FileNotFoundError(f"The chromedriver version {chrome_version} does not exist at path {chromedriver_path}") options = webdriver.ChromeOptions() driver = webdriver.Chrome(executable_path=chromedriver_path, options=options) ``` 通过上述方式能够有效减少因环境配置不当引发的各种运行期错误情况发生几率。
阅读全文

相关推荐

PyDev console: starting. Python 3.12.3 (tags/v3.12.3:f6650f9, Apr 9 2024, 14:05:25) [MSC v.1938 64 bit (AMD64)] on win32 runfile('E:\\桌面类东西\\桌面\\zhihu_answers_crawler_edge_beta4.py', wdir='E:\\桌面类东西\\桌面') Traceback (most recent call last): File "D:\PyCharm 2024.1.1\plugins\python\helpers\pydev\pydevconsole.py", line 364, in runcode coro = func() ^^^^^^ File "<input>", line 1, in <module> File "D:\PyCharm 2024.1.1\plugins\python\helpers\pydev\_pydev_bundle\pydev_umd.py", line 197, in runfile pydev_imports.execfile(filename, global_vars, local_vars) # execute the script ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\PyCharm 2024.1.1\plugins\python\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile exec(compile(contents+"\n", file, 'exec'), glob, loc) File "E:\桌面类东西\桌面\zhihu_answers_crawler_edge_beta4.py", line 70, in <module> pagecode = browser.get(http) ^^^^^^^^^^^^^^^^^ File "D:\Pythoninstallment\pythonProject3\.venv\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 454, in get self.execute(Command.GET, {"url": url}) File "D:\Pythoninstallment\pythonProject3\.venv\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 429, in execute self.error_handler.check_response(response) File "D:\Pythoninstallment\pythonProject3\.venv\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 232, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.WebDriverException: Message: tab crashed (Session info: MicrosoftEdge=134.0.3124.72) Stacktrace: GetHandleVerifier [0x00007FF6C464A785+20677] simdutf::get_active_implementation [0x00007FF6C45A6F30+492592] (No symbol) [0x00007FF6C439BD30] (No symbol) [0x00007FF6C438CACD] (No symbol) [0x00007FF6C438ABD9] (No symbol) [0x00007FF6C438B33F] (No symbol) [0x00007FF6C4396EF1] (No symbol) [0x00007FF6C43AA4F2] (No symbol) [0x00007FF6C4425BFD] (No symbol) [0x00007FF6C44081C3] (No symbol) [0x00007FF6C43DCC36] (No symbol) [0x00007FF6C43DC0C4] (No symbol) [0x00007FF6C43DCA63] (No symbol) [0x00007FF6C44C58DD] (No symbol) [0x00007FF6C44D1D42] (No symbol) [0x00007FF6C44CA703] Microsoft::Applications::Events::EventProperty::to_string [0x00007FF6C472478A+262026] simdutf::get_active_implementation [0x00007FF6C45B4661+547681] simdutf::get_active_implementation [0x00007FF6C45AD914+519700] simdutf::get_active_implementation [0x00007FF6C45ADA59+520025] simdutf::get_active_implementation [0x00007FF6C459F606+461574] BaseThreadInitThunk [0x00007FFEF8787374+20] RtlUserThreadStart [0x00007FFEFA59CC91+33] 解释是什么错误,并回答如何修改

F:\工作相关文件\办公软件\IDEA\PythonTestt\.venv\Scripts\python.exe F:\工作相关文件\办公软件\IDEA\PythonTestt\Test4.py Traceback (most recent call last): File "F:\工作相关文件\办公软件\IDEA\PythonTestt\Test4.py", line 34, in <module> driver = webdriver.Edge(options = opt) File "F:\工作相关文件\办公软件\IDEA\PythonTestt\.venv\Lib\site-packages\seleniumwire\webdriver.py", line 280, in __init__ super().__init__(*args, **kwargs) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "F:\工作相关文件\办公软件\IDEA\PythonTestt\.venv\Lib\site-packages\selenium\webdriver\edge\webdriver.py", line 45, in __init__ super().__init__( ~~~~~~~~~~~~~~~~^ browser_name=DesiredCapabilities.EDGE["browserName"], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<3 lines>... keep_alive=keep_alive, ^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "F:\工作相关文件\办公软件\IDEA\PythonTestt\.venv\Lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 66, in __init__ super().__init__(command_executor=executor, options=options) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\工作相关文件\办公软件\IDEA\PythonTestt\.venv\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 250, in __init__ self.start_session(capabilities) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "F:\工作相关文件\办公软件\IDEA\PythonTestt\.venv\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 342, in start_session response = self.execute(Command.NEW_SESSION, caps)["value"] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "F:\工作相关文件\办公软件\IDEA\PythonTestt\.venv\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 429, in execute self.error_handler.check_response(response) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "F:\工作相关文件\办公软件\IDEA\PythonTestt\.venv\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 232, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.SessionNotCreatedException: Message: session not created: probably user data directory is already in use, please specify a unique value for --user-data-dir argument, or don't use --user-data-dir Stacktrace: GetHandleVerifier [0x00007FF66455AA95+20677] simdutf::get_active_implementation [0x00007FF6644B7240+492672] Microsoft::Applications::Events::EventProperty::to_string [0x00007FF6647ADCAA+1807418] (No symbol) [0x00007FF6642E21B2] (No symbol) [0x00007FF6642DFDD7] (No symbol) [0x00007FF664323A99] (No symbol) [0x00007FF6643181C3] (No symbol) [0x00007FF6642ECC36] (No symbol) [0x00007FF6642EC0C4] (No symbol) [0x00007FF6642ECA63] (No symbol) [0x00007FF6643D5B7D] (No symbol) [0x00007FF6643E1FE2] (No symbol) [0x00007FF6643DA9A3] Microsoft::Applications::Events::EventProperty::to_string [0x00007FF6646347FA+262026] simdutf::get_active_implementation [0x00007FF6644C4971+547761] simdutf::get_active_implementation [0x00007FF6644BDC24+519780] simdutf::get_active_implementation [0x00007FF6644BDD69+520105] simdutf::get_active_implementation [0x00007FF6644AF916+461654] BaseThreadInitThunk [0x00007FF8A521E8D7+23] RtlUserThreadStart [0x00007FF8A619BF6C+44] 进程已结束,退出代码为 1

Traceback (most recent call last): File "C:\Users\niuxi\pythonProject\main.py", line 18, in <module> more_btn = WebDriverWait(edge, 10).until(EC.presence_of_element_located((By.CSS_SELECTOR, ".rev-more a"))) File "D:\元气壁纸缓存\lib\site-packages\selenium\webdriver\support\wait.py", line 95, in until raise TimeoutException(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message: Stacktrace: Backtrace: GetHandleVerifier [0x00007FF6E502AEC2+64226] Microsoft::Applications::Events::EventProperty::~EventProperty [0x00007FF6E4FBC082+765362] (No symbol) [0x00007FF6E4D7CC4C] (No symbol) [0x00007FF6E4DC0BDF] (No symbol) [0x00007FF6E4DC0D6A] (No symbol) [0x00007FF6E4DFAC17] (No symbol) [0x00007FF6E4DDF03F] (No symbol) [0x00007FF6E4DB4BB1] (No symbol) [0x00007FF6E4DF7FC1] (No symbol) [0x00007FF6E4DDEDD3] (No symbol) [0x00007FF6E4DB3BEC] (No symbol) [0x00007FF6E4DB2DD6] (No symbol) [0x00007FF6E4DB4364] Microsoft::Applications::Events::ILogManager::DispatchEventBroadcast [0x00007FF6E52087C9+1319033] (No symbol) [0x00007FF6E4E2D2A8] Microsoft::Applications::Events::EventProperty::~EventProperty [0x00007FF6E4F095E1+33553] Microsoft::Applications::Events::EventProperty::~EventProperty [0x00007FF6E4F01A1F+1871] Microsoft::Applications::Events::ILogManager::DispatchEventBroadcast [0x00007FF6E52073E3+1313939] Microsoft::Applications::Events::ILogConfiguration::operator* [0x00007FF6E4FC46B8+20232] Microsoft::Applications::Events::ILogConfiguration::operator* [0x00007FF6E4FC0CD4+5412] Microsoft::Applications::Events::ILogConfiguration::operator* [0x00007FF6E4FC0DCC+5660] Microsoft::Applications::Events::EventProperty::~EventProperty [0x00007FF6E4FB4A81+735153] BaseThreadInitThunk [0x00007FFEC68526AD+29] RtlUserThreadStart [0x00007FFEC802AA68+40]

DeprecationWarning: numpy.distutils is deprecated since NumPy 1.23.0, as a result of the deprecation of distutils itself. It will be removed for Python >= 3.12. For older Python versions it will remain present. It is recommended to use setuptools < 60.0 for those Python versions. For more details, see: https://numpy.org/devdocs/reference/distutils_status_migration.html from numpy.distutils.conv_template import header Traceback (most recent call last): File "G:\PythonProject\sel\bilibiliself.py", line 22, in <module> button = wait.until(EC.element_to_be_clickable((By.CSS_SELECTOR,"input.el-button"))) File "G:\PythonProject\.venv\lib\site-packages\selenium\webdriver\support\wait.py", line 146, in until raise TimeoutException(message, screen, stacktrace) selenium.common.exceptions.TimeoutException: Message: Stacktrace: GetHandleVerifier [0x00007FF7CE25FE65+26629] (No symbol) [0x00007FF7CE1C6030] (No symbol) [0x00007FF7CE05931A] (No symbol) [0x00007FF7CE0AF8E7] (No symbol) [0x00007FF7CE0AFB1C] (No symbol) [0x00007FF7CE1034A7] (No symbol) [0x00007FF7CE0D7AEF] (No symbol) [0x00007FF7CE100169] (No symbol) [0x00007FF7CE0D7883] (No symbol) [0x00007FF7CE0A0550] (No symbol) [0x00007FF7CE0A1803] GetHandleVerifier [0x00007FF7CE5B72DD+3529853] GetHandleVerifier [0x00007FF7CE5CDA42+3621858] GetHandleVerifier [0x00007FF7CE5C24F3+3575443] GetHandleVerifier [0x00007FF7CE32B79A+860474] (No symbol) [0x00007FF7CE1D08AF] (No symbol) [0x00007FF7CE1CCBE4] (No symbol) [0x00007FF7CE1CCD86] (No symbol) [0x00007FF7CE1BC2E9] BaseThreadInitThunk [0x00007FFE90D1E8D7+23] RtlUserThreadStart [0x00007FFE9217BF2C+44]

Traceback (most recent call last): File "C:\Users\fzh13\Desktop\selenium\test.py", line 16, in <module> driver = webdriver.Chrome(service=service, options=options) File "D:\DeepLearning\anaconda\envs\chatelink\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 45, in __init__ super().__init__( File "D:\DeepLearning\anaconda\envs\chatelink\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 66, in __init__ super().__init__(command_executor=executor, options=options) File "D:\DeepLearning\anaconda\envs\chatelink\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 241, in __init__ self.start_session(capabilities) File "D:\DeepLearning\anaconda\envs\chatelink\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 329, in start_session response = self.execute(Command.NEW_SESSION, caps)["value"] File "D:\DeepLearning\anaconda\envs\chatelink\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 384, in execute self.error_handler.check_response(response) File "D:\DeepLearning\anaconda\envs\chatelink\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 232, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: cannot parse capability: goog:chromeOptions from invalid argument: unrecognized chrome option: detach Stacktrace: GetHandleVerifier [0x00007FF6ED71FE15+26629] (No symbol) [0x00007FF6ED685FE0] (No symbol) [0x00007FF6ED51931A] (No symbol) [0x00007FF6ED547F95] (No symbol) [0x00007FF6ED549B18] (No symbol) [0x00007FF6ED543E2A] (No symbol) [0x00007FF6ED5A3D12] (No symbol) [0x00007FF6ED5A3557] (No symbol) [0x00007FF6ED5A5536] (No symbol) [0x00007FF6ED5A52E0] (No symbol) [0x00007FF6ED597883] (No symbol) [0x00007FF6ED560550] (No symbol) [0x00007FF6ED561803] GetHandleVerifier [0x00007FF6EDA7728D+3529853] GetHandleVerifier [0x00007FF6EDA8D9F2+3621858] GetHand

Traceback (most recent call last): File "D:\PythonProject\jjm\week13\selenium\01-基础使用.py", line 20, in <module> browse = webdriver.Chrome(service=Service('chromedriver.exe'),options=options) File "D:\PythonProject\jjm\.venv\Lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 45, in __init__ super().__init__( ~~~~~~~~~~~~~~~~^ browser_name=DesiredCapabilities.CHROME["browserName"], ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<3 lines>... keep_alive=keep_alive, ^^^^^^^^^^^^^^^^^^^^^^ ) ^ File "D:\PythonProject\jjm\.venv\Lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 67, in __init__ super().__init__(command_executor=executor, options=options) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\PythonProject\jjm\.venv\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 260, in __init__ self.start_session(capabilities) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^ File "D:\PythonProject\jjm\.venv\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 357, in start_session response = self.execute(Command.NEW_SESSION, caps)["value"] ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\PythonProject\jjm\.venv\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 448, in execute self.error_handler.check_response(response) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^ File "D:\PythonProject\jjm\.venv\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 232, 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 137 Current browser version is 136.0.7103.114 with binary path C:\Users\不知道\AppData\Local\Google\Chrome\Application\chrome.exe Stacktrace: GetHandleVerifier [0x0x7ff7752f9235+2853861] GetHandleVerifier [0x0x7ff775053af0+79008] (No symbol) [0x0x7ff774e19bda] (No symbol) [0x0x7ff774e5de0f] (No symbol) [0x0x7ff774e5ce5b] (No symbol) [0x0x7ff774e564bd] (No symbol) [0x0x7ff774e52726] (No symbol) [0x0x7ff774ea63be] (No symbol) [0x0x7ff774ea5ad0] (No symbol) [0x0x7ff774e98293] (No symbol) [0x0x7ff774e61061] (No symbol) [0x0x7ff774e61df3] GetHandleVerifier [0x0x7ff77532414d+3029757] GetHandleVerifier [0x0x7ff77531e56d+3006237] GetHandleVerifier [0x0x7ff77533d5f2+3133346] GetHandleVerifier [0x0x7ff77506d9be+185198] GetHandleVerifier [0x0x7ff775074f0f+215231] GetHandleVerifier [0x0x7ff77505c354+113924] GetHandleVerifier [0x0x7ff77505c509+114361] GetHandleVerifier [0x0x7ff775043238+11240] BaseThreadInitThunk [0x0x7ffd09b8259d+29] RtlUserThreadStart [0x0x7ffd0b44af58+40]

解决一下这个问题Traceback (most recent call last): File "D:\pythonchengxu\untitled12\zuoye.py", line 12, in <module> driver = webdriver.Chrome(options=chrome_options) File "D:\Program Files\Python39\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 69, in __init__ super().__init__(DesiredCapabilities.CHROME['browserName'], "goog", File "D:\Program Files\Python39\lib\site-packages\selenium\webdriver\chromium\webdriver.py", line 92, in __init__ super().__init__( File "D:\Program Files\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 270, in __init__ self.start_session(capabilities, browser_profile) File "D:\Program Files\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 363, in start_session response = self.execute(Command.NEW_SESSION, parameters) File "D:\Program Files\Python39\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 428, in execute self.error_handler.check_response(response) File "D:\Program Files\Python39\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 243, 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 112 Current browser version is 114.0.5735.110 with binary path C:\Program Files\Google\Chrome\Application\chrome.exe Stacktrace: Backtrace: GetHandleVerifier [0x00B9DCE3+50899] (No symbol) [0x00B2E111] (No symbol) [0x00A35588] (No symbol) [0x00A5570C] (No symbol) [0x00A51471] (No symbol) [0x00A4F479] (No symbol) [0x00A81FFE] (No symbol) [0x00A81CEC] (No symbol) [0x00A7B6F6] (No symbol) [0x00A57708] (No symbol) [0x00A5886D] GetHandleVerifier [0x00E03EAE+2566302] GetHandleVerifier [0x00E392B1+2784417] GetHandleVerifier [0x00E3327C+2759788] GetHandleVerifier [0x00C35740+672048] (No symbol) [0x00B38872] (No symbol) [0x00B341C8] (No symbol) [0x00B342AB] (No symbol) [0x00B271B7] BaseThreadInitThunk [0x76847D59+25] RtlInitializeExceptionChain [0x77B6B74B+107] RtlClearBits [0x77B6B6CF+191]

File "C:\Users\Administrator\PycharmProjects\pythonProject\2.py", line 73, in <module> main() File "C:\Users\Administrator\PycharmProjects\pythonProject\2.py", line 44, in main driver.get(article_url) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 449, in get self.execute(Command.GET, {"url": url}) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 440, in execute self.error_handler.check_response(response) File "C:\Users\Administrator\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 245, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.InvalidArgumentException: Message: invalid argument (Session info: chrome=114.0.5735.199) Stacktrace: Backtrace: GetHandleVerifier [0x00E4A813+48355] (No symbol) [0x00DDC4B1] (No symbol) [0x00CE5220] (No symbol) [0x00CD88E2] (No symbol) [0x00CD7138] (No symbol) [0x00CD7688] (No symbol) [0x00CE6B52] (No symbol) [0x00D3CF01] (No symbol) [0x00D2A73C] (No symbol) [0x00D3C922] (No symbol) [0x00D2A536] (No symbol) [0x00D082DC] (No symbol) [0x00D093DD] GetHandleVerifier [0x010AAABD+2539405] GetHandleVerifier [0x010EA78F+2800735] GetHandleVerifier [0x010E456C+2775612] GetHandleVerifier [0x00ED51E0+616112] (No symbol) [0x00DE5F8C] (No symbol) [0x00DE2328] (No symbol) [0x00DE240B] (No symbol) [0x00DD4FF7] BaseThreadInitThunk [0x7670F989+25] RtlGetAppContainerNamedObjectPath [0x773C7084+228] RtlGetAppContainerNamedObjectPath [0x773C7054+180]

Traceback (most recent call last): File "D:\pythonsthl\flaskProject\SeleniumTest\20Test1.py", line 14, in <module> search_input = driver.find_element("ID","from_item_account") File "D:\pythonsthl\flaskProject\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 740, in find_element return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"] File "D:\pythonsthl\flaskProject\venv\lib\site-packages\selenium\webdriver\remote\webdriver.py", line 346, in execute self.error_handler.check_response(response) File "D:\pythonsthl\flaskProject\venv\lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 245, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.InvalidArgumentException: Message: invalid argument: invalid locator (Session info: chrome=115.0.5790.99) Stacktrace: Backtrace: GetHandleVerifier [0x00D8A813+48355] (No symbol) [0x00D1C4B1] (No symbol) [0x00C25358] (No symbol) [0x00C50A9F] (No symbol) [0x00C50B3B] (No symbol) [0x00C7E232] (No symbol) [0x00C6A784] (No symbol) [0x00C7C922] (No symbol) [0x00C6A536] (No symbol) [0x00C482DC] (No symbol) [0x00C493DD] GetHandleVerifier [0x00FEAABD+2539405] GetHandleVerifier [0x0102A78F+2800735] GetHandleVerifier [0x0102456C+2775612] GetHandleVerifier [0x00E151E0+616112] (No symbol) [0x00D25F8C] (No symbol) [0x00D22328] (No symbol) [0x00D2240B] (No symbol) [0x00D14FF7] BaseThreadInitThunk [0x75A77D59+25] RtlInitializeExceptionChain [0x76EDB79B+107] RtlClearBits [0x76EDB71F+191]

大家在看

recommend-type

PT650D称重显示器在配料秤中的应用

pt650D是珠海志美公司生产,采用最新的如下: Deha—si鲫a芯片生产,以达到高精度及快速的转换 效果,具有三路标准光耦输入口,峰,谷值保持功 能,高低限位有滞后开关功能。PT650D采用模块化 设计可根据需要选择高低限位,Rs232,Rs:485通讯 功能,单一物料配料软件等多项模块功能进行组合。 放大调校可以通过输入间距电压的方式进行
recommend-type

一类具有连续分布时滞的分布参数系统的反馈控制

针对一类同时具有变时滞和连续分布时滞的分布参数系统的状态反馈控制问题进行了研究, 通过选择适当的Lyapunov-Krasovskii 函数, 采用线性矩阵不等式(LMI) 方法, 得到了变时滞闭环系统渐近稳定的一个充分条件. 设计了无记忆的状态反馈控制器, 使得在一个正定矩阵存在的条件下, 闭环系统是可镇定的, 从而得到了常时滞分布参数系统可镇定的一个推论. 最后, 通过一个数值仿真例子说明了所给出设计方法的可行性和有效性.
recommend-type

BCM 56XX SDK 编程手册

Broadcom SDK 5.6 平台指南,关于SDK编译方法、步骤的编程手册,是学习了解Broadcom SDK的很有用的参考手册
recommend-type

C# Socket 实现的淘宝秒杀器(抢拍器)

C# Socket 实现的淘宝秒杀器(抢拍器)
recommend-type

115网盘 v4.0.0.55 官方正式免费版.zip

115网盘,云端存取,文件同步只在弹指间。 云端存取:随时随地访问115的所有文件,上传、下载、分享、文件操作,一个不能少 断点续传:上传下载支持断点续传 即拍即传:拍照、录音、录像,把随手拍摄记录的文件保存到网盘 在线阅读:保存在网盘的图片、音乐、视频、文档等可以直接调用手机内的程序来浏览阅读。

最新推荐

recommend-type

基于TCP协议和自定义协议头的TCP多人在线电子词典

基于TCP协议和自定义协议头的TCP多人在线电子词典
recommend-type

1_不会不好工作.zip

1_不会不好工作.zip
recommend-type

IBMPOWER7-服务器CPU技术规格.docx

IBMPOWER7-服务器CPU技术规格.docx
recommend-type

springboot351同城上门喂遛宠物系统--论文pf.zip

java+vue+Springboot源代码+数据库+配套文档+教程
recommend-type

【门店销售数据(原表)】

用于练习使用pandas的Excel表
recommend-type

满屏玫瑰花开的奇妙体验

根据给定文件信息,我们可以提取以下知识点: ### 标题知识点: 标题“运行后会有玫瑰出现。。。。。。”直接指向了一个可执行文件(.exe)被运行后会出现的效果——屏幕上出现满屏的玫瑰花。这里的重点在于理解这个标题所隐含的程序行为。首先,标题表明了一个执行文件的存在,而该执行文件被设计为在运行时展示出特定的视觉效果,即满屏的玫瑰花。这种效果通常需要图形用户界面(GUI)编程来实现,可能涉及到Windows编程或者图形处理技术。标题中还包含了省略号,这可能暗示了程序运行后的视觉效果充满了屏幕,或者是有某种诗意或情感的表达。 ### 描述知识点: 描述内容“运行后会有玫瑰出现,满屏的玫瑰花。。。。。。。。。。。。。。。。。”进一步强调了程序运行后的视觉效果,并且在描述中重复了“玫瑰”一词多次,这种修辞手法可能用于强调程序展示玫瑰花的效果是其核心功能,或者是为了吸引用户的注意。此外,描述中未提及程序的具体技术细节或实现方式,而是更偏向于描述运行后用户所看到的结果。描述中出现大量的省略号可能表明对效果的期待或赞叹。 ### 标签知识点: 标签“运行后会有玫瑰出现”与标题内容几乎相同,这表明标签的设定者意图让标签直接反映程序运行后的预期效果。标签通常用于搜索引擎优化(SEO)、文件分类或快速识别文件内容,因此这里的标签简洁明了地传达了程序运行后视觉上的主要特征。 ### 压缩包子文件的文件名称列表知识点: 文件名称“不要激动哦!.exe”显示出这个可执行文件的名称,结合前面的标题和描述,可以推断文件名称在语境上带有一定的轻松、幽默或亲切的语气。在中文语境中,“不要激动哦”是一种安慰或提醒对方不要太紧张或兴奋的表达方式。文件名称通常应该描述性地反映其功能,但这里的名称似乎更偏向于与用户产生情感上的交流。 ### 综合知识点: 从上述信息综合来看,这个执行文件可能是一个简单的应用程序,主要功能是当用户运行该程序时,会在屏幕上显示出满屏的玫瑰花。这可能是一个浪漫的程序,用于展示爱心或者在特定的节日(如情人节)作为礼物。考虑到程序的非功能性名称和描述性标题,它也可能是一个幽默的小工具,用于给用户带来一点惊喜或乐趣。 在技术实现层面,这个程序可能是用某种编程语言编写的,比如C++、C#、Python等,利用图形库(例如Windows Forms、WPF、Qt等)来绘制GUI界面,并在屏幕上展示玫瑰图像。图像可能以某种格式(如JPEG、BMP等)存储在程序资源中,或者实时生成。程序的运行逻辑可能非常简单,无须用户交互,只在启动时自动展示效果,然后自行关闭或者等待用户手动终止。 考虑到文件的命名和描述,可以推测出程序可能设计得较为轻巧,不需要复杂的安装过程,可能直接作为可执行文件(.exe)分发给用户。用户在获取文件后,只需双击该文件即可启动程序,欣赏到满屏的玫瑰效果。从营销的角度看,这样的程序可能通过社交媒体、论坛或邮件列表等渠道进行推广,以快速吸引潜在用户的注意,并引起他们的好奇心。 总的来说,虽然给定的信息不涉及具体的技术细节,但从描述中可以看出,这是一个富有创意的程序设计案例,它通过简单直接的方式向用户提供视觉上的享受,展示了编程不仅仅是一项技术活动,还可以是一种艺术创作和情感表达的方式。
recommend-type

【RESTful架构从入门到精通】:掌握RESTful API设计的最佳实践与技巧

# 1. RESTful架构的理论基础 RESTful架构是一种为网络应用提供设计的软件架构风格,它简化了分布式系统的通信复杂性,使其更易于理解和使用。REST代表“表现层状态转换”(REpresentational State Transfer),核心原则基于HTTP协议的特性。RESTful系统通常使用HTTP协议的GET、PO
recommend-type

strstrc not found

<think>嗯,用户遇到了一个编译错误提示"strstrcnotfound",看起来是个不太常见的函数引用问题。从用户提供的站内引用来看,ta应该具备一定的技术背景,之前处理过tc命令、Vivado环境变量和HTTPS证书问题,但这次是新的编译环境问题。用户没有提供完整代码,所以需要引导ta给出更多上下文。根据经验,"strstrc"这个函数名很可疑,既不像标准C库函数(标准库只有strstr),也不像常见扩展。可能是用户误写了函数名,或是特定平台的私有API?也可能是代码依赖了某个特殊库但没正确链接。注意到用户之前的提问记录涉及Linux环境(RHEL8)和开发工具(Vivado),这次很
recommend-type

BCGControlBar专业版7.20压缩包解压指南

根据给定的信息,我们可以推断出涉及的知识点主要包括BCGControlBar库的特性、版本信息以及软件包的解压和安装过程。BCGControlBar是一个在Windows平台上广泛使用的设计UI组件库。我们下面将详细介绍。 ### BCGControlBar库 BCGControlBar是一个功能强大的库,用于开发具有丰富用户界面的应用程序。它包含了各种用户界面组件,如工具栏、菜单、停靠窗口、状态栏、页签控件、向导以及多种报表控件等。BCGControlBar的设计哲学强调高度可定制性、易用性以及对最新界面设计趋势的适应性。 #### 主要特性: - **高度可定制:** 用户可以对控件进行细微的调整,包括样式、颜色、字体等,以符合应用程序的整体设计。 - **丰富的控件集:** 提供了超过100种不同的MFC扩展控件,如各种形式的树视图、列表视图、编辑框、下拉列表、进度条、滑块以及日期和时间选择器等。 - **国际化支持:** 支持多语言界面,使得BCGControlBar库所构建的应用程序能够容易地被翻译成不同的语言版本。 - **兼容性:** 与多种编程环境和开发工具兼容,如Microsoft Visual Studio,以及与MFC、.NET等技术的集成。 - **多种皮肤:** 提供多种预设的皮肤风格,可以快速切换应用程序的外观。 - **增强功能:** 除了基础控件,还提供了各种高级功能,例如Office风格的菜单栏、工具栏以及各种高级报表控件。 ### 版本信息 给定文件名表明所涉及的版本是BCGControlBar.Professional.Edition.v7.20。这意味着该软件库处于专业版的第7.20版本。软件版本的升级通常涉及以下方面: - **新功能:** 每个新版本都可能包含一些新的用户界面元素和功能,以提高用户生产力和应用性能。 - **性能改进:** 性能通常会得到优化,包括对已有控件的加载速度、内存使用和响应时间的改善。 - **修复错误:** 版本升级往往伴随着对之前版本中发现的bug的修复。 - **改进的API:** 库的API接口可能会经历改进,使其更加直观和容易使用。 - **支持更新:** 软件包可能增加对最新操作系统版本的兼容性,如Windows的新版本。 ### 安装和解压过程 文件名称列表中包括了"setup.exe",这通常表示一个可执行的安装程序,用于将BCGControlBar.Professional.Edition.v7.20安装到目标系统上。安装步骤一般会包含以下几点: 1. **解压缩文件:** 如果该压缩包还没有被解压,首先要进行解压。通常会有一个专门的解压工具或者在Windows资源管理器中通过右键点击压缩文件选择“解压缩到...”来实现。 2. **运行安装程序:** 找到解压后生成的文件夹,双击"setup.exe"或通过命令行方式运行它。 3. **软件许可:** 安装程序通常会首先显示软件许可协议,用户需要接受条款才能继续安装。 4. **选择安装选项:** 安装程序会提供不同的安装选项,包括安装位置、组件选择等。 5. **开始安装:** 用户确认安装选项后,点击安装开始按钮,软件会自动进行安装过程。 6. **安装完成:** 安装结束后,用户可能需要重启计算机,或者设置环境变量,以确保BCGControlBar库能够被正确地集成到开发环境或者应用程序中。 "说明.txt"和"SN.txt"文件通常包含该版本的详细说明和软件序列号。在安装和使用前,用户应仔细阅读这些文档,确保他们了解产品的安装和使用细节。 以上信息是对给定文件信息的详细知识点分析。
recommend-type

独家披露:SAP PP性能优化的5个秘诀提升生产计划效率

# 摘要 本文旨在探讨SAP PP模块的性能优化方法,重点讨论了基础架构、模块特有设置和实践中的性能测试。首先介绍了SAP PP性能优化的基本概念及其在企业管理中的重要性。接着,深入探讨了基础架构优化策略,包括服务器硬件评估、数据库管理和SAP系统配置的调整。第三章专注于SAP PP模块特有的优化方法,如计划参数的精确配置、集成流程优化