-
Notifications
You must be signed in to change notification settings - Fork 155
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crawl in Sidekiq - Selenium::WebDriver::Error::WebDriverError: not a file: "./bin/chromedriver #48
Comments
I have sort of the same issue when I use
It works when I use |
Also check the config, haven't tried it but maybe changing the default location for the webdriver could help https://github.com/vifreefly/kimuraframework#configuration-options
|
Thanks @kaka-ruto i tried usng Kimurai.configure and worked as shown below
FYI, I am using Archilinux and by default chromedriver is installed in this path '/usr/bin/chromedriver', finally when i ran the code i found another issue related to lsof it tool by default is not installed in Arch so i had to install it from AUR reposittories
Now everything looks good :) |
Awesome @GarnicaJR ! Glad you got it working. |
I try to run crawler via Sidekiq job on my DigitalOcean droplet, but always get fail with error
Selenium::WebDriver::Error::WebDriverError: not a file: "./bin/chromedriver"
, in the same time I can run crawl! via rails console and it works well, also it works well via Sidekiq on my local machine. I defined chromedriver_path in the Kimurai initializer -config.chromedriver_path = Rails.root.join('lib', 'webdrivers', 'chromedriver_83').to_s
Logs of the Sidekiq job which I started also via rails console with
FekoCrawlWorker.perform_async
Sidekiq worker code:
The text was updated successfully, but these errors were encountered: