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] Crash Exporting to Kitsu #2

Closed cpiber closed 3 years ago

cpiber commented 3 years ago

Describe the bug Crashes when exporting to Kitsu, particularly on Toriko (on my plan-to-read if that makes a difference).

To Reproduce Steps to reproduce the behavior:

  1. Export to Kitsu

Screenshots Screenshot_2020-12-23_19-28-26 Screenshot_2020-12-23_19-29-45 Screenshot_2020-12-23_19-31-11 Screenshot_2020-12-23_19-41-00 Screenshot_2020-12-23_19-41-27

Browser Firefox 84.0

Options and logs

{"logs":[{"d":1608744434310,"msg":"Installation version 0.1"},{"d":1608747614175,"msg":"TypeError: this.key is undefined\nStack: KitsuTitle/this.persist@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:4281:37\nKitsuExport/this.execute@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:4173:46\n"},{"d":1608748158345,"msg":"TypeError: this.key is undefined\nStack: KitsuTitle/this.persist@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:4281:37\nKitsuExport/this.execute@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:4173:46\nasync*ExportModule/this.run@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:3249:43\nasync*Module/this.bindInterface/<@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:2877:58\nModuleInterface/this.bindFormSubmit/<@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:5344:21\n"},{"d":1608748233353,"msg":"TypeError: this.key is undefined\nStack: KitsuTitle/this.persist@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:4281:37\nKitsuExport/this.execute@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:4173:46\nasync*ExportModule/this.run@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:3249:43\nasync*Module/this.bindInterface/<@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:2877:58\nModuleInterface/this.bindFormSubmit/<@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:5344:21\nEventListener.handleEvent*ModuleInterface/this.bindFormSubmit@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:5337:23\nModule/this.bindInterface@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:2877:32\nExportModule@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:3268:14\nKitsuExport@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:4123:9\nKitsu.exportModule@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:4197:43\nServiceCard/this.bind/<@moz-extension://33477aff-cb89-4241-a0c9-349e02f7edb0/options/SyncDex_options.js:5647:51\n"}],"options":{"hideHigher":false,"hideLower":false,"hideLast":false,"highlight":true,"groupTitlesInLists":true,"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":["mal","mu","ku"],"mainService":"mal","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}}
Glagan commented 3 years ago

Should be fixed with 0.1.2 that's up for Firefox.

cpiber commented 3 years ago

Yes works now thank you