Skip to content

Instantly share code, notes, and snippets.

@grischard
Created January 20, 2022 23:18
Show Gist options
  • Save grischard/dc9066403d1f277b567d691832b496ab to your computer and use it in GitHub Desktop.
Save grischard/dc9066403d1f277b567d691832b496ab to your computer and use it in GitHub Desktop.
2022-01-20 18:16:35 ERROR (MainThread) [aiohttp.server] Error handling request
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_protocol.py", line 435, in _handle_request
resp = await request_handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_app.py", line 504, in _handle
resp = await handler(request)
File "/usr/local/lib/python3.9/site-packages/aiohttp/web_middlewares.py", line 117, in impl
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/security_filter.py", line 60, in security_filter_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/forwarded.py", line 220, in forwarded_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/request_context.py", line 28, in request_context_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/ban.py", line 78, in ban_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/auth.py", line 181, in auth_middleware
return await handler(request)
File "/usr/src/homeassistant/homeassistant/components/http/view.py", line 137, in handle
result = await result
File "/usr/src/homeassistant/homeassistant/components/config/config_entries.py", line 157, in post
return await super().post(request, flow_id)
File "/usr/src/homeassistant/homeassistant/components/http/data_validator.py", line 62, in wrapper
result = await method(view, request, *args, **kwargs)
File "/usr/src/homeassistant/homeassistant/helpers/data_entry_flow.py", line 110, in post
result = await self._flow_mgr.async_configure(flow_id, data)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 252, in async_configure
result = await self._async_handle_step(flow, cur_step["step_id"], user_input)
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 325, in _async_handle_step
result: FlowResult = await getattr(flow, method)(user_input)
File "/usr/src/homeassistant/homeassistant/components/wled/config_flow.py", line 39, in async_step_user
return await self._handle_config_flow(user_input)
File "/usr/src/homeassistant/homeassistant/components/wled/config_flow.py", line 91, in _handle_config_flow
device = await wled.update()
File "/usr/local/lib/python3.9/site-packages/backoff/_async.py", line 133, in retry
ret = await target(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/wled/wled.py", line 250, in update
self._device = Device(data)
File "/usr/local/lib/python3.9/site-packages/wled/models.py", line 630, in __init__
self.update_from_dict(data)
File "/usr/local/lib/python3.9/site-packages/wled/models.py", line 665, in update_from_dict
presets = [
File "/usr/local/lib/python3.9/site-packages/wled/models.py", line 666, in <listcomp>
Preset.from_dict(int(preset_id), preset, self.effects, self.palettes)
ValueError: invalid literal for int() with base 10: 'rev'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment