Problem to initialize some components

Problem to initializing some components.

After my upgrade fmo 0.41.0 to 0.42.4 I got an issue on 2 components:

  • switch.hikvisioncam
  • media_player.kodi

the issue is related to the problem to install dependencyes:

17-04-19 09:53:12 ERROR (MainThread) [homeassistant.setup] Not initializing switch.hikvisioncam because could not install dependency hikvision==0.4
17-04-19 09:53:12 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform switch.hikvisioncam: Could not install all requirements.
17-04-19 09:53:13 WARNING (MainThread) [homeassistant.setup] Setup of media_player is taking over 10 seconds.
17-04-19 09:53:26 ERROR (MainThread) [homeassistant.setup] Not initializing media_player.kodi because could not install dependency jsonrpc-async==0.6
17-04-19 09:53:26 ERROR (MainThread) [homeassistant.setup] Unable to prepare setup for platform media_player.kodi: Could not install all requirements.
17-04-19 09:53:36 ERROR (MainThread) [homeassistant.core] Error doing job: Future exception was never retrieved

How it can be fix?

I’m running home assistant on raspberry PI 3 installed with All-in-One installer prior to December 2016

Hello,

I have fiexd the issue with kodi installing it manually:

hass@raspberrypi:~/.homeassistant$ source /srv/hass/hass_venv/bin/activate
(hass_venv) hass@raspberrypi:~/.homeassistant$ pip install jsonrpc-async hikvision
Collecting jsonrpc-async
Using cached jsonrpc-async-0.6.tar.gz
Requirement already satisfied: hikvision in /srv/hass/hass_venv/lib/python3.4/site-packages
Collecting jsonrpc-base==1.0 (from jsonrpc-async)
Requirement already satisfied: aiohttp>=2.0.0 in /srv/hass/hass_venv/lib/python3.4/site-packages (from jsonrpc-async)
Requirement already satisfied: async-timeout>=1.2.0 in /srv/hass/hass_venv/lib/python3.4/site-packages (from aiohttp>=2.0.0->jsonrpc-async)
Requirement already satisfied: multidict>=2.1.4 in /srv/hass/hass_venv/lib/python3.4/site-packages (from aiohttp>=2.0.0->jsonrpc-async)
Requirement already satisfied: yarl<0.11,>=0.10.0 in /srv/hass/hass_venv/lib/python3.4/site-packages (from aiohttp>=2.0.0->jsonrpc-async)
Requirement already satisfied: chardet in /srv/hass/hass_venv/lib/python3.4/site-packages (from aiohttp>=2.0.0->jsonrpc-async)
Building wheels for collected packages: jsonrpc-async
Running setup.py bdist_wheel for jsonrpc-async … done
Stored in directory: /home/hass/.cache/pip/wheels/76/5c/d4/fea41c54bb06234c881bdfc2b0c438fd81a93d5a5fa80bb13c
Successfully built jsonrpc-async
Installing collected packages: jsonrpc-base, jsonrpc-async
Successfully installed jsonrpc-async-0.6 jsonrpc-base-1.0
(hass_venv) hass@raspberrypi:~/.homeassistant$ pip install hikvision
Requirement already satisfied: hikvision in /srv/hass/hass_venv/lib/python3.4/site-packages
(hass_venv) hass@raspberrypi:~/.homeassistant$ exit
exit
hass@raspberrypi:~/.homeassistant$ source /srv/hass/hass_venv/bin/activate
(hass_venv) hass@raspberrypi:~/.homeassistant$ pip install jsonrpc-websocket
Collecting jsonrpc-websocket
Using cached jsonrpc-websocket-0.5.tar.gz
Requirement already satisfied: jsonrpc-base==1.0 in /srv/hass/hass_venv/lib/python3.4/site-packages (from jsonrpc-websocket)
Requirement already satisfied: aiohttp>=2.0.0 in /srv/hass/hass_venv/lib/python3.4/site-packages (from jsonrpc-websocket)
Requirement already satisfied: multidict>=2.1.4 in /srv/hass/hass_venv/lib/python3.4/site-packages (from aiohttp>=2.0.0->jsonrpc-websocket)
Requirement already satisfied: yarl<0.11,>=0.10.0 in /srv/hass/hass_venv/lib/python3.4/site-packages (from aiohttp>=2.0.0->jsonrpc-websocket)
Requirement already satisfied: chardet in /srv/hass/hass_venv/lib/python3.4/site-packages (from aiohttp>=2.0.0->jsonrpc-websocket)
Requirement already satisfied: async-timeout>=1.2.0 in /srv/hass/hass_venv/lib/python3.4/site-packages (from aiohttp>=2.0.0->jsonrpc-websocket)
Building wheels for collected packages: jsonrpc-websocket
Running setup.py bdist_wheel for jsonrpc-websocket … done
Stored in directory: /home/hass/.cache/pip/wheels/1f/bc/c1/d0a0e7102ea8f6544de76ab93692dc5a4ef86b1c18a3f4b0b7
Successfully built jsonrpc-websocket
Installing collected packages: jsonrpc-websocket
Successfully installed jsonrpc-websocket-0.5
(hass_venv) hass@raspberrypi:~/.homeassistant$ exit
exit

but I still get the error with hikvision (also if now it is installed)

(hass_venv) hass@raspberrypi:~/.homeassistant$ pip install hikvision
Collecting hikvision
Downloading hikvision-1.2.tar.gz
Building wheels for collected packages: hikvision
Running setup.py bdist_wheel for hikvision … done
Stored in directory: /home/hass/.cache/pip/wheels/e1/ce/19/f2d856aef332aa3c2882dfd9c63d0f44c6ffefc50d7529e769
Successfully built hikvision
Installing collected packages: hikvision
Successfully installed hikvision-1.2
(hass_venv) hass@raspberrypi:~/.homeassistant$ exit
exit

Hello,

the issue is still present in the version 0.43.1.

Please can you help me?

Thanks.