Jump to content

library thread has exited you should restart kodi [artists crash]


bluc

Recommended Posts

Ok initial sync seemed to finish but then I realized the server was unreachable via the web app. I restated the server then re ran kodi and sync failed with the same error I also included a log of the server in case you wanted to have a look.

logs.zip

Link to comment
Share on other sites

Angelblue05

@@bluc

 

It's weird I don't get the error. I recreated the scenario on my server (update movies, then delete artists). Now I'm worried your music database got corrupted somehow? If you do a reset, does it crash when it gets to artists? If it does, delete the musicdbxx.db file inside %appdata\Roaming\Kodi\userdata\database so Kodi can recreate the missing table.

Edited by Angelblue05
Link to comment
Share on other sites

Karbowiak

I've been experiencing it aswell, the update above did however fix the import part, but as soon as it gets to an incremental sync, where it has to delete a music artist - it crashes.

Works fine for movies / tv, but not music

Log:

19:49:36 T:139788854585088  NOTICE: EMBY Movies -> logMsg : Removing setid: 18 fileid: None
19:49:36 T:139788854585088  NOTICE: EMBY Artwork -> logMsg : Could not find cached url.
19:49:36 T:139788854585088  NOTICE: Previous line repeats 1 times.
19:49:36 T:139788854585088  NOTICE: EMBY Movies -> logMsg : Deleted set d77de5d3fd78384714d7a0a261fa84dc from kodi database
19:49:36 T:139788854585088  NOTICE: EMBY Movies -> logMsg : Removing setid: 47 fileid: None
19:49:36 T:139788854585088  NOTICE: EMBY Artwork -> logMsg : Could not find cached url.
19:49:36 T:139788854585088  NOTICE: Previous line repeats 1 times.
19:49:36 T:139788854585088  NOTICE: EMBY Movies -> logMsg : Deleted set db0c09b86e4a37beb00a2ed6a0627c8b from kodi database
19:49:36 T:139788854585088  NOTICE: EMBY Movies -> logMsg : Removing setid: 63 fileid: None
19:49:37 T:139788854585088  NOTICE: EMBY Artwork -> logMsg : Could not find cached url.
19:49:37 T:139788854585088  NOTICE: Previous line repeats 1 times.
19:49:37 T:139788854585088  NOTICE: EMBY Movies -> logMsg : Deleted set e1538edce5be1161e8b20e3ef2e59b3e from kodi database
19:49:37 T:139788854585088  NOTICE: EMBY Movies -> logMsg : Removing setid: 52 fileid: None
19:49:37 T:139788854585088  NOTICE: EMBY Artwork -> logMsg : Could not find cached url.
19:49:37 T:139788854585088  NOTICE: Previous line repeats 1 times.
19:49:37 T:139788854585088  NOTICE: EMBY Movies -> logMsg : Deleted set e3cedddcdd9387a4a2d9cdbcc0735b7e from kodi database
19:49:37 T:139788854585088  NOTICE: EMBY Movies -> logMsg : Removing setid: 76 fileid: None
19:49:37 T:139788854585088  NOTICE: EMBY Artwork -> logMsg : Could not find cached url.
19:49:37 T:139788854585088  NOTICE: Previous line repeats 1 times.
19:49:37 T:139788854585088  NOTICE: EMBY Movies -> logMsg : Deleted set eec89c2df5bf8f6efc9545559761139b from kodi database
19:49:37 T:139788854585088  NOTICE: EMBY Music -> logMsg : Removing artist kodiid: 545
19:49:53 T:139788854585088   ERROR: Exception in thread Thread-10:
                                            Traceback (most recent call last):
                                              File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
                                                self.run()
                                              File "/home/kodi/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 1216, in run
                                                self.run_internal()
                                              File "/home/kodi/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 1309, in run_internal
                                                self.incrementalSync()
                                              File "/home/kodi/.kodi/addons/plugin.video.emby/resources/lib/librarysync.py", line 1169, in incrementalSync
                                                doupdate = items_process.itemsbyId(items, type, pDialog)
                                              File "/home/kodi/.kodi/addons/plugin.video.emby/resources/lib/itemtypes.py", line 187, in itemsbyId
                                                actions[process](item)
                                              File "/home/kodi/.kodi/addons/plugin.video.emby/resources/lib/itemtypes.py", line 2527, in remove
                                                self.removeArtist(kodiid)
                                              File "/home/kodi/.kodi/addons/plugin.video.emby/resources/lib/itemtypes.py", line 2553, in removeArtist
                                                kodicursor.execute("DELETE FROM artist WHERE idArtist = ?", (kodiid,))
                                            OperationalError: no such table: artist
19:49:55 T:139789975775360 WARNING: Skin has invalid include: Animation_FanartFade
19:49:55 T:139789975775360 WARNING: Trying to add unsupported control type 1
19:49:56 T:139789975775360   ERROR: ExecuteAsync - Not executing non-existing script script.favourites

I'll try and do a full reimport, and see if that doesn't fix it :)

Link to comment
Share on other sites

Angelblue05

Well I'm not giving up :) I'm still looking into it. I have deleted artists on my side and got no errors, weird. Anyway, Thanks for your patience guys. I'll keep posted.

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

Angelblue05

It crashed on music, same place (on artist). Just to confirm, you reset your database, deleted the music database and this is the log from the aftermath (did your content resync without errors)? Let me know

 

Thanks!

Link to comment
Share on other sites

When the server crashs like this only way to get it back is to restart the pc I dont seem to be able to restart the service even from cmd.

Link to comment
Share on other sites

Angelblue05

Err, ok? In your log, it doesn't even show any queries from the beta add-on. So I'm not sure why it would crash.

 

But it's ok, simply restart your server and try the sync in Kodi again. Did you have difficulties the first time around, when you installed beta? Maybe requesting 200 items is too high, you could try reducing to 150 in the add-on settings > sync options? However I can't say for sure it would fix your issue as it doesn't look like we caused the crash in the log you posted, but I'm no expert. The first thing we verify is if your server is online, and I don't even see this?

Edited by Angelblue05
Link to comment
Share on other sites

Turning off fast startup sync fixes it have done initial sync and two incrementals after kodi restarts without error...

Link to comment
Share on other sites

mgworek

This is happening to me as well. You mentioned artists, I have no music and it's crashing. Let me know if you want me log. I restarted the server this morning and restarted kodi just know and still failed. I first noticed the error last night when I got home from. 1.5 week vacation.

Link to comment
Share on other sites

Angelblue05

Yes please, post your log.

 

The current thread error is that when it goes to delete artists from the database, it can't find the artist table in the music database (I thought at first, I messed up and made it look into the video database to delete artist, but then when I tested a similar scenario on my side, it works fine....).

Link to comment
Share on other sites

mgworek

You're right. Sorry I saw the title and didn't notice that it says exited while mine says crashed. I just restarted everything again and I didn't get the error this time. I turned on the logging I will keep an eye on it tonight and tomorrow. If it comes back I will post my logs on a new thread since they are different errors.

 

Thanks

Link to comment
Share on other sites

Angelblue05

Yeah this entire thread has me going like: what wait? huh?....

 

Ok, well I'll push my custom test build to beta. If the problem arise again, then we'll know it's not resolved (could be working because it's not deleting artists or something else entirely...)

Link to comment
Share on other sites

spootdev

Yeah this entire thread has me going like: what wait? huh?....

Welcome to the joys of programming.   hehehehehehe  Troubleshooting can be soooooo fun at times.  B)

Link to comment
Share on other sites

MRobi

Have been getting this same error for a few weeks now on 3 different machines. 1 running windows 10, 2 running windows 8.1. It would sometimes do it during the initial startup sync. Other times it would be at random either while browsing the menu, during playback or while sitting dormant.

 

I tried switching the server from stable channel to the latest beta, same error. Then did the same on kodi with the same error. Disabled music sync and continued getting the same error. Reset the db numerous times. Played with network credentials. Tried switching from a mapped drive, to UNC paths and back. Uninstalled emby and re-installed. Basically everything I could think of or anything I read on here as possible solutions to any problem.

 

Yesterday morning I disabled fast startup sync in kodi and it's now been about 36 hours and have not received the error on any of the boxes yet.

  • Like 1
Link to comment
Share on other sites

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