Problems with the component discovery

Hi,

I had some problems with the hassbian SD card in my PI3, write and read errors.
I installed hassbian again and copied back the backup files.
First problem: I had to do sudo chmod ug + rwx -rv ./ and sudo chown -R home assistant ./ else I had many problems with starting HASS.
The second problem is the following error message, which I can not solve.

16-12-17 09:56:25 homeassistant.bootstrap: Setting up discovery
16-12-17 09:56:25 homeassistant.bootstrap: Error during setup of component discovery
Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/bootstrap.py", line 150, in _async_setup_component
    None, component.setup, hass, config)
  File "/usr/lib/python3.4/asyncio/futures.py", line 388, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.4/asyncio/tasks.py", line 286, in _wakeup
    value = future.result()
  File "/usr/lib/python3.4/asyncio/futures.py", line 277, in result
    raise self._exception
  File "/usr/lib/python3.4/concurrent/futures/thread.py", line 54, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/discovery.py", line 50, in setup
    from netdisco.service import DiscoveryService
ImportError: cannot import name 'DiscoveryService'

Hass starts and operates without the discovery module

Can anyone help me with this.

Lex

After the update to 0.35.0, the problem disappeared.

I’m having this same issue after upgrading to 0.36.1.

I installed the HASS image onto a micro sd and using it in a Pi 3. Upgraded to 0.36.1, then upgraded and updated the repos, also tried re-installed netdisco. I just keep getting discovery invalid config

Any advice please?

17-01-18 05:26:02 homeassistant.bootstrap: Error during setup of component discovery
Traceback (most recent call last):
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/bootstrap.py”, line 151, in _async_setup_component
None, component.setup, hass, config)
File “/usr/lib/python3.4/asyncio/futures.py”, line 388, in iter
yield self # This tells Task to wait for completion.
File “/usr/lib/python3.4/asyncio/tasks.py”, line 286, in _wakeup
value = future.result()
File “/usr/lib/python3.4/asyncio/futures.py”, line 277, in result
raise self._exception
File “/usr/lib/python3.4/concurrent/futures/thread.py”, line 54, in run
result = self.fn(*self.args, **self.kwargs)
File “/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/discovery.py”, line 53, in setup
from netdisco.service import DiscoveryService
ImportError: cannot import name ‘DiscoveryService’

After having the same problems you described here, I switched to the all inone installer and got that running.
Don’t know why but there is something wrong with the SD install option on a Raspi3.