CharlesGillanders / alphaess

This Python library logs in to www.alphaess.com and retrieves data on your Alpha ESS inverter, photovoltaic panels, and battery if you have one.
MIT License
22 stars 9 forks source link

My errors in log #8

Closed DrKTM closed 1 year ago

DrKTM commented 1 year ago

Hi,

could you check my errors in log and try help me what is wrong? Thank you

2022-09-13 09:08:08,919 INFO Start Chrome driver 2022-09-13 09:08:08,920 INFO MQTT Client connected successfully 2022-09-13 09:08:08,922 ERROR /home/openhabian/StorionMonitor/alpha-ess-web_mqtt.py:84: DeprecationWarning: executable_path has been deprecated, please pass in a Service object chromeDriver = webdriver.Chrome(options=chrome_options, executable_path=shutil.which("chromedriver")) 2022-09-13 09:08:10,107 INFO Init AlphaEss monitor 2022-09-13 09:08:10,107 INFO Start AlphaEss monitor 2022-09-13 09:08:39,032 INFO AlphaEssMonitor: login 2022-09-13 09:08:39,115 ERROR Unhandled exception in thread started by 2022-09-13 09:08:39,115 ERROR <function alphaEssThread at 0x7f818cab70> 2022-09-13 09:08:39,116 ERROR Traceback (most recent call last): 2022-09-13 09:08:39,116 ERROR File "/home/openhabian/StorionMonitor/alpha-ess-web_mqtt.py", line 100, in alphaEssThread 2022-09-13 09:08:39,117 ERROR monitor.start(chromeDriver) 2022-09-13 09:08:39,117 ERROR File "/home/openhabian/StorionMonitor/AlphaEssMonitor.py", line 29, in start 2022-09-13 09:08:39,118 ERROR self.driver.find_element(By.CSS_SELECTOR, ".el-form-item:nth-child(2) .el-input__inner").send_keys(self.user_name) 2022-09-13 09:08:39,118 ERROR File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 857, in find_element 2022-09-13 09:08:39,120 ERROR 'value': value})['value'] 2022-09-13 09:08:39,120 ERROR File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 428, in execute 2022-09-13 09:08:39,121 ERROR self.error_handler.check_response(response) 2022-09-13 09:08:39,121 ERROR File "/usr/local/lib/python3.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 243, in check_response 2022-09-13 09:08:39,121 ERROR raise exception_class(message, screen, stacktrace) 2022-09-13 09:08:39,122 ERROR selenium.common.exceptions 2022-09-13 09:08:39,122 ERROR . 2022-09-13 09:08:39,122 ERROR NoSuchElementException 2022-09-13 09:08:39,122 ERROR : 2022-09-13 09:08:39,122 ERROR Message: no such element: Unable to locate element: {"method":"css selector","selector":".el-form-item:nth-child(2) .el-input__inner"} (Session info: headless chrome=92.0.4515.98) Stacktrace:

0 0x00556ca64200

1 0x00556c812f64

2 0x00556c84129c

3 0x00556c86a030

4 0x00556c836c40

5 0x00556ca8e6d8

6 0x00556ca9f5ac

7 0x00556caa04dc

8 0x00556ca8f528

9 0x00556caa0974

10 0x00556ca8628c

11 0x00556cab70e0

12 0x00556cab7244

13 0x00556cacf8c8

14 0x007fb352d7e4 start_thread

15 0x007fb3062adc

2022-09-13 09:09:20,550 INFO You pressed Ctrl+C! 2022-09-13 09:09:20,996 INFO Stopped AlphaEss monitor 2022-09-13 09:09:20,997 INFO Clean exit!