Error starting Chromedriver in spider

Posted over 5 years ago by rosenblut

Post a topic
Un Answered
r
rosenblut

Hi.
I did everything like explained here: https://support.scrapinghub.com/support/solutions/articles/22000240310-deploying-custom-docker-image-with-selenium-on-scrapy-cloud

But keep getting

 

selenium.common.exceptions.WebDriverException: Message: invalid argument: 'firstMatch' must contain at least one entry

The error is  happening in the line

  self.driver = webdriver.Chrome(chrome_options=options, executable_path='/usr/bin/chromedriver')


My project and job: https://app.scrapinghub.com/p/398342/8/1/log 

1 Votes


3 Comments

Sorted by
Adriana Anghel

Adriana Anghel posted over 5 years ago Admin

Hi Gabriel,


I converted your topic into a support ticket. As a paying customer, you can open support tickets from your dashboard, under Help - Contact Support. Someone in support team will get back to you on this tomorrow. 

0 Votes

A

Anna Grund posted over 5 years ago

Hei, having exactly the same issue (((

0 Votes

aurish_hammad_hafeez

aurish_hammad_hafeez posted over 5 years ago Admin

The issue occurs mostly when there is a problem with a Dockerfile, there is a tutorial available here its for py2 just follow the steps and it will run smoothly, if you are using py3 just change first 2 lines


Change following

FROM scrapinghub/scrapinghub-stack-scrapy:1.3 RUN apt-get install zip unzip
to

FROM scrapinghub/scrapinghub-stack-scrapy:1.5-py3

RUN apt-get install unzip


0 Votes

Login to post a comment