Git Product home page Git Product logo

Comments (6)

cobusbernard avatar cobusbernard commented on September 23, 2024 12

@svenagnew: I found the issue to be related to the glibc library that isn't available on Alpine via the main repos. There is https://github.com/sgerrand/alpine-pkg-glibc that you can use to compile with, but for chromedriver, it needs version 2.0, that repo only has 2.22+ available. Ended up removing the chromedriver-helper gem and just using the Alpine supplied version via apk add chromium-chromedriver. Everything is now working (finally).

from chromedriver-helper.

flavorjones avatar flavorjones commented on September 23, 2024 1

I'm interested if anyone thinks this implies any missing behavior in chromedriver-helper? I just merged better handling for platform detection, and there's a discussion at #51 around how the gem should handle unsupported platforms ... which is tangentially related to platforms that already have chromedriver installed.

from chromedriver-helper.

cobusbernard avatar cobusbernard commented on September 23, 2024

We are seeing the same issue without the OS chromedriver installed. When doing ls -al, all appears fine (i.e. executable is present and has x flag):

# ls -al /root/.chromedriver-helper/2.33/linux64/
total 12748
drwxr-xr-x    2 root     root          4096 Dec  5 13:31 .
drwxr-xr-x    3 root     root          4096 Dec  5 13:29 ..
-rwxr-xr-x    1 root     root       8950080 Dec  5 13:31 chromedriver
-rw-r--r--    1 root     root       4091651 Dec  5 13:31 chromedriver_linux64.zip

When trying to run it manually, the following happens:

# /root/.chromedriver-helper/2.33/linux64/chromedriver
sh: /root/.chromedriver-helper/2.33/linux64/chromedriver: not found

from chromedriver-helper.

svenagnew avatar svenagnew commented on September 23, 2024

@cobusbernard - good catch.

I'll remove and install directly as you suggest. Thanks for the heads up.

from chromedriver-helper.

MartinX3 avatar MartinX3 commented on September 23, 2024

You saved my life.
With apk add chromium-chromedriver I've got a working chromedriver in docker/kubernetes with jenkins, after 3 days of research.

from chromedriver-helper.

flavorjones avatar flavorjones commented on September 23, 2024

Closing as it's not clear if there's anything the gem should be doing differently. Happy to re-open if people would like to discuss.

from chromedriver-helper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.