dataframe_image icon indicating copy to clipboard operation
dataframe_image copied to clipboard

Non Fatal chromdriver error logs are bloating app logs

Open chitralverma opened this issue 4 years ago • 2 comments

I'm using this project as a library in my own work.

Seems like since this library uses chromedriver for rendering, the below logs are written upon every conversion. Any strategy to remove these or fix this?

I tried disabling all loggers but to no avail. These logs only occur when table_conversion="chrome" in dfi.export(...)

OS: MacOS BigSur Run Time env: IntelliJ IDE Python: 3.9.x

[0508/054235.070550:ERROR:xattr.cc(63)] setxattr org.chromium.crashpad.database.initialized on file /var/folders/m9/lbcz29990ygdcdyrt8xjsdgm0000gn/T/: Operation not permitted (1)
[0508/054235.073022:ERROR:file_io.cc(90)] ReadExactly: expected 8, observed 0
[0508/054235.074372:ERROR:xattr.cc(63)] setxattr org.chromium.crashpad.database.initialized on file /var/folders/m9/lbcz29990ygdcdyrt8xjsdgm0000gn/T/: Operation not permitted (1)
[0508/054236.207822:INFO:headless_shell.cc(616)] Written to file /var/folders/m9/lbcz29990ygdcdyrt8xjsdgm0000gn/T/tmpf9m8tj4w/temp.png.
[0508/054236.609532:ERROR:xattr.cc(63)] setxattr org.chromium.crashpad.database.initialized on file /var/folders/m9/lbcz29990ygdcdyrt8xjsdgm0000gn/T/: Operation not permitted (1)
[0508/054236.610523:ERROR:file_io.cc(90)] ReadExactly: expected 8, observed 0
[0508/054236.611275:ERROR:xattr.cc(63)] setxattr org.chromium.crashpad.database.initialized on file /var/folders/m9/lbcz29990ygdcdyrt8xjsdgm0000gn/T/: Operation not permitted (1)
[0508/054238.018062:INFO:headless_shell.cc(616)] Written to file /var/folders/m9/lbcz29990ygdcdyrt8xjsdgm0000gn/T/tmpdd2jt105/temp.png.
[0508/054238.785091:ERROR:xattr.cc(63)] setxattr org.chromium.crashpad.database.initialized on file /var/folders/m9/lbcz29990ygdcdyrt8xjsdgm0000gn/T/: Operation not permitted (1)
[0508/054238.786112:ERROR:file_io.cc(90)] ReadExactly: expected 8, observed 0
[0508/054238.786894:ERROR:xattr.cc(63)] setxattr org.chromium.crashpad.database.initialized on file /var/folders/m9/lbcz29990ygdcdyrt8xjsdgm0000gn/T/: Operation not permitted (1)
[0508/054241.031103:INFO:headless_shell.cc(616)] Written to file /var/folders/m9/lbcz29990ygdcdyrt8xjsdgm0000gn/T/tmp_ygkarof/temp.png.

chitralverma avatar May 08 '21 00:05 chitralverma

Same from me, I'm not too proficient with webdrivers and some tip how to ignore those warnings would be rad. (And chrome table formating is better than matplotlib that's why I also prefer chrome)

[0515/085238.989143:WARNING:headless_browser_main_parts.cc(83)] Cannot create Pref Service with no user data dir. [0515/085239.081496:ERROR:vaapi_wrapper.cc(594)] Could not get a valid VA display [0515/085239.083511:ERROR:gpu_init.cc(426)] Passthrough is not supported, GL is egl [0515/085239.406322:INFO:headless_shell.cc(620)] Written to file /tmp/tmp8frso5fi/temp.png.

Kalindro avatar May 15 '21 07:05 Kalindro

Same here, haven't been able to get rid of that error

valerianrossigneux avatar Aug 09 '21 11:08 valerianrossigneux