8000 Arlo Camera exception · Issue #10016 · home-assistant/core · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Arlo Camera exception #10016

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bachya opened this issue Oct 22, 2017 · 3 comments
Closed

Arlo Camera exception #10016

bachya opened this issue Oct 22, 2017 · 3 comments

Comments

@bachya
Copy link
Contributor
bachya commented Oct 22, 2017

Make sure you are running the latest version of Home Assistant before reporting an issue.

You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:

Home Assistant release (hass --version):
0.56.0

Python release (python3 --version):
3.6.1

Component/platform:
camera/arlo

Description of problem:
Unhandled exceptions are thrown, which prevent the cameras from initially loading. Some cameras eventually load, but it's sporadic.

Expected:
Exceptions are handled.

Problem-relevant configuration.yaml entries and steps to reproduce:

arlo:
  username: USERNAME
  password: PASSWORD
camera:
  platform: arlo
  1. Launch HASS

Traceback (if applicable):

2017-10-21 20:36:20 ERROR (MainThread) [homeassistant.helpers.entity] Update for camera.front_door fails
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/homeassistant/helpers/entity.py", line 222, in async_update_ha_state
    yield from self.hass.async_add_job(self.update)
  File "/usr/lib/python3.6/asyncio/futures.py", line 331, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/lib/python3.6/asyncio/tasks.py", line 244, in _wakeup
    future.result()
  File "/usr/lib/python3.6/asyncio/futures.py", line 244, in result
    raise self._exception
  File "/usr/lib/python3.6/concurrent/futures/thread.py", line 55, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/lib/python3.6/site-packages/homeassistant/components/camera/arlo.py", line 163, in update
    self.attrs[ATTR_BATTERY_LEVEL] = self._camera.get_battery_level
  File "/config/deps/lib/python3.6/site-packages/pyarlo/camera.py", line 135, in get_battery_level
    return base.get_camera_battery_level[self.device_id]
TypeError: 'NoneType' object is not subscriptable

Additional info:
I believe #9892 addresses this; we should fast-track it.

@mnestor
Copy link
Contributor
mnestor commented Nov 6, 2017

Please fix soon

@empeee
Copy link
empeee commented Nov 6, 2017

Also having this issue. Has there been any progress?

@bachya
Copy link
Contributor Author
bachya commented Nov 6, 2017

@mnestor @empeee The fixes have been completed (#9892) – we're waiting for the PR to be reviewed and merged.

@fabaff fabaff closed this as completed Nov 15, 2017
@home-assistant home-assistant locked and limited conversation to collaborators Mar 2, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants
0