-
Notifications
You must be signed in to change notification settings - Fork 3
Description
Hi,
This repo is quite interesting and useful.
But I got an error:
File "site2pdf.py", line 6, in
c.pdf(url, filename = "fintechee.pdf")
File "/usr/local/lib/python3.8/dist-packages/WebSite2PDF/client.py", line 48, in pdf
self.client.start_client(opts)
File "/usr/local/lib/python3.8/dist-packages/WebSite2PDF/driver/driver.py", line 29, in start_client
self.driver = webdriver.Chrome(executable_path = ChromeDriverManager().install(), options = options, service = service)
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/chrome/webdriver.py", line 84, in __init
super().init(
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/chromium/webdriver.py", line 101, in init
self.service.start()
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/common/service.py", line 100, in start
self.assert_process_still_running()
File "/usr/local/lib/python3.8/dist-packages/selenium/webdriver/common/service.py", line 113, in assert_process_still_running
raise WebDriverException(f"Service {self._path} unexpectedly exited. Status code was: {return_code}")
selenium.common.exceptions.WebDriverException: Message: Service /root/.wdm/drivers/chromedriver/linux64/114.0.5735.90/chromedriver unexpectedly exited. Status code was: 127
My source is quite simple:
import WebSite2PDF
url = "https://www.fintechee.com"
c = WebSite2PDF.Client()
c.pdf(url, filename = "fintechee.pdf")
I think WebDriver has been installed by using the default installer.
So, I'm not sure whether it's an issue caused by versions.
How can I solve it?
Many thanks.