headless-chromium icon indicating copy to clipboard operation
headless-chromium copied to clipboard

install_native.sh doesn't work on macos

Open raff opened this issue 8 years ago • 5 comments

It assumes options (readlink -f) and tools (apt) that are only available on certain versions of Linux.

I'll submit a pull request, at least for macos, once I have something working.

raff avatar Sep 28 '16 01:09 raff

Where did you get up to @raff? I'd be happy to help.

lox avatar Oct 06 '16 21:10 lox

Well, "gclient sync"

On Thu, Oct 6, 2016 at 2:38 PM, Lachlan Donald [email protected] wrote:

Where did you get up to @raff https://github.com/raff? I'd be happy to help.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/YijinLiu/headless-chromium/issues/1#issuecomment-252096488, or mute the thread https://github.com/notifications/unsubscribe-auth/AADSSOgM0aBge80R7SbUt7Y6ez1e7Cotks5qxWppgaJpZM4KIVvJ .

raff avatar Oct 08 '16 01:10 raff

Ok, let me try again...

I made a couple of changes to the scripts and now "gclient sync" starts but never finishes (well, after a very long time it ends with an error)

I am trying again now...

-- Raffaele

On Fri, Oct 7, 2016 at 6:51 PM, Raffaele Sena [email protected] wrote:

Well, "gclient sync"

On Thu, Oct 6, 2016 at 2:38 PM, Lachlan Donald [email protected] wrote:

Where did you get up to @raff https://github.com/raff? I'd be happy to help.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/YijinLiu/headless-chromium/issues/1#issuecomment-252096488, or mute the thread https://github.com/notifications/unsubscribe-auth/AADSSOgM0aBge80R7SbUt7Y6ez1e7Cotks5qxWppgaJpZM4KIVvJ .

raff avatar Oct 08 '16 01:10 raff

Sorry for slow response. Please note that this project doesn't work yet. Chromium needs to start a zygote process to render HTML pages, which requires the process don't start any thread. Golang by nature is multiple threads. Chrome team have fixed that by https://codereview.chromium.org/2384163002 I haven't tried that yet.

YijinLiu avatar Oct 08 '16 19:10 YijinLiu

No problems @YijinLiu, presumably it will eventually work!

lox avatar Oct 09 '16 01:10 lox