Closed technicalpickles closed 5 years ago
There were some updates to the soco dependency. I'm not seeing this one, but there's something else:
Exception happened during processing of request from ('10.0.1.87', 53065)
Traceback (most recent call last):
File "/usr/local/lib/python3.6/socketserver.py", line 639, in process_request_thread
self.finish_request(request, client_address)
File "/usr/local/lib/python3.6/socketserver.py", line 361, in finish_request
self.RequestHandlerClass(request, client_address, self)
File "/usr/local/lib/python3.6/socketserver.py", line 696, in __init__
self.handle()
File "/usr/local/lib/python3.6/http/server.py", line 418, in handle
self.handle_one_request()
File "/usr/local/lib/python3.6/http/server.py", line 406, in handle_one_request
method()
File "/usr/local/lib/python3.6/site-packages/soco/events.py", line 239, in do_NOTIFY
variables = parse_event_xml(content)
File "/usr/src/app/homeassistant/components/media_player/sonos.py", line 131, in safe_parse_event_xml
return orig_parse_event_xml(xml)
File "/usr/src/app/homeassistant/components/media_player/sonos.py", line 131, in safe_parse_event_xml
return orig_parse_event_xml(xml)
File "/usr/src/app/homeassistant/components/media_player/sonos.py", line 131, in safe_parse_event_xml
return orig_parse_event_xml(xml)
[Previous line repeated 3 more times]
File "/usr/local/lib/python3.6/site-packages/soco/events.py", line 139, in parse_event_xml
value = from_didl_string(value)[0]
File "/usr/local/lib/python3.6/site-packages/soco/data_structures_entry.py", line 52, in from_didl_string
item = cls.from_element(elt)
File "/usr/local/lib/python3.6/site-packages/soco/data_structures.py", line 492, in from_element
DidlResource.from_element(res_elt))
File "/usr/local/lib/python3.6/site-packages/soco/data_structures.py", line 172, in from_element
raise Exception('Could not create Resource from Element: '
Exception: Could not create Resource from Element: protocolInfo not found (required).
----------------------------------------
I started looking into this, and found it fixed already 😅 looks like these are responsible:
Now to get a 0.65 release 😁
Fixed in https://github.com/technicalpickles/picklehome-homeassistant-config/pull/67/files with:
logger:
default: info
logs:
# ignore sonos warnings, like:
# - Could not handle track info: ""
# - Update for media_player.kitchen fails (https://github.com/technicalpickles/picklehome-homeassistant-config/issues/35)
homeassistant.components.media_player.sonos: error
soco.core: error
This showed up dozens of time over the course of an hour.