Closed kvneight closed 2 years ago
I just commented the following lines to escape the webp check.Efb started ,but not sure if it would have any side effect. Like 'cannot support webp photos'?
#if 'WEBP' not in Image.ID or not getattr(WebPImagePlugin, "SUPPORTED", None):
# raise EFBException(self._("WebP support of Pillow is required.\n"
# "Please refer to Pillow Documentation for instructions.\n"
# "https://pillow.readthedocs.io/"))
WebP support of Pillow is used to convert Telegram stickers from WebP to PNG for other middlewares and slave channels to consume. If the support is not available, the bot may break when it receives a Telegram sticker.
Please consult the Pillow documentation to install WebP support, (most likely install a libwebp
or equivalent on your OS). The PyPI package webp
will not serve the purpose.
Describe the bug
EFB initialize failed with exception "WebP support of Pillow is required" after upgrade. HERE is he log and version info:
To Reproduce
Steps to reproduce the behavior: run ehforwarderbot
Expected behavior
start normally
Version information (please complete the following information):
ehforwarderbot --version
)