简体   繁体   中英

Accessibility tree update queue is too big, updates have been paused

How to use brave to automate printing html to pdf?

When I use the above method to print a very large webpage to pdf, I get the following warning. Will it affect the correctness of the output in anyway? (Since the input and output are large, I can not visually see what is wrong. So I ask here in case anybody who is familiar with how the browser works may comment.)

[1221/201211.505018:INFO:ax_object_cache_impl.cc(1915)] Accessibility tree update queue is too big, updates have been paused

hello i have the same error with a html file of 37M #google-chrome --no-margins --no-sandbox --headless --disable-gpu --print-to-pdf='/tmp/ctprXdyRc' '/tmp/cthH3RJ9d.html'

[1224/140500.433726:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [1224/140500.434614:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [1224/140500.441717:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable. [1224/140500.461365:WARNING:sandbox_linux.cc(380)] InitializeSandbox() called with multiple threads in process gpu-process. [1224/140648.103497:INFO:ax_object_cache_impl.cc(1943)] Accessibility tree update queue is too big, updates have been paused [1224/140711.592444:ERROR:print_render_frame_helper.cc(2280)] Printing failed. [1224/140711.594338:ERROR:headless_shell.cc(564)] Print to PDF failed

this command worked with a docker built from Unbuntu 18.04 and doesn t work with the new docker built from Unbuntu 22.04

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM