Open benchmark dataset of COVID-19 related ultrasound imaging data, curated and systematically validated — Ensemble de données de référence ouvert d'imagerie échographique liées à la COVID-19, organisé et systématiquement validé
AttributeError: 'str' object has no attribute 'capabilities'
I tried to ommit the chromedriver and I got this error:
...Downloading ButterflyNetwork zip file...
SessionNotCreatedException Traceback (most recent call last)
in <cell line: 6>()
4
5 # simulatting button click to download the zip file
----> 6 browser = webdriver.Chrome()
7 browser.get(butterfly_url)
8
5 frames
/usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/errorhandler.py in check_response(self, response)
227 alert_text = value["alert"].get("text")
228 raise exception_class(message, screen, stacktrace, alert_text) # type: ignore[call-arg] # mypy is not smart enough here
--> 229 raise exception_class(message, screen, stacktrace)
SessionNotCreatedException: Message: session not created: Chrome failed to start: exited normally.
(session not created: DevToolsActivePort file doesn't exist)
(The process started from chrome location /root/.cache/selenium/chrome/linux64/125.0.6422.141/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.)
Stacktrace:
0 0x578a4b075e3a
1 0x578a4ad5f45c
2 0x578a4ad946f8
3 0x578a4ad9063b
4 0x578a4addab19
5 0x578a4adce253
6 0x578a4ad9e1c7
7 0x578a4ad9eb3e
8 0x578a4b03c27b
9 0x578a4b040327
10 0x578a4b028dae
11 0x578a4b040df2
12 0x578a4b00d74f
13 0x578a4b065128
14 0x578a4b0652fb
15 0x578a4b074f6c
16 0x7ae0fe1e3ac3
I think that this is because the butterfly links are obsolote, and the versions of the libraries isnt the same.
Can you fix it, please?
I had this message when I tried to run the code: ...Downloading ButterflyNetwork zip file...
AttributeError Traceback (most recent call last) in <cell line: 6>()
4
5 # simulatting button click to download the zip file
----> 6 browser = webdriver.Chrome(chromedriver) #, options=chrome_options)
7 browser.get(butterfly_url)
8
3 frames /usr/local/lib/python3.10/dist-packages/selenium/webdriver/common/driver_finder.py in _binary_paths(self) 54 return self._paths 55 ---> 56 browser = self._options.capabilities["browserName"] 57 try: 58 path = self._service.path
AttributeError: 'str' object has no attribute 'capabilities'
I tried to ommit the chromedriver and I got this error:
...Downloading ButterflyNetwork zip file...
SessionNotCreatedException Traceback (most recent call last) in <cell line: 6>()
4
5 # simulatting button click to download the zip file
----> 6 browser = webdriver.Chrome()
7 browser.get(butterfly_url)
8
5 frames /usr/local/lib/python3.10/dist-packages/selenium/webdriver/remote/errorhandler.py in check_response(self, response) 227 alert_text = value["alert"].get("text") 228 raise exception_class(message, screen, stacktrace, alert_text) # type: ignore[call-arg] # mypy is not smart enough here --> 229 raise exception_class(message, screen, stacktrace)
SessionNotCreatedException: Message: session not created: Chrome failed to start: exited normally. (session not created: DevToolsActivePort file doesn't exist) (The process started from chrome location /root/.cache/selenium/chrome/linux64/125.0.6422.141/chrome is no longer running, so ChromeDriver is assuming that Chrome has crashed.) Stacktrace:
0 0x578a4b075e3a
1 0x578a4ad5f45c
2 0x578a4ad946f8
3 0x578a4ad9063b
4 0x578a4addab19
5 0x578a4adce253
6 0x578a4ad9e1c7
7 0x578a4ad9eb3e
8 0x578a4b03c27b
9 0x578a4b040327
10 0x578a4b028dae
11 0x578a4b040df2
12 0x578a4b00d74f
13 0x578a4b065128
14 0x578a4b0652fb
15 0x578a4b074f6c
16 0x7ae0fe1e3ac3
I think that this is because the butterfly links are obsolote, and the versions of the libraries isnt the same. Can you fix it, please?