Skip to content
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

[Bug]: Missing libraries for webkit browsers (libwoff2dec.so) #30538

Closed
adamchemiawppl opened this issue Apr 25, 2024 · 3 comments
Closed

[Bug]: Missing libraries for webkit browsers (libwoff2dec.so) #30538

adamchemiawppl opened this issue Apr 25, 2024 · 3 comments

Comments

@adamchemiawppl
Copy link

Version

1.43.1

Steps to reproduce

  1. Run github action - test on webkit browsers

Expected behavior

I expect test to run

Actual behavior

I get an error while loading shared libraries: libwoff2dec.so.1.0.2: cannot open shared object file: No such file or directory

Additional context

Error: browserType.launch: Target page, context or browser has been closed
Browser logs:

<launching> /home/runner/.cache/ms-playwright/webkit-1992/pw_run.sh --inspector-pipe --headless --no-startup-window
<launched> pid=2054
[pid=2054][err] /home/runner/.cache/ms-playwright/webkit-1992/minibrowser-wpe/bin/MiniBrowser: error while loading shared libraries: libwoff2dec.so.1.0.2: cannot open shared object file: No such file or directory
[pid=2054] <process did exit: exitCode=127, signal=null>
[pid=2054] starting temporary directories cleanup
Call log:
  - <launching> /home/runner/.cache/ms-playwright/webkit-1992/pw_run.sh --inspector-pipe --headless --no-startup-window
  - <launched> pid=2054
  - [pid=2054][err] /home/runner/.cache/ms-playwright/webkit-1992/minibrowser-wpe/bin/MiniBrowser: error while loading shared libraries: libwoff2dec.so.1.0.2: cannot open shared object file: No such file or directory
  - [pid=2054] <process did exit: exitCode=127, signal=null>
  - [pid=2054] starting temporary directories cleanup

Environment

System:
  OS: Linux 6.2 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
  CPU: (8) arm64
Binaries:
  Node: 18.19.0 - ~/.nvm/versions/node/v18.19.0/bin/node
  npm: 10.2.3 - ~/.nvm/versions/node/v18.19.0/bin/npm
npmPackages:
  @playwright/test: 1.43.1 => 1.43.1
@adamchemiawppl adamchemiawppl changed the title [Bug]: [Bug]: Missing libraries for webkit browsers (libwoff2dec.so) Apr 25, 2024
@pavelfeldman
Copy link
Member

You probably forgot to install the native dependencies. Please complete the template in full and provide repro that we can try locally if you think this is a bug in Playwright.

@adamchemiawppl
Copy link
Author

Is it really expected of users of your github action to install dependencies by themselves? I was under the impression the whole point of providing github actions we can use in workflows to be "ready to use" rather than "well, do it yourself".

@adamchemiawppl
Copy link
Author

Plus, you have closed my previous commit in actual github action repository with link to file my bug in general playwright repository. I never claimed it is playwright issue, I claimed it is github action issue - that's why I filed it there. It is slightly frustrating that you personally directed me here just to say "It's not playwright issue, go away" after I took time to fill in all the details you require in the form.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants