-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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
Chromedriver can’t find libdbus and crashes #139547
Labels
0.kind: bug
Something is broken
Comments
I also encountered this issue. I couldn't come up with a workaround so switched my nix-shell from unstable back to 21.05. |
12 tasks
The workaround I’ve settled on is to manually set LD_LIBRARY_PATH="$(nix-build '<nixos>' -A dbus.lib --no-out-link)/lib" chromedriver --version |
SuperSandro2000
added a commit
that referenced
this issue
Sep 28, 2021
…#139723) * chromedriver: add dbus to libraries It is apparently required since version 94. Fixes issue #139547 * chromedriver: remove extraneous LD_LIBRARY_PATH in wrapProgram wrapProgram already prepends passed value to the specified environment variable; no need to specify it explicitly. * chromedriver: add a package test checking the reported version * Update pkgs/development/tools/selenium/chromedriver/default.nix Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Artturin
pushed a commit
that referenced
this issue
Sep 29, 2021
… LD_LIBRARY_PATH wrapping (#139838) * chromedriver: add dbus to libraries It is apparently required since version 94. Fixes issue #139547 (cherry picked from commit 433b2bc) * chromedriver: remove extraneous LD_LIBRARY_PATH in wrapProgram wrapProgram already prepends passed value to the specified environment variable; no need to specify it explicitly. (cherry picked from commit 38ddfe7) * chromedriver: add a package test checking the reported version (cherry picked from commit 1106f4b) * Update pkgs/development/tools/selenium/chromedriver/default.nix (cherry picked from commit 852612e) Co-authored-by: Ivan Timokhin <nixpkgs@ivan.timokhin.name> Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
chromedriver --version
crashes with the following message(on master, nixpkgs-unstable, nixos-unstable and nixos-21.05)
Steps To Reproduce
Steps to reproduce the behavior:
nix-shell --pure -p chromedriver --command 'chromedriver --version'
Expected behavior
Chromedriver should report its version.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
git bisect
points towards commit 8d8b451 (so I guess new version added dependency on dbus)Notify maintainers
@cillianderoiste @marsam @primeos
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Maintainer information:
The text was updated successfully, but these errors were encountered: