You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since it's not entirely obvious, and really just an artifact of running chrome, it would be nice if the readme would indicate that x11 libs must be present else chrome will not run.
I only found this out by enabling stdout/stderr when chrome is spawned which showed error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
Additionally, after fixing this, the following other libs are missing libXcomposite.so.1, libXdamage.so.1, libXi.so.6, libXtst.so.6, libXcursor.so.1, libXss.so.1, libXrandr.so.2, libatk-1.0.so.0, libatk-bridge-2.0.so.0, libgtk-3-0, and libnss3.so are also required.
The symptom otherwise was a 30 second timeout with the following error.
File "/usr/local/lib/python3.8/dist-packages/pyppeteer/launcher.py", line 307, in launch
return await Launcher(options, **kwargs).launch()
File "/usr/local/lib/python3.8/dist-packages/pyppeteer/launcher.py", line 168, in launch
self.browserWSEndpoint = get_ws_endpoint(self.url)
File "/usr/local/lib/python3.8/dist-packages/pyppeteer/launcher.py", line 227, in get_ws_endpoint
raise BrowserError('Browser closed unexpectedly:\n')
pyppeteer.errors.BrowserError: Browser closed unexpectedly:
On debian, one must install the libx11-xcb1, libxcursor1, libxdamage1, libxi6, libxtst6, libxcomposite1, libxss1,libxrandr2, libatk1.0-0, libatk-bridge2.0-0, libgtk-3.so.0, libgtk-3-0, and libnss3 packages. I was running in a container which typically doesn't typically have x11 libs present.
Or at least it's here in an issue that can be found later on.
Cheers
The text was updated successfully, but these errors were encountered:
Since it's not entirely obvious, and really just an artifact of running chrome, it would be nice if the readme would indicate that x11 libs must be present else chrome will not run.
I only found this out by enabling stdout/stderr when chrome is spawned which showed
error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
Additionally, after fixing this, the following other libs are missing
libXcomposite.so.1
,libXdamage.so.1
,libXi.so.6
,libXtst.so.6
,libXcursor.so.1
,libXss.so.1
,libXrandr.so.2
,libatk-1.0.so.0
,libatk-bridge-2.0.so.0
,libgtk-3-0
, andlibnss3.so
are also required.The symptom otherwise was a 30 second timeout with the following error.
On debian, one must install the
libx11-xcb1
,libxcursor1
,libxdamage1
,libxi6
,libxtst6
,libxcomposite1
,libxss1
,libxrandr2
,libatk1.0-0
,libatk-bridge2.0-0
,libgtk-3.so.0
,libgtk-3-0
, andlibnss3
packages. I was running in a container which typically doesn't typically have x11 libs present.Or at least it's here in an issue that can be found later on.
Cheers
The text was updated successfully, but these errors were encountered: