Sinimus 0 Posted June 22, 2016 Posted June 22, 2016 (edited) Hi there, I seconded this painful issue - latest Kodi (16.1), latest stable Emby for Kodi plugin (2.2.11) , server Sync Queue plugin enabled, list of items queued 70-250, sync empty tv shows enabled - 98% done and sync thread error pops up. I guess I tried every suggested method. And its clearly not the problem with response to Emby server (same HTPC) - mine sync process dies every time at this moment: 12:34:45 T:16736 NOTICE: EMBY DownloadUtils -> log : Response: [{u'Genres': [], u'OriginalCollectionType': u'tvshows', u'CanDelete': False, u'LocationType': u'FileSystem', u'OfficialRating': u'', u'CanDownload': False, u'IsSynced': False, u'ExternalUrls': [], u'Etag': u'82e31ed23d9957fb8ede01b4c6420e16', u'HasSyncJob': False, u'ScreenshotImageTags': [], u'RemoteTrailers': [], u'ServerId': u'92a4ccc2d9fb4b6f896adc5613bd7683', u'Type': u'CollectionFolder', u'SortName': u'serialy (sosac)', u'PreferredMetadataCountryCode': u'CZ', u'PlayAccess': u'Full', u'Tags': [], u'HomePageUrl': u'', u'HasDynamicCategories': False, u'IsFolder': True, u'LockedFields': [], u'ProviderIds': {}, u'DisplayPreferencesId': u'f0d8b399da70025f8f2ffc1eff212bcb', u'Path': u'C:\\Users\\editor\\AppData\\Roaming\\Emby-Server\\root\\default\\Seri\xe1ly (Sos\xe1\u010d)', u'BackdropImageTags': [], u'ForcedSortName': u'', u'ProductionLocations': [], u'Name': u'Seri\xe1ly (Sos\xe1\u010d)', u'PreferredMetadataLanguage': u'cs', u'LockData': False, u'Taglines': [], u'ParentId': u'e9d5075a555c1cbc394eec4cef295274', u'PrimaryImageAspectRatio': 1.77777777777778, u'ChildCount': 719, u'UserData': {u'PlayCount': 0, u'Key': u'f0d8b399-da70-025f-8f2f-fc1eff212bcb', u'PlaybackPositionTicks': 0, u'IsFavorite': False, u'Played': False}, u'Studios': [], u'People': [], u'Overview': u'', u'DisplayMediaType': u'', u'DateCreated': u'2016-02-29T13:09:21.6300000Z', u'ImageTags': {u'Primary': u'8f25cbf02be9982fd240bacab7af3860'}, u'Keywords': [], u'SupportsSync': True, u'CustomRating': u'', u'Id': u'f0d8b399da70025f8f2ffc1eff212bcb'}, {u'Genres': [], u'CanDelete': False, u'LocationType': u'FileSystem', u'CanDownload': False, u'IsSynced': False, u'ExternalUrls': [], u'Etag': u'25fea78d2e25cce7db0af4c3724ac30a', u'HasSyncJob': False, u'ScreenshotImageTags': [], u'RemoteTrailers': [], u'ServerId': u'92a4ccc2d9fb4b6f896adc5613bd7683', u'Type': u'UserRootFolder', u'SortName': u'media folders', u'PlayAccess': u'Full', u'Tags': [], u'ProductionLocations': [], u'IsFolder': True, u'LockedFields': [], u'ProviderIds': {}, u'DisplayPreferencesId': u'b21ccc945ed35ac08c3b35d5de9e71f3', u'Path': u'C:\\Users\\editor\\AppData\\Roaming\\Emby-Server\\root\\default', u'BackdropImageTags': [], u'Name': u'Media Folders', u'LockData': False, u'Taglines': [], u'ChildCount': 5, u'UserData': {u'PlayCount': 0, u'Key': u'e9d5075a-555c-1cbc-394e-ec4cef295274', u'PlaybackPositionTicks': 0, u'IsFavorite': False, u'Played': False}, u'Studios': [], u'People': [], u'DateCreated': u'2016-02-29T13:08:34.0157341Z', u'ImageTags': {}, u'Keywords': [], u'SupportsSync': True, u'Id': u'e9d5075a555c1cbc394eec4cef295274'}] 12:59:19 T:16736 ERROR: Exception in thread Thread-10: Traceback (most recent call last): File "C:\Program Files (x86)\Kodi\system\python\Lib\threading.py", line 810, in __bootstrap_inner self.run() File "C:\Users\editor\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\librarysync.py", line 899, in run self.run_internal() File "C:\Users\editor\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\utils.py", line 243, in wrapper result = func(*args, **kwargs) File "C:\Users\editor\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\librarysync.py", line 979, in run_internal self.incrementalSync() File "C:\Users\editor\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\librarysync.py", line 851, in incrementalSync doupdate = items_process.itemsbyId(items, process_type, pDialog) File "C:\Users\editor\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\itemtypes.py", line 200, in itemsbyId actions[process](item) File "C:\Users\editor\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\itemtypes.py", line 1029, in add_update viewtag, viewid, mediatype = emby.getView_embyId(itemid) File "C:\Users\editor\AppData\Roaming\Kodi\addons\plugin.video.emby\resources\lib\read_embyserver.py", line 112, in getView_embyId cursor_emby.execute(query, (viewId,)) OperationalError: database is locked Edited June 22, 2016 by Sinimus
Angelblue05 4132 Posted June 22, 2016 Posted June 22, 2016 @@Sinimus I will need the full log, not a snippet to see what causes the database to get locked.
Recommended Posts