quarta-feira, março 13, 2019

ome-assistant Error while setting up platform vlc Traceback (most recent call last):

ERROR (MainThread) [homeassistant.components.media_player] Error while setting up platform vlc
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/lib/python3.5/asyncio/tasks.py", line 400, in wait_for
    return fut.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 "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/vlc.py", line 40, in setup_platform
    config.get(CONF_ARGUMENTS))])
  File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/media_player/vlc.py", line 49, in __init__
    self._instance = vlc.Instance(arguments)
  File "/srv/homeassistant/lib/python3.5/site-packages/vlc.py", line 1551, in __new__
    return libvlc_new(len(args), args)
  File "/srv/homeassistant/lib/python3.5/site-packages/vlc.py", line 3903, in libvlc_new
    ctypes.c_void_p, ctypes.c_int, ListPOINTER(ctypes.c_char_p))
  File "/srv/homeassistant/lib/python3.5/site-packages/vlc.py", line 246, in _Cfunction
    raise NameError('no function %r' % (name,))
NameError: no function 'libvlc_new'



falta instalar localmente o VLC :)


sudo apt-get instal vlc

Sem comentários:

LinkWithin

Related Posts Widget for Blogs by LinkWithin