Closed sualfred closed 4 years ago
Hm I'm not sure how this can happen. The referenced code looks like this:
try:
self._sock.settimeout(DiscoveryService.DiscoveryTimeoutS)
(data, _) = self._sock.recvfrom(1024)
except socket.timeout:
return
so it explicitely handles socket.timeout
errors from socket.recvfrom()
. I don't know how it could still end up being propagated to Kodi's default error handler.
No idea. With a simple raise socket.timeout
for testing it is not throwing an Exception.
I also cannot reproduce it or don't know how. Got this issue 2-3 times since I'm testing your project over the last couple of months.
I'm guessing this is also related to https://github.com/Montellese/mediaimporter.emby/issues/18#issuecomment-622668661 right? Should we close it since it's a general Kodi issue?
I assume, yes.
Funny thing is, that I never ever faced any thrown exception again since I've changed the changed the exception in script.module.urllib3
to except:
Had this exception again today but wasn't able to reproduce it so no debug log, sorry. But afair I already talked to you about it some weeks ago. It was happening right after starting Kodi and while it was loading the home screen.
Just dropping it here to keep it in mind.