Basically the title. I can’t access the actual AI-Character-Chat. I just wanted to download my characters.
I found the localDB in chrome, but I’m having trouble exporting. The exporters on the extension store don’t work.
Thanks!
Basically the title. I can’t access the actual AI-Character-Chat. I just wanted to download my characters.
I found the localDB in chrome, but I’m having trouble exporting. The exporters on the extension store don’t work.
Thanks!
Okay, please try again now. You’ll need to wait about 5 minutes. I’ve added some code that will hopefully download everything it can, instead of completely failing because there’s some specific data that it can’t get. And it takes a few minutes to “give up” on the data that it can’t seem to get.
Please make sure you screenshot all the “downloadRawDb: …” logs in the console for me - I’ve added some important ones that I need to see to determine what the step after this is.
Thank you! I appreciate the work - if you need any other help I am also on the discord: Sunnydaze. For some reason I could not upload more pictures here. so I put them on Imgur
Thanks for that. So it looks like we have confirmation that the character store specifically (and nothing else) is corrupted. Can you please open the console on the perchance.org/ai-character-chat page again, and this time click the “Applications” tab above the console (you can see it in the last screenshots you sent).
Then click “IndexedDB” in the site bar (it’s under the “Storage” sub-header), and it’ll unfold into some sub-items, one of which is “chatbot-ui-v1”, and if you click that, it’ll unfold into a bunch of items, one of which should be “characters”. If you click the “characters” item, ideally it’ll show you a list of rows, each of which correspond to a character, like in the screenshot below. I’m guessing it might give you an error, or just not load them. Can you try?
I’m hoping that it’s one specific character that’s corrupted, in which case we will hopefully be able to export all the others somehow.
Apologies for the back-and-forth on this. This is hard to fix when I’m not able to replicate the issue myself. I’ve legitimately been thinking about how I could cause my old laptop to crash over and over until I can replicate this, and I might eventually give that a shot.
characters was able to open, but there’s a lot of entries. I drew over a entry because it is chringey lol.
When the crash happened, I think I accidentally pasted the wrong thing into one of the character profile fields. I can’t remember, but I’m thinking it was the image field or something. But then chrome froze up and I had to restart it.
Oh, looks like you’re in luck, since all your character data appears to be there. Are you able to tell whether any characters are missing? I’m wondering if it got “caught” at one of the characters and stopped there. In that case it may be as simple as finding the ID of the ‘corrupted’ character and deleting it, which would ‘unclog’ the database pipes, so to speak.
Also, can you try closing the console with the “x” button in the top-right (if you currently have it open), and then right-clicking in the middle of the page, and selecting “Inspect” in the menu that appears. It’ll open up the console thing, but it’ll be on the “Elements” tab. Click the “Console” tab and scroll to the bottom, and type/paste
await db.characters.get(58)
(you must type/paste that exact text) and press enter, and let me know if some text appears underneath it about “Nyx” (which based on your screenshot has an id of 58). If so, then that is excellent. If not (i.e. if nothing happens, or you see “undefined”), then the plot thickens.This is a extremely useful clue, thank you! If you can strain your brain for any more detail there I would be immensely grateful, since it suggests that I may be able to reproduce the issue on my own computer, and prevent this sort of issue from ever occurring again. For example, was the thing you were pasting a huge amount of text? E.g. a
data:
URL? Any other details you can remember, even if you’re half-guessing, would be useful.