Skip to content

Commit c680a74

Browse files
committed
can not get version on windows
1 parent 07d2d12 commit c680a74

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

dataframe_image/_screenshot.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,9 +169,8 @@ def possibly_enlarge(self, img, ss_width, ss_height):
169169
if ss_height < MAX_IMAGE_SIZE and ss_width < MAX_IMAGE_SIZE:
170170
return self.take_screenshot(ss_width, ss_height)
171171
else:
172-
chrome_version = subprocess.check_output([self.chrome_path, "--version"]).decode()
173172
_logger.warning(
174-
f"""Unable to enlarge image with {chrome_version}
173+
f"""Unable to enlarge image with Chrome, it is a known bug with version 111 and 112
175174
You could try to install an individual Chrome dev version and set chrome_path to it
176175
or try 'df.dfi.export('df.png', table_conversion="selenium")'"""
177176
)

0 commit comments

Comments
 (0)