Wednesday, August 28, 2024

Re: Headless mode not working in chromium in 7.5

It's been reported before - seems to be broken on BSDs since the change to "headless new". FreeBSD ticket at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275729

Chromium versions up to 119 and iridium up to 2023.11.119 should work, I'm running a backed out version where I need this to work. Iirc there is something icu-related you may need to fiddle with to get it to build.

-- 
  Sent from a phone, apologies for poor formatting.


On 28 August 2024 22:29:41 vtamara <vtamara@pasosdeJesus.org> wrote:

Hi,

I wanted to inform that the headless mode of chromium 122.0.6261.111 (built for OpenBSD 7.5) is not working.


For example (based on https://developer.chrome.com/blog/headless-chrome?hl=en)  running

chrome --headless --disable-gpu --dump-dom https://www.chromestatus.com/

Will not dump the DOM of the webpage but it will generate several erros and open an empty window as shown in the attached image.

The errors include:

[11350:2141361216:0828/161615.722094:ERROR:bus.cc(407)] Failed to connect to the bus: Could not parse server address: Unknown address type (examples of valid types are "tcp" and on UNIX "unix")

...

350:1642756416:0828/161615.732837:ERROR:policy_logger.cc(157)] :components/enterprise/browser/controller/chrome_browser_cloud_management_controller.cc(161) Cloud management controller initialization aborted as CBCM is not enabled. Please use the `--enable-chrome-browser-cloud-manag
ement` command line flag to enable it if you are not using the official Google Chrome build.

...

WARNING: Kernel has no file descriptor comparison support: Operation not supported by device [11350:1642756416:0828/161616.678824:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.NameHasOwner: object_path= /org/freedesktop/DBus: unknown error type:

...

[11350:1995729472:0828/161616.839627:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/UPower: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files
...
[11350:1642756416:0828/161818.286711:ERROR:service_worker_task_queue.cc(243)] DidStartWorkerFail agoakfejjabomempkjlepdflaleeobhb: 15


Blessings.

-- 

Dios, gracias por tu amor infinito.
--
  Vladimir Támara Patiño.  http://vtamara.pasosdeJesus.org/
  http://www.pasosdejesus.org/dominio_publico_colombia.html

No comments:

Post a Comment