This is the error that I get when running the program, as well as a link to the file that is being run:
Github Repo
Cloud Space
Any assistance would be greatly appreciated!
Collecting usage statistics. To deactivate, set browser.gatherUsageStats to False.
2023-05-21 21:42:06.087 Applicable driver not found; attempting to install with Selenium Manager (Beta)
2023-05-21 21:42:11.980 Applicable driver not found; attempting to install with Selenium Manager (Beta)
2023-05-21 21:42:12.670 Applicable driver not found; attempting to install with Selenium Manager (Beta)
2023-05-21 21:42:15.421 Applicable driver not found; attempting to install with Selenium Manager (Beta)
2023-05-21 21:42:16.897 Uncaught app exception
Traceback (most recent call last):
File "/home/appuser/venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.__dict__)
File "/app/dvar/dvarstream.py", line 305, in <module>
chabadget(dor, opt, session)
File "/app/dvar/dvarstream.py", line 113, in chabadget
driver.get(f"https://www.chabad.org/dailystudy/tanya.asp?date={i}&commentary=false#lt=he")
File "/home/appuser/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 449, in get
self.execute(Command.GET, {"url": url})
File "/home/appuser/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "/home/appuser/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: session deleted because of page crash
from unknown error: cannot determine loading status
from tab crashed
(Session info: headless chrome=113.0.5672.126)
Stacktrace:
#0 0x55e60b2c5133 <unknown>
#1 0x55e60aff97f0 <unknown>
#2 0x55e60afe4d19 <unknown>
#3 0x55e60afe4206 <unknown>
#4 0x55e60afe32e8 <unknown>
#5 0x55e60afe3120 <unknown>
#6 0x55e60afe1b18 <unknown>
#7 0x55e60afe22c2 <unknown>
#8 0x55e60afefe8f <unknown>
#9 0x55e60aff0f32 <unknown>
#10 0x55e60b0037fb <unknown>
#11 0x55e60b00803b <unknown>
#12 0x55e60afe2863 <unknown>
#13 0x55e60b003420 <unknown>
#14 0x55e60b06e3fd <unknown>
#15 0x55e60b0559a3 <unknown>
#16 0x55e60b02a46a <unknown>
#17 0x55e60b02b55e <unknown>
#18 0x55e60b284cae <unknown>
#19 0x55e60b2888fe <unknown>
#20 0x55e60b291f20 <unknown>
#21 0x55e60b289923 <unknown>
#22 0x55e60b25cc0e <unknown>
#23 0x55e60b2acb08 <unknown>
#24 0x55e60b2acc97 <unknown>
#25 0x55e60b2bd113 <unknown>
#26 0x7f6381e13ea7 start_thread