Hello again!
I got busy, but this has been resolved a few days ago. Thank you so much to the Perchance dev and mods!!
This is a Lemmy Community for perchance.org, a platform for sharing and creating random text generators.
Feel free to ask for help, share your generators, and start friendly discussions at your leisure :)
This community is mainly for discussions between those who are building generators. For discussions about using generators, especially the popular AI ones, the community-led Casual Perchance forum is likely a more appropriate venue.
See this post for the Complete Guide to Posting Here on the Community!
1. Please follow the Lemmy.World instance rules.
2. Be kind and friendly.
3. Be thankful to those who try to help you.
4. Only post about stuff related to perchance.
5. Refrain from requesting Prompts for the AI Tools.
text-to-image-plugin
and ai-text-plugin
) e.g. "What is the good prompt for X?", "How to achieve X with Y generator?"6. Search through the Community Before Posting.
Hello again!
I got busy, but this has been resolved a few days ago. Thank you so much to the Perchance dev and mods!!
@perchance@lemmy.world pinging dev. The problem is in the line 3269
on setting the usageStats
.
...
// line 3269
if(result.exportUserData === "no") {
json.data.data.find(d => d.tableName === "usageStats").rows = []; // Throws error here
} else {
let usageStats = json.data.data.find(d => d.tableName === "usageStats");
if(usageStats) {
usageStats.rows = usageStats.rows.filter(entry => keepThreadCheck(entry.threadId) && keepCharacterCheck(entry.characterId));
}
}
...
Seems like on the DB Schema (line 2813
), usageStats
is no longer used, so maybe just removing them in the export fixes them.
Thanks! Fixed.
I, too, have encountered the same issue. Is there something on this line of code that needs to be changed in order for this action to function properly?
Click edit on the top, then on the bottom right panel, go to that line and delete that section of code. Click 'reload' on the top of the HTML panel, then export your data. No need to click 'save' since it would create a new page.