dataframe_image icon indicating copy to clipboard operation
dataframe_image copied to clipboard

Problems with Google Chrome 99.0.4844.82 on Ubuntu 20.04

Open Arian96669 opened this issue 3 years ago • 4 comments

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?

Arian96669 avatar Mar 24 '22 12:03 Arian96669

any news here?

bobHealy avatar Oct 09 '22 16:10 bobHealy

Same problem..

Lowrida avatar Oct 24 '22 00:10 Lowrida

@Lowrida , can you provide your error log and enviroment?

PaleNeutron avatar Oct 24 '22 12:10 PaleNeutron

Same here on Ubuntu 22.04

g-simmons avatar Nov 02 '22 06:11 g-simmons

All tests passed in Ubuntu22.04 in CI.

PaleNeutron avatar Sep 05 '23 07:09 PaleNeutron