alibaba / alibaba/funcraft

依赖安装没有提示出来

Open
#850 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
931
Forks
128
PR merge metrics
No merged PRs in 30d

Description

```
2020-04-06T02:09:30.724Z 3f24e93c-e00f-4ee8-92a7-621a4b297faa [ERROR] {
"errorMessage": "Browser closed unexpectedly:\n/mnt/auto/pyppeteer/local-chromium/575458/chrome-linux/chrome: error while loading shared libraries: libXtst.so.6: cannot open shared object file: No such file or directory\n",
"errorType": "BrowserError",
"stackTrace": [
[
"File \"/code/index.py\"",
"line 22",
"in handler",
"return loop.run_until_complete(main())"
],
[
"File \"/usr/local/lib/python3.6/asyncio/base_events.py\"",
"line 467",
"in run_until_complete",
"return future.result()"
],
[
"File \"/code/index.py\"",
"line 10",
"in main",
"browser = await launch()"
],
[
"File \"/code/.fun/python/lib/python3.6/site-packages/pyppeteer/launcher.py\"",
"line 311",
"in launch",
"return await Launcher(options, **kwargs).launch()"
],
[
"File \"/code/.fun/python/lib/python3.6/site-packages/pyppeteer/launcher.py\"",
"line 189",
"in launch",
"self.browserWSEndpoint = self._get_ws_endpoint()"
],
[
"File \"/code/.fun/python/lib/python3.6/site-packages/pyppeteer/launcher.py\"",
"line 233",
"in _get_ws_endpoint",
"self.proc.stdout.read().decode()"
]
]
}
FC Invoke End RequestId: 3f24e93c-e00f-4ee8-92a7-621a4b297faa
{
"errorMessage": "Browser closed unexpectedly:\n/mnt/auto/pyppeteer/local-chromium/575458/chrome-linux/chrome: error while loading shared libraries: libXtst.so.6: cannot open shared object file: No such file or directory\n",
"errorType": "BrowserError",
"stackTrace": [
[
"File \"/code/index.py\"",
"line 22",
"in handler",
"return loop.run_until_complete(main())"
],
[
"File \"/usr/local/lib/python3.6/asyncio/base_events.py\"",
"line 467",
"in run_until_complete",
"return future.result()"
],
[
"File \"/code/index.py\"",
"line 10",
"in main",
"browser = await launch()"
],
[
"File \"/code/.fun/python/lib/python3.6/site-packages/pyppeteer/launcher.py\"",
"line 311",
"in launch",
"return await Launcher(options, **kwargs).launch()"
],
[
"File \"/code/.fun/python/lib/python3.6/site-packages/pyppeteer/launcher.py\"",
"line 189",
"in launch",
"self.browserWSEndpoint = self._get_ws_endpoint()"
],
[
"File \"/code/.fun/python/lib/python3.6/site-packages/pyppeteer/launcher.py\"",
"line 233",
"in _get_ws_endpoint",
"self.proc.stdout.read().decode()"
]
]
}

```

```
FC Invoke End RequestId: d58b8b66-d3b5-4f0b-be47-c597eb63afe1
{
"errorMessage": "Browser closed unexpectedly:\n/mnt/auto/pyppeteer/local-chromium/575458/chrome-linux/chrome: error while loading shared libraries: libnss3.so: cannot open shared object file: No such file or directory\n",
"errorType": "BrowserError",
"stackTrace": [
```

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Python handler shown at /code/index.py and inspect the pyppeteer launch path in the referenced launcher.py. Check how the environment installs or reports the missing libXtst.so.6 and libnss3.so dependencies. Done means dependency failures produce a clear installation prompt instead of only the BrowserError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.