2018-04-17 20:27:06 ERROR (MainThread) [homeassistant.core] Error executing service <ServiceCall tts.baidu_say: entity_id=['media_player.mpd'], message=123>
Traceback (most recent call last):
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/core.py", line 1002, in _event_to_service_call
await service_handler.func(service_call)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/tts/__init__.py", line 135, in async_say_handle
options=options
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/tts/__init__.py", line 305, in async_get_url
engine, key, message, use_cache, language, options)
File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/tts/__init__.py", line 319, in async_get_tts_audio
message, language, options)
File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__
yield self # This tells Task to wait for completion.
File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup
future.result()
File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result
raise self._exception
File "/usr/lib/python3.5/concurrent/futures/thread.py", line 55, in run
result = self.fn(*self.args, **self.kwargs)
File "/home/homeassistant/.homeassistant/custom_components/tts/baidu.py", line 119, in get_tts_audio
from aip import AipSpeech
File "/srv/homeassistant/lib/python3.5/site-packages/aip/__init__.py", line 6, in <module>
from .ocr import AipOcr
File "/srv/homeassistant/lib/python3.5/site-packages/aip/ocr.py", line 7, in <module>
from .base import AipBase
File "/srv/homeassistant/lib/python3.5/site-packages/aip/base.py", line 14, in <module>
from PIL import Image
File "/srv/homeassistant/lib/python3.5/site-packages/PIL/Image.py", line 60, in <module>
from . import _imaging as core
ImportError: libtiff.so.5: cannot open shared object file: No such file or directory