[Question] webKit dependencies available for fedora 36 ?
See original GitHub issueI tried running below simple python code on webKit on OS: fedora version: 36 (latest)
def run(playwright: Playwright) -> None:
browser = playwright.webkit.launch(headless=False)
context = browser.new_context()
page = context.new_page()
page.goto("https://www.amazon.in/")
print(page.title())
# ---------------------
context.close()
browser.close()
with sync_playwright() as playwright:
run(playwright)
Initially I get below error ->
Missing libraries:
libpcre.so.3
libicui18n.so.66
libicuuc.so.66
libjpeg.so.8
libwebp.so.6
libffi.so.7
libx264.so
So I created symblinks for all above mentioned dependencies like libpcre.so.3 -> libpcre.so file present in my system as mentioned in one of the solution. But after that Iβm getting another error ->
Traceback (most recent call last):
File "/home/pbadak/PycharmProjects/pythonProject1/main.py", line 21, in <module>
run(playwright)
File "/home/pbadak/PycharmProjects/pythonProject1/main.py", line 5, in run
browser = playwright.webkit.launch(headless=False)
File "/home/pbadak/PycharmProjects/pythonProject1/venv/lib/python3.7/site-packages/playwright/sync_api/_generated.py", line 11557, in launch
firefoxUserPrefs=mapping.to_impl(firefox_user_prefs),
File "/home/pbadak/PycharmProjects/pythonProject1/venv/lib/python3.7/site-packages/playwright/_impl/_sync_base.py", line 88, in _sync
return task.result()
File "/home/pbadak/PycharmProjects/pythonProject1/venv/lib/python3.7/site-packages/playwright/_impl/_browser_type.py", line 90, in launch
Browser, from_channel(await self._channel.send("launch", params))
File "/home/pbadak/PycharmProjects/pythonProject1/venv/lib/python3.7/site-packages/playwright/_impl/_connection.py", line 39, in send
return await self.inner_send(method, params, False)
File "/home/pbadak/PycharmProjects/pythonProject1/venv/lib/python3.7/site-packages/playwright/_impl/_connection.py", line 63, in inner_send
result = next(iter(done)).result()
playwright._impl._api_types.Error: Browser closed.
==================== Browser output: ====================
<launching> /home/pbadak/.cache/ms-playwright/webkit-1641/pw_run.sh --inspector-pipe --no-startup-window
<launched> pid=207860
[pid=207860][err] /home/pbadak/.cache/ms-playwright/webkit-1641/minibrowser-gtk/bin/MiniBrowser: /lib64/libjpeg.so.8: version `LIBJPEG_8.0' not found (required by /home/pbadak/.cache/ms-playwright/webkit-1641/minibrowser-gtk/lib/libwebkit2gtk-4.0.so.37)
[pid=207860][err] /home/pbadak/.cache/ms-playwright/webkit-1641/minibrowser-gtk/bin/MiniBrowser: /lib64/libffi.so.7: version `LIBFFI_BASE_7.0' not found (required by /home/pbadak/.cache/ms-playwright/webkit-1641/minibrowser-gtk/sys/lib/libgobject-2.0.so.0)
=========================== logs ===========================
<launching> /home/pbadak/.cache/ms-playwright/webkit-1641/pw_run.sh --inspector-pipe --no-startup-window
<launched> pid=207860
[pid=207860][err] /home/pbadak/.cache/ms-playwright/webkit-1641/minibrowser-gtk/bin/MiniBrowser: /lib64/libjpeg.so.8: version `LIBJPEG_8.0' not found (required by /home/pbadak/.cache/ms-playwright/webkit-1641/minibrowser-gtk/lib/libwebkit2gtk-4.0.so.37)
[pid=207860][err] /home/pbadak/.cache/ms-playwright/webkit-1641/minibrowser-gtk/bin/MiniBrowser: /lib64/libffi.so.7: version `LIBFFI_BASE_7.0' not found (required by /home/pbadak/.cache/ms-playwright/webkit-1641/minibrowser-gtk/sys/lib/libgobject-2.0.so.0)
============================================================
Process finished with exit code 1
Is there a workaround to use webkit with playwright on fedora OS?
Issue Analytics
- State:
- Created a year ago
- Reactions:3
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Missing RPM Dependencies - Ask Fedora
Hello Everyone,. When I run the command rmp -Va a massive list of dependencies are missing. I need helping solving this problem. ......
Read more >Solved: Fedora 28 - webkitgtk,xulrunner,mozjs17 problem.
Performing an Install of xulrunner has not been available since Fedora 26. Installing xulrunner with rpm produces this output. error: FailedΒ ...
Read more >RPM broken on Fedora 27 - webkitgtk no longer provided
webkit -sharp is installed so I'm not too sure how to resolve that⦠It is recommended to port from webkit to webkit2, webkit...
Read more >How to install webkitgtk and all its dependencies?
Which is the better way to install latest version of webkitgtk ... the output from your installation attempt (add to your question, please)?....
Read more >Fedora Packages of R Software
The listing below shows all RPMs available for R packages on Fedora Linux 36 (Thirty Six), classified by the R repository that wouldΒ ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Iβm doing separate testing for Arch Linux and I noticed the following with Webkit:
~/Development/Playwright is π¦ v1.0.0 via ξ v16.15.0 took 21s β― npx playwright test --project=webkit
Running 25 tests using 2 workers
Thought I would let you know has playwright support continues to grow.
@nlhkabu No I did not find any alternative package for that even Iβm stuck here .