Running dfi.export(df_styled, "output_file.png") on Ubuntu 20.04 with latest Google Chrome (version 99) creates the following warnings and errors.
[0324/143535.290253:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
[0324/143538.178682:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
[0324/143538.267157:INFO:headless_shell.cc(659)] Written to file /tmp/tmpb2ua5voz/temp.png.
The problem is related to:
_screenshot.py
97 with open(temp_img, "wb") as f:
98 args = [
99 "--enable-logging",
100 "--disable-gpu",
101 "--headless"
102 ]
Google Chrome version 99 seem to have a problem with "--disable-gpu" and "--headless" settings.
Running google-chrome --disable-gpu in Terminal causes:
[34249:34249:0324/144348.025377:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process.
and
google-chrome --headless
[0324/144437.931618:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
When I disable these two options inside _screenshot.py the *.html file is displayed onscreen and a png file is not created, so I am not sure how to fix this problem.
Running dfi.export(df_styled, "output_file.png") on Ubuntu 20.04 with latest Google Chrome (version 99) creates the following warnings and errors.
[0324/143535.290253:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable. [0324/143538.178682:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process. [0324/143538.267157:INFO:headless_shell.cc(659)] Written to file /tmp/tmpb2ua5voz/temp.png.
The problem is related to: _screenshot.py
97 with open(temp_img, "wb") as f:
98 args = [ 99 "--enable-logging", 100 "--disable-gpu", 101 "--headless" 102 ]
Google Chrome version 99 seem to have a problem with "--disable-gpu" and "--headless" settings.
Running google-chrome --disable-gpu in Terminal causes: [34249:34249:0324/144348.025377:ERROR:sandbox_linux.cc(377)] InitializeSandbox() called with multiple threads in process gpu-process. and google-chrome --headless [0324/144437.931618:WARNING:bluez_dbus_manager.cc(248)] Floss manager not present, cannot set Floss enable/disable.
When I disable these two options inside _screenshot.py the *.html file is displayed onscreen and a png file is not created, so I am not sure how to fix this problem.
Can someone help?