Jump to content

Crash when trying to sync TV shows


Recommended Posts

xnappo
Posted

Looks like a network timeout.  Did you try restarting the server?  

21:44:39 T:1668248640   ERROR: CCurlFile::FillBuffer - Failed: Timeout was reached(28)
21:44:39 T:1668248640   ERROR: CCurlFile::CReadState::Connect, didn't get any data from stream.
Posted

Yes tried that.

It works fine on my old RPi B+

It always fails on TV Show 7 of 38, but I don't know which show that is.

Angelblue05
Posted

In the server log, at the same time as the error happens in Kodi, you should be able to maybe see the server response. Do you see any errors during the time? Thanks.

 

 

Sent from my iPhone using Tapatalk

Angelblue05
Posted (edited)

@@qkn

 

Yeah the log doesn't show anything. Everything seem to have succeeded according to the http status code. Is it still throwing this error: error: [Errno 104] Connection reset by peer? Let me know

Edited by Angelblue05
Posted

Yes same error.

11:59:45 T:1635587136  NOTICE: Sync DB -> syncDatabase Exiting
11:59:45 T:1635587136   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <class 'socket.error'>
                                            Error Contents: [Errno 104] Connection reset by peer
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.emby/default.py", line 49, in <module>
                                                LibrarySync().FullLibrarySync(True)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/LibrarySync.py", line 83, in FullLibrarySync
                                                self.TvShowsFullSync(connection,cursor,pDialog)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/LibrarySync.py", line 306, in TvShowsFullSync
                                                self.EpisodesFullSync(connection,cursor,item["Id"])
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/LibrarySync.py", line 351, in EpisodesFullSync
                                                WriteKodiVideoDB().addOrUpdateEpisodeToKodiLibrary(item["Id"], kodiShowId, connection, cursor)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/WriteKodiVideoDB.py", line 503, in addOrUpdateEpisodeToKodiLibrary
                                                MBitem = ReadEmbyDB().getFullItem(embyId)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/ReadEmbyDB.py", line 173, in getFullItem
                                                jsonData = doUtils.downloadUrl(url)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/DownloadUtils.py", line 225, in downloadUrl
                                                r = requests.get(url, json=postBody, headers=header, timeout=timeout, cert=cert, verify=verifyssl)
                                              File "/storage/.kodi/addons/script.module.requests/lib/requests/api.py", line 68, in get
                                                return request('get', url, **kwargs)
                                              File "/storage/.kodi/addons/script.module.requests/lib/requests/api.py", line 50, in request
                                                response = session.request(method=method, url=url, **kwargs)
                                              File "/storage/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 464, in request
                                                resp = self.send(prep, **send_kwargs)
                                              File "/storage/.kodi/addons/script.module.requests/lib/requests/sessions.py", line 613, in send
                                                r.content
                                              File "/storage/.kodi/addons/script.module.requests/lib/requests/models.py", line 733, in content
                                                self._content = bytes().join(self.iter_content(CONTENT_CHUNK_SIZE)) or bytes()
                                              File "/storage/.kodi/addons/script.module.requests/lib/requests/models.py", line 656, in generate
                                                for chunk in self.raw.stream(chunk_size, decode_content=True):
                                              File "/storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/response.py", line 273, in stream
                                                data = self.read(amt=amt, decode_content=decode_content)
                                              File "/storage/.kodi/addons/script.module.requests/lib/requests/packages/urllib3/response.py", line 203, in read
                                                data = self._fp.read(amt)
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-RPi2.arm-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/httplib.py", line 561, in read
                                              File "/home/stephan/projects/openelec-5.0/build.OpenELEC-RPi2.arm-5.0.8/Python-2.7.3/.install_pkg/usr/lib/python2.7/socket.py", line 379, in read
                                            error: [Errno 104] Connection reset by peer
                                            -->End of Python script error report<--
11:59:46 T:1970040832   ERROR: GetDirectory - Error getting plugin://plugin.video.emby/?mode=manualsync
11:59:46 T:1970040832   ERROR: CGUIMediaWindow::GetDirectory(plugin://plugin.video.emby/?mode=manualsync) failed

Guest
This topic is now closed to further replies.
×
×
  • Create New...