Closed eduardorco closed 1 month ago
"Don't open websites with chrrome" For my computer, I deal it just run the code with chrome is closing (without opening websites through chrome).
However, I got issue #115. The picture got cutted no matter the value of max_cols.
(Is that means it's too big to be created?)
The error of cutting image is solved after i insert table_conversion='matplotlib'
.
#issue
import dataframe_image as dfi
import pandas as pd
df = pd.DataFrame({
'a': [i for i in range(1,101)],
'b': [i for i in range(1,101)],
'c': [i for i in range(1,101)]
})
dfi.export(df,'test.png',max_rows=100,fontsize=30)
I get the same error today.Yesterday dataframe-image worked perfectly fine.
Does table_conversion='playwright'
works?
I can not track every Chrome change, if playwright
works then I'll check if this error still exist in next chrome version.
Does
table_conversion='playwright'
works?I can not track every Chrome change, if
playwright
works then I'll check if this error still exist in next chrome version.
It works perfectly.
hi I believe I have the same issue the fix for this is to change --headless to --headless=old in converter/browser/chrome_converter.py line 118
found out about the fix here: https://stackoverflow.com/a/78935135
I tested the change, which seemed to work
hi I believe I have the same issue the fix for this is to change --headless to --headless=old in converter/browser/chrome_converter.py line 118
found out about the fix here: https://stackoverflow.com/a/78935135
I tested the change, which seemed to work
Can you test again with a long(more than 1 screen height) dataframe?
hi I believe I have the same issue the fix for this is to change --headless to --headless=old in converter/browser/chrome_converter.py line 118
found out about the fix here: https://stackoverflow.com/a/78935135
I tested the change, which seemed to work
Works like a charm
Hi, everyday i use dataframe-image to process some images in my work. But today i started getting an error with all my codes using the module.
as an exemple, heres one of the codes i use:
But today, the code started giving me the following error:
CalledProcessError: Command '['--enable-logging', '--disable-gpu', '--headless', '--crash-dumps-dir=C:\\Users\\eduar\\.dataframe_image\\tmpg6tmi7oy', '--force-device-scale-factor=1', '--window-size=1400,900', '--hide-scrollbars', '--screenshot=C:\\Users\\eduar\\.dataframe_image\\tmpg6tmi7oy\\temp.png', 'C:\\Users\\eduar\\.dataframe_image\\tmpg6tmi7oy\\temp.html']' returned non-zero exit status 21.
The path to chrome is right; Using dataframe-image-0.2.4 When i insert table_conversion='matplotlib', the error is gone. But i dont like the look of the image and i lose some settings in my image as well...