core: AXIS integration failed after update to 0115

After the upgrade to 0.115.1 my axis camera fails, I Have removed the integration but when I add the camera using the integration it fails.

Environment

arch x86_64
dev false
docker false
hassio false
installation_type Home Assistant Core
os_name Linux
os_version 4.15.0-117-generic
python_version 3.7.5
timezone Europe/Amsterdam
version 0.115.1
virtualenv true
  • Home Assistant Core release with the issue: 0.115.1
  • Last working Home Assistant Core release (if known): 0.114.4
  • Operating environment (OS/Container/Supervised/Core): Ubuntu 18.04
  • Integration causing this issue: AXIS
  • Link to integration documentation on our website:

Problem-relevant configuration.yaml


Traceback/Error logs

Traceback (most recent call last):
  File "/srv/homeassistant/lib/python3.7/site-packages/aiohttp/web_protocol.py", line 418, in start
    resp = await task
  File "/srv/homeassistant/lib/python3.7/site-packages/aiohttp/web_app.py", line 458, in _handle
    resp = await handler(request)
  File "/srv/homeassistant/lib/python3.7/site-packages/aiohttp/web_middlewares.py", line 119, in impl
    return await handler(request)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/request_context.py", line 18, in request_context_middleware
    return await handler(request)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/ban.py", line 72, in ban_middleware
    return await handler(request)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/auth.py", line 127, in auth_middleware
    return await handler(request)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/view.py", line 129, in handle
    result = await result
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/config/config_entries.py", line 169, in post
    return await super().post(request, flow_id)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/http/data_validator.py", line 60, in wrapper
    result = await method(view, request, *args, **kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/helpers/data_entry_flow.py", line 106, in post
    result = await self._flow_mgr.async_configure(flow_id, data)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/data_entry_flow.py", line 156, in async_configure
    result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/data_entry_flow.py", line 204, in _async_handle_step
    result: Dict = await getattr(flow, method)(user_input)
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/axis/config_flow.py", line 73, in async_step_user
    password=user_input[CONF_PASSWORD],
  File "/srv/homeassistant/lib/python3.7/site-packages/homeassistant/components/axis/device.py", line 270, in get_device
    await hass.async_add_executor_job(device.vapix.initialize)
  File "/usr/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/srv/homeassistant/lib/python3.7/site-packages/axis/vapix.py", line 93, in initialize
    self.initialize_applications()
  File "/srv/homeassistant/lib/python3.7/site-packages/axis/vapix.py", line 157, in initialize_applications
    self.applications.update()
  File "/srv/homeassistant/lib/python3.7/site-packages/axis/applications/applications.py", line 32, in update
    raw_applications = raw["reply"]["application"]
KeyError: 'application'


Additional information

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 27 (8 by maintainers)

Most upvoted comments

The access to My Axis M3026 started to work after the upgrade to 0.115.3. I am just viewing the video at the moment, no more festures are used. Thx for the fix!

@melstig that looks like a different error, what device and firmware does the device 192.168.1.18 have? @haaxema thanks, those logs are helpful