Glagan / SyncDex

Automatically sync what you read on MangaDex across many services like MyAnimeList, Anilist, Kitsu and more.
Mozilla Public License 2.0
46 stars 0 forks source link

[BUG] Importing Main Service doesn't work #3

Closed cpiber closed 3 years ago

cpiber commented 3 years ago

Describe the bug When importing, mainService is not valid and afterwards no service is set as the main one.

Screenshots Screenshot_2020-12-23_21-57-43

Browser Firefox 84.0

Options and logs

{"lastSync":1608757157076,"logs":[{"d":1608744434310,"msg":"Installation version 0.1"},{"d":1608750549612,"msg":"Uploaded Local Save to Google Drive"},{"d":1608750549624,"msg":"Synced your save with GoogleDrive"},{"d":1608750662383,"msg":"Error: Could not establish connection. Receiving end does not exist.\nStack: syncSave@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/background/SyncDex_background.js:5473:47\n"},{"d":1608751087846,"msg":"Error: Could not establish connection. Receiving end does not exist.\nStack: syncSave@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/background/SyncDex_background.js:5473:47\n"},{"d":1608751497412,"msg":"Error: Could not establish connection. Receiving end does not exist.\nStack: syncSave@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/background/SyncDex_background.js:5473:47\n"},{"d":1608751645848,"msg":"Uploaded Local Save to Google Drive"},{"d":1608751645853,"msg":"Synced your save with GoogleDrive"},{"d":1608753068663,"msg":"Uploaded Local Save to Google Drive"},{"d":1608753068667,"msg":"Synced your save with GoogleDrive"},{"d":1608753130249,"msg":"Uploaded Local Save to Google Drive"},{"d":1608753130254,"msg":"Synced your save with GoogleDrive"},{"d":1608753431527,"msg":"Error: Could not establish connection. Receiving end does not exist.\nStack: syncSave@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/background/SyncDex_background.js:5473:47\n"},{"d":1608753502835,"msg":"Error: Could not establish connection. Receiving end does not exist.\nStack: syncSave@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/background/SyncDex_background.js:5473:47\n"},{"d":1608753749669,"msg":"Error: Could not establish connection. Receiving end does not exist.\nStack: syncSave@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/background/SyncDex_background.js:5473:47\n"},{"d":1608753911226,"msg":"Error: Could not establish connection. Receiving end does not exist.\nStack: syncSave@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/background/SyncDex_background.js:5473:47\n"},{"d":1608754255875,"msg":"Error: Could not establish connection. Receiving end does not exist.\nStack: syncSave@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/background/SyncDex_background.js:5473:47\n"},{"d":1608754444835,"msg":"Error: Could not establish connection. Receiving end does not exist.\nStack: syncSave@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/background/SyncDex_background.js:5473:47\n"},{"d":1608754730113,"msg":"Error: Could not establish connection. Receiving end does not exist.\nStack: syncSave@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/background/SyncDex_background.js:5473:47\n"},{"d":1608756826385,"msg":"Error: Could not establish connection. Receiving end does not exist.\nStack: syncSave@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/background/SyncDex_background.js:5473:47\n"},{"d":1608757083908,"msg":"Uploaded Local Save to Google Drive"},{"d":1608757083917,"msg":"Synced your save with GoogleDrive"},{"d":1608757158043,"msg":"Uploaded Local Save to Google Drive"},{"d":1608757158048,"msg":"Synced your save with GoogleDrive"}],"options":{"hideHigher":false,"hideLower":false,"hideLast":false,"highlight":true,"groupTitlesInLists":false,"thumbnail":true,"originalThumbnail":false,"progressInThumbnail":true,"thumbnailMaxHeight":80,"separateLanguages":true,"favoriteLanguage":"gb","saveOpenedChapters":false,"chaptersSaved":100,"saveOnlyHigher":true,"saveOnlyNext":true,"confirmChapter":true,"updateOnlyInList":true,"linkToServices":true,"overviewMainOnly":true,"autoSync":true,"mdUpdateSyncDex":false,"biggerHistory":false,"chapterStatus":false,"notifications":true,"errorNotifications":true,"useMochi":true,"acceptLowScore":false,"updateMD":true,"checkOnStartup":false,"checkOnStartupMainOnly":true,"checkOnStartupCooldown":30,"services":["mu","mal","ku"],"mainService":"mu","noReloadStatus":true,"tokens":{"kitsuToken":"set","kitsuUser":"set"},"colors":{"highlights":["rgba(28, 135, 141, 0.8)","rgba(22, 65, 87, 0.8)","rgba(28, 103, 141, 0.8)"],"nextChapter":"rgba(199, 146, 2, 0.4)","higherChapter":"transparent","lowerChapter":"rgba(180, 102, 75, 0.4)","openedChapter":"rgba(28, 135, 141, 0.4)"},"version":0.1,"subVersion":1},"saveSync":{"service":"GoogleDrive","token":"set","expires":1608760678742,"refresh":"set","id":"1V-xe6upxt54uicgts4wU3zU9uXTbeWge6DkLAsTE07KLLrxgEA"}}
Glagan commented 3 years ago

Should be fixed in 0.1.3.