Skip to content

Commit

Permalink
can not get version on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
PaleNeutron committed Apr 25, 2023
1 parent 07d2d12 commit c680a74
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions dataframe_image/_screenshot.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,9 +169,8 @@ def possibly_enlarge(self, img, ss_width, ss_height):
if ss_height < MAX_IMAGE_SIZE and ss_width < MAX_IMAGE_SIZE:
return self.take_screenshot(ss_width, ss_height)
else:
chrome_version = subprocess.check_output([self.chrome_path, "--version"]).decode()
_logger.warning(
f"""Unable to enlarge image with {chrome_version}
f"""Unable to enlarge image with Chrome, it is a known bug with version 111 and 112
You could try to install an individual Chrome dev version and set chrome_path to it
or try 'df.dfi.export('df.png', table_conversion="selenium")'"""
)
Expand Down

0 comments on commit c680a74

Please sign in to comment.