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!
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.So text did appear when I entered that.
As for the stuff I pasted. If I remember right, uploaded an image from my computer, but I accidently used the user image field. So I thought I cut it. I actually didn’t and ended up pasting several paragraphs in there in the character image box. That’s when chrome crashed and froze up. I had to restart my chromebook to get it working again.
Thanks for the extra details, and thanks for bearing with me here while we debug this.
I’ve just updated the chat page so you can now export the database with the button that pops up after several seconds when the page fails to load. And then once you’ve done that (remember it may take 5 minutes):
The way the export process works is by skipping the ‘corrupt’ character that’s causing the underlying issue - it actually just replaces it with one of your other characters, and then changes its name to ‘CORRUPT’. So you’ll probably lose at least one of your characters, but you’ll still likely have all their chats, so you just need to re-write their name/description/etc.
Hopefully that works, but if not, then please let me know at which point it failed, and any error messages you saw.
Pinging @[email protected] since you mentioned you were experiencing the same issue after a ChromeOS crash. Also pinging @[email protected] and @[email protected] just in case you know of anyone on Discord/Reddit that had a similar issue. I’m fairly sure this is an IndexedDB issue (possibly specific to ChromeOS), by the way, so I’m not sure if it’s possible to fix the underlying cause, except by waiting for the ChromeOS/Chromium team to fix it.
Someone had this happen, over on Reddit. Not sure if something went wrong with it? https://www.reddit.com/r/perchance/comments/1h4veq0/cbor_file/
Ok, so it downloaded it OK. But, the import gave me an error. Just checking: Do I just import it as is? or do you have to unzip it or something?
No need to unzip it or anything. You might have imported it into a window that still has the old version of the app. I.e. hasn’t been refreshed since I updated the code. Can you try refreshing and then import again?
(Also, can you let me know if you find any characters or threads that are named ‘CORRUPT’?)
Yay! Everything worked :).
Yes, I have 2 characters and 2 threads that are CORRUPT.
Here;s a thread. the other was really long. https://pastebin.com/xsUZjyCk
Actually, its not just the corrupt threads. All the chats are having trouble opening:
Disregard that last post. Everything is working now :) Thanks for your hard work!