





Hi guys. when i open my perchance chat (ai-rpg) it is not auto-loading my story anymore, i always have to load (and also save) it manually. Here is the error i have everytime i load my save:
An error has occurred somewhere in your code (in lists or HTML):
In the function called loadDataIntoLocalStorage within your lists editor, near line number 919, there’s a mistake in your code that’s causing this error:
anonymous/returnValue<@?__generatorLastEditTime=1758247765221 line 2096 > Function:28:1 anonymous@?__generatorLastEditTime=1758247765221 line 2096 > Function:42:20 window.loadAutoBackupClickHandler@?__generatorLastEditTime=1758247765221 line 4787 > injectedScript:68:31 onclick@?__generatorLastEditTime=1758247765221 line 4979 > eval:2:8 @?__generatorLastEditTime=1758247765221 line 4979 > eval:3:15 PERCH.reAttachSpecificDomElementEventWithRoot/el[name]@?__generatorLastEditTime=1758247765221:4979:15
Here’s the line (or one near it) which seems to be the cause of the error:
localStorage.storySoFar = data.storySoFar || “”;
And here’s the surrounding code:
function loadDataIntoLocalStorage(data) { localStorage.storyOverview = data.storyOverview || “”; localStorage.storySoFar = data.storySoFar || “”; localStorage.whatHappensNext = data.whatHappensNext || “”; localStorage.responseStyle = data.responseStyle || “”; localStorage.responseStyleCustomInput = data.responseStyleCustomInput || “”; localStorage.storyWritingStyleCustomInput = data.storyWritingStyleCustomInput || “”;
(Note that any line numbers and/or snippets given above could be inaccurate e.g. due to an unclosed bracket much earlier in your script, or something like that.) An error has occurred somewhere in your code (in lists or HTML): There was an error in the onclick attribute of this element in your HTML panel: <button onclick=“window.loadAutoBackupClickHandler(0)” style=“margin-right:0.25rem;”>📦 load</button>. Here’s the error: QuotaExceededError: The quota has been exceeded. An error has occurred somewhere in your code (in lists or HTML): anonymous/returnValue<@?__generatorLastEditTime=1758247765221 line 2096 > Function:28:1 anonymous@?__generatorLastEditTime=1758247765221 line 2096 > Function:42:20 window.loadAutoBackupClickHandler@?__generatorLastEditTime=1758247765221 line 4787 > injectedScript:68:31 onclick@?__generatorLastEditTime=1758247765221 line 4979 > eval:2:8 @?__generatorLastEditTime=1758247765221 line 4979 > eval:3:15 PERCH.reAttachSpecificDomElementEventWithRoot/el[name]@?__generatorLastEditTime=1758247765221:4979:15 An error has occurred somewhere in your code (in lists or HTML):
In the function called loadDataIntoLocalStorage within your lists editor, near line number 919, there’s a mistake in your code that’s causing this error:
anonymous/returnValue<@?__generatorLastEditTime=1758247765221 line 2096 > Function:28:1 anonymous@?__generatorLastEditTime=1758247765221 line 2096 > Function:42:20 anonymous/returnValue</</input.onchange@?__generatorLastEditTime=1758247765221 line 2094 > AsyncFunction:42:31
Here’s the line (or one near it) which seems to be the cause of the error:
localStorage.storySoFar = data.storySoFar || “”;
And here’s the surrounding code:
function loadDataIntoLocalStorage(data) { localStorage.storyOverview = data.storyOverview || “”; localStorage.storySoFar = data.storySoFar || “”; localStorage.whatHappensNext = data.whatHappensNext || “”; localStorage.responseStyle = data.responseStyle || “”; localStorage.responseStyleCustomInput = data.responseStyleCustomInput || “”; localStorage.storyWritingStyleCustomInput = data.storyWritingStyleCustomInput || “”;
(Note that any line numbers and/or snippets given above could be inaccurate e.g. due to an unclosed bracket much earlier in your script, or something like that.)
Anyone? :'(