-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
[Feature] Launch doctor #2745
Comments
Linking #2298 |
Linking #2321 |
In addition to finding missing dependencies, this tool can also check for OS compatibility: eg. Firefox needs Ubuntu 18+. For example: #2738. |
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jul 15, 2020
Missing dependencies is #1 problem with launching on Linux. This patch starts validating browser dependencies before launching browser on Linux. In case of a missing dependency, we will abandon launching with an error that lists all missing libs. References microsoft#2745
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jul 17, 2020
This patch starts putting package names to install on Ubuntu instead of missing dependencies list. The mapping of library to package name is obtained using the following script: https://gist.github.com/aslushnikov/2766200430228c3700537292fccad064 References microsoft#2745
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jul 17, 2020
This patch starts putting package names to install on Ubuntu instead of missing dependencies list. The mapping of library to package name is obtained using the following script: https://gist.github.com/aslushnikov/2766200430228c3700537292fccad064 References microsoft#2745
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jul 17, 2020
This patch starts putting package names to install on Ubuntu instead of missing dependencies list. The mapping of library to package name is obtained using the following script: https://gist.github.com/aslushnikov/2766200430228c3700537292fccad064 References microsoft#2745
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jul 17, 2020
This patch starts putting package names to install on Ubuntu instead of missing dependencies list. The mapping of library to package name is obtained using the following script: https://gist.github.com/aslushnikov/2766200430228c3700537292fccad064 References microsoft#2745
Maybe WebKit on Heroku which crashes is also caused by not having all the dependencies installed: We can try it out once its ready. |
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jul 17, 2020
This patch starts putting package names to install on Ubuntu instead of missing dependencies list. The mapping of library to package name is obtained using the following script: https://gist.github.com/aslushnikov/2766200430228c3700537292fccad064 References microsoft#2745
aslushnikov
added a commit
that referenced
this issue
Jul 17, 2020
…3013) This patch starts putting package names to install on Ubuntu instead of missing dependencies list. The mapping of library to package name is obtained using the following script: https://gist.github.com/aslushnikov/2766200430228c3700537292fccad064 References #2745
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jul 18, 2020
We see a lot of issues with users struggling with Chromium sandboxing. We tried fighting these with Docker configs, but it requires running Docker with special seccomp profile. As a result, majority ends up using `--no-sandbox` anyway. This patch saves our users a hassle and starts using `--no-sandbox` by default. References microsoft#2745
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jul 18, 2020
We use this mapping to provide recommendations on which packages to install on Linux distributions. References microsoft#2745
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jul 24, 2020
This establishes a single naming for all our blobs with browser builds that we upload to CDN: `<browser-name>-<os-version>` - `<browser-name>` is either `firefox` or `webkit`. - `os-version` is the OS that was used to produce the build. References microsoft#2745
aslushnikov
added a commit
that referenced
this issue
Jul 24, 2020
This establishes a single naming for all our blobs with browser builds that we upload to CDN: `<browser-name>-<os-version>` - `<browser-name>` is either `firefox` or `webkit`. - `os-version` is the OS that was used to produce the build. References #2745
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jul 24, 2020
This teaches Launch Doctor to print a command to install missing packages on Ubuntu 20.04. References microsoft#2745
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jul 24, 2020
The original plan was to rnu some checks against libc version the binary is compiled with, but these turn out to be a little complicated: parsing out libc version from both static binary and host system requires text processing, and it's hard to make sure it works reliably across distributions. Instead, let's start with a very particular check against running Firefox on Ubuntu 16.04. References microsoft#2745
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jul 24, 2020
This teaches Launch Doctor to print a command to install missing packages on Ubuntu 20.04. References microsoft#2745
aslushnikov
added a commit
that referenced
this issue
Jul 24, 2020
The original plan was to rnu some checks against libc version the binary is compiled with, but these turn out to be a little complicated: parsing out libc version from both static binary and host system requires text processing, and it's hard to make sure it works reliably across distributions. Instead, let's start with a very particular check against running Firefox on Ubuntu 16.04. References #2745
aslushnikov
added a commit
that referenced
this issue
Jul 24, 2020
This teaches Launch Doctor to print a command to install missing packages on Ubuntu 20.04. References #2745
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jul 27, 2020
Since we were bundling the library with the browsers before, the mapping was missing. References microsoft#2745
aslushnikov
added a commit
that referenced
this issue
Jul 27, 2020
Since we were bundling the library with the browsers before, the mapping was missing. References #2745
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jul 28, 2020
This refactors script to output per-browser package dependencies that could be easily copied over to the Github Action. References microsoft#2745
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jul 28, 2020
This refactors script to output per-browser package dependencies that could be easily copied over to the Github Action. References microsoft#2745
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jul 29, 2020
WebKit WPE assumes `libglesv2.so` is available on the host system and uses `dlopen` to open it. This patch starts using `ldconfig -p` to check if the library exists on the system. References microsoft#2745
aslushnikov
added a commit
that referenced
this issue
Jul 29, 2020
aslushnikov
added a commit
to aslushnikov/playwright
that referenced
this issue
Jul 29, 2020
aslushnikov
added a commit
that referenced
this issue
Jul 29, 2020
This was referenced Jul 29, 2020
aslushnikov
pushed a commit
that referenced
this issue
Jul 30, 2020
Also add solution file so that VS doesn't recreate it every time. #2745
aslushnikov
pushed a commit
that referenced
this issue
Jul 31, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Give us a script that we could use in the target environment that would tell us if Playwright will work there of point to the missing dependencies, libraries or arguments we need to pass into it.
Categorization of linked bugs:
[Bug] Firefox fails with STATUS_DLL_NOT_FOUND on some Win 10 setups #2298 - Firefox is missing a DLL on Windows[BUG]Webkit doesn't launch #2840 - missing media DLL for WebKit[BUG] unable to launch webkit on virtual box windows #2548 - missing media DLL for WebKit[Question] Run playwright from docker container running express server - sandbox issues #2386 - sandboxing issue(sandboxing is addressed)[BUG] Webkit problem with libwebp-1.1.0-1, error while loading shared libraries: libwebp.so.6 #2621 - ArchLinux missing dependencies(we punt it for now)[BUG] Getting Error: Protocol error (Target.setAutoAttach): Target closed. #2663 - sandboxing issue(sandboxing is addressed)[Bug] Firefox fails with STATUS_DLL_NOT_FOUND on some Win 10 setups #2298 - Firefox fails on Ubuntu 16The scope of this bug:
The text was updated successfully, but these errors were encountered: