Jump to content

2.2.51 - Library sync thread has exited


Recommended Posts

horstepipe
Posted (edited)

Hey

I'm getting this error on current Emby for Kodi beta. Already tried to manual sync and to repair database. The repair task went through fine, but on every Kodi start I'm getting the error.

01:37:13  25.198072 T:1696388000  NOTICE: EMBY.librarysync -> ERROR:: need more than 1 value to unpack
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 860, in run
                                                self.run_internal()
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 914, in run_internal
                                                uptoDate = self.compareDBVersion(currentVersion, minVersion)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 845, in compareDBVersion
                                                currMajor, currMinor, currPatch = current.split(".")
                                            ValueError: need more than 1 value to unpack

This happens on LibreELEC 7.0.2 on a Raspberry Pi 3, Emby server (3.0.8200) is being accessed externally.

 

Best regards

Edited by horstepipe
Angelblue05
Posted (edited)

@@horstepipe

 

Thanks for reporting. Looking into it.

Edited by Angelblue05
horstepipe
Posted

hey

I removed emby.db, MyMusic56.db, MyVideos99.db, Textures13.db and TV29.db and made a new library repair, now it's working again.

Thanks for support.

  • Like 1
Angelblue05
Posted (edited)

Still going to make sure it doesn't happen again. :)

 

Thanks for reporting back.

 

Edit: Btw, next time please post complete logs. It's missing the logging line indicating what it sees the current version is which would have made my life easier to troubleshoot. We add logging for good reasons, you should not pick and choose what is relevant or not ;)

Edited by Angelblue05
  • Like 1
OpenSourceUser
Posted

Just to let you know:

11:46:48 T:545897050336  NOTICE: EMBY.websocket_client -> ----===## Starting WebSocketClient ##===----
11:46:48 T:545058189536  NOTICE: EMBY.librarysync -> ---===### Starting LibrarySync ###===---
11:46:48 T:545058189536  NOTICE: EMBY.librarysync -> current:  minimum: 1.1.63
11:46:48 T:545058189536  NOTICE: EMBY.ga_client -> ERROR:: ('/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py', 833, 'compareDBVersion', 'currMajor, currMinor, currPatch = current.split(".")')
11:46:48 T:545058189536  NOTICE: EMBY.ga_client -> ERROR:: ValueError - librarysync.py:833(need more than 1 value to unpack)(currMajor, currMinor, currPatch = current.split("."))
11:46:48 T:545058189536  NOTICE: EMBY.ga_client -> GA: {'el': 'librarysync.py:833(need more than 1 value to unpack)(currMajor, currMinor, currPatch = current.split("."))', 'cid': 'ff3b419343d90b669743a9ae4fd01d11', 'sr': '1920x1080', 'v': '1', 'ea': 'ValueError', 'ec': $
11:46:48 T:545897050336  NOTICE: EMBY.downloadutils -> SessionId: 91d0e0028b7c016251f2166058788dfe
11:46:48 T:545058189536  NOTICE: EMBY.librarysync -> ERROR:: need more than 1 value to unpack
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 865, in run
                                                self.run_internal()
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 922, in run_internal
                                                uptoDate = self.compareDBVersion(currentVersion, minVersion)
                                              File "/storage/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 833, in compareDBVersion
                                                currMajor, currMinor, currPatch = current.split(".")
                                            ValueError: need more than 1 value to unpack

This happened on LibreElec 7.1.0 + Kodi 16.1 Jarvis + Emby Server 3.0.8300 + Emby for Kodi BETA 2.2.52

  • Like 1
Angelblue05
Posted (edited)

@@OpenSourceUser

 

Edit: Ok, please give the latest beta build a try, let me know if it resolves the problem, thanks.

Edited by Angelblue05
OpenSourceUser
Posted

@@OpenSourceUser

 

Edit: Ok, please give the latest beta build a try, let me know if it resolves the problem, thanks.

 

Well, I already did what horstepipe has suggested and deleted the databases. After repair everything is working fine. Nonetheless I updated to the latest beta and will report back if I encounter this issue ever again. Thanks for your work.

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