pyppeteer icon indicating copy to clipboard operation
pyppeteer copied to clipboard

pyppeteer.errors.BrowserError: Unexpectedly chrome process closed with return code: 127

Open ashkov opened this issue 6 years ago • 4 comments

Dev branch

When I run first Readme example script (Example: open web page and take a screenshot), I've got this error:

python3 example.py Traceback (most recent call last): File "example.py", line 11, in <module> asyncio.get_event_loop().run_until_complete(main()) File "/usr/lib/python3.6/asyncio/base_events.py", line 467, in run_until_complete return future.result() File "example.py", line 5, in main browser = launch() File "/usr/local/lib/python3.6/dist-packages/pyppeteer/launcher.py", line 161, in launch return Launcher(options, **kwargs).launch() File "/usr/local/lib/python3.6/dist-packages/pyppeteer/launcher.py", line 127, in launch raise BrowserError('Unexpectedly chrome process closed with ' pyppeteer.errors.BrowserError: Unexpectedly chrome process closed with return code: 127

ashkov avatar Feb 28 '18 14:02 ashkov

Please check chromium can start correctly.

cd ~/.pyppeteer/[revision]/chrome-[arch]
./chrome

If failed to start chromium, troubleshooting of puppeteer may help.

miyakogi avatar Mar 01 '18 00:03 miyakogi

happen for me too

thomaszdxsn avatar Mar 01 '18 02:03 thomaszdxsn

On my Mac, to run Chromium, I did

./Users/ichux/.pyppeteer/local-chromium/533271/chrome-mac/Chromium.app/Contents/MacOS/Chromium

ichux avatar Mar 09 '18 10:03 ichux

I get this error when browser = await launch(options={'devtools': True}) Any one help me, thanks a lot

Wowgreat avatar Jul 26 '19 09:07 Wowgreat