this post was submitted on 14 Apr 2025
2 points (100.0% liked)

Perchance - Create a Random Text Generator

652 readers
3 users here now

⚄︎ Perchance

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!

Rules

1. Please follow the Lemmy.World instance rules.

2. Be kind and friendly.

  • Please be kind to others on this community (and also in general), and remember that for many people Perchance is their first experience with coding. We have members for whom English is not their first language, so please be take that into account too :)

3. Be thankful to those who try to help you.

  • If you ask a question and someone has made a effort to help you out, please remember to be thankful! Even if they don't manage to help you solve your problem - remember that they're spending time out of their day to try to help a stranger :)

4. Only post about stuff related to perchance.

  • Please only post about perchance related stuff like generators on it, bugs, and the site.

5. Refrain from requesting Prompts for the AI Tools.

  • We would like to ask to refrain from posting here needing help specifically with prompting/achieving certain results with the AI plugins (text-to-image-plugin and ai-text-plugin) e.g. "What is the good prompt for X?", "How to achieve X with Y generator?"
  • See Perchance AI FAQ for FAQ about the AI tools.
  • You can ask for help with prompting at the 'sister' community Casual Perchance, which is for more casual discussions.
  • We will still be helping/answering questions about the plugins as long as it is related to building generators with them.

6. Search through the Community Before Posting.

  • Please Search through the Community Posts here (and on Reddit) before posting to see if what you will post has similar post/already been posted.

founded 2 years ago
MODERATORS
 

pls help, it decided to put me those notifs when i restarted my pc one day, my data is still present as shown in this screenshot

even after screenshot 2, it still downloads a backup but it doesn't work when trying to import it in an incognito tab i don't want to delete my data because i don't want to lose my characters. sorry if this isn't usual, i'm new to this forum and perchance in general

top 17 comments
sorted by: hot top controversial new old
[–] [email protected] 2 points 1 week ago (1 children)

Can you check the console for any errors when the first screenshot error occurs? Can you also click on the 'this page has errors' on the bottom right of the page?

Pinging dev @perchance.

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago) (1 children)

heres what it gives me when i click "this page has errors" and also, the console gives nothing but "Blocked script execution in 'about:blank' because the document's frame is sandboxed and the 'allow-scripts' permission is not set." thank you. sorry for the late answer, i was away and couldn't use my pc

[–] [email protected] 2 points 1 week ago (1 children)

Can you also check the Console of the page? You can open it with F12.

[–] [email protected] 1 points 1 week ago (1 children)
[–] [email protected] 1 points 1 week ago (1 children)

Can you un-collapse those Errors? They should give more information. Can you also check if the export file is readable here: https://perchance.org/acc-export-viewer

It seems to be throwing errors when trying to get the characters.

[–] [email protected] 1 points 1 week ago* (last edited 1 week ago) (1 children)

i wont fully expand the object error because i opened it up about 1% and, when put into a text editor, it was 11000 lines. same thing for the "t" thing

and my exports end with .cbor.gz not .json nor .json.gz so it shouldn't work but i tried renaming one to .json.gz and that didn't work(it said "File uploaded: None" and in "This page has errors, said "An error has occurred somewhere in your code (in lists or HTML): SyntaxError: Unexpected token '', "�"... is not valid JSON at JSON.parse ()") and same when i rename for json if you need me to expand more, of the trees than what i did, let me know

[–] [email protected] 1 points 6 days ago (1 children)

You've tried to import the .cbor.gz file in an incognito tab right? Did it throw any errors? I've updated this page: https://perchance.org/acc-export-viewer to allow the .cbor.gz files.

[–] [email protected] 1 points 6 days ago* (last edited 6 days ago) (1 children)

thx for updating, now, the site recongnises my file but says "Characters: Null" when i select "create view" and says "this page has error"

and i did try it in an incognito tab and here are the error messages:

and when i type "yes" it just doesn't work, i think that may be because even in an incognito tab, i have one old character i created that is there and even if i try to delete it before and select "delete ALL data" during the import, when i type the final "yes"(the one in the ss), it comes back and even after trying multiple times to do it and to eraase all data, it still comes back and still says that

i forgot to mention it earlier and it might be useful to know, but the character was originally generated using a image generator on perchance, i just cant remember the name of it though, but i know the image generator had an option where you could have a text character created using one of the generated images

[–] [email protected] 2 points 6 days ago (1 children)

i have one old character i created that is there and even if i try to delete it before and select “delete ALL data” during the import, when i type the final “yes”(the one in the ss), it comes back and even after trying multiple times to do it and to eraase all data, it still comes back and still says that

If the character is Chloe - then it is the default one. If you have no data, that character is the default.

Possible cause is that the characters might be corrupted.

Are you able to DM me the file? You can send a Dropbox/OneDrive/Google Drive link.

[–] [email protected] 2 points 5 days ago (1 children)

it is not chloe that comes back, it is an old character i created a long time ago

https://1drv.ms/u/c/602a0a517de64550/Eax3VYbTPXRBqY-WRCVLewsBuJE-oYvMHnhp95zOMS4bHg?e=T6NkVk

here the onedrive link, please don't judge /j

[–] [email protected] 2 points 5 days ago (1 children)

Looking at the export, there were no characters on the export.

Can you try to go to this frame on the console:

Then run this command:

This should redownload the DB in cbor.gz format and you can try to check if it exported again on https://perchance.org/acc-export-viewer.

Do make sure that the IndexedDB on the Application/Storage tab still has the data.

[–] [email protected] 1 points 5 days ago* (last edited 5 days ago) (1 children)

ok so i don't know why, but now, when trying to get on https://perchance.org/ai-character-chat, instead of giving me an error, it just puts my old character i talked to you about, like when i open an incognito window, and in the "application" section of devtools, it doesnt show any data about the character im trying to recover

i don't know what could be causing that, probably something i did when i tried importing it in an icognito tab, because it's now acting like when i was in an incognito tab when i'm not, i'm guessing that means that means the data that didn't work was deleted along with my character.

i also noticed that now, in an icognito tab, its no longer the old character, it's chloe

to answer your question, yes, the indexedDB has data but its not the data of my character, its from an old one

if my guess is right that the data was deleted, i know that not all hope is lost yet because when i manually read the .cbor.gz file, i see every message that was sent as well as other infos that i don't fully understand but i see things like memories so it's probably other data, so i think that there is still something that could be done. if i'm wrong, let me know

also, i guess that if there is no other way, i could just create another character, and tediously copy every message in the .cbor.gz file and remove the random code in the middle of each messages and paste them into the new character

[–] [email protected] 2 points 5 days ago (1 children)

On your picture it seems that you only have one character. Are you expecting more or no? It also seems that you have two DBs:

You may be able to probably fix it by deleting the other one (empty one). But if you have data on that, you might lose it.
When I tried, you could create the 'third' character, and it would add those messages from the thread to that character. Like so:

  1. Open ai-character-chat in incognito
  2. Import the Raw
  3. Keep data
  4. Confirm with 'yes'
  5. If it asks you to delete those threads, click cancel.
  6. Create a new character since the current character ID is #2, so the next one would be #3.
  7. The imported thread would now then show up.

[–] [email protected] 2 points 5 days ago (1 children)

i am not expecting more because, as i said, it's only one character i created a long time ago

when i go in an incognito tab and import my raw, i keep the data, type yes, then it asks me to delete the threads but when i click cancel, it import it anyways and now, i got this

it looks like i have the full message history, but i don't have the remainder notes and settings saved but i don't really care because anyways, i had pretty much nothing there it seems like it works but, just to be sure, does that mean i'm safe to import it in a non-incognito tab?

[–] [email protected] 2 points 5 days ago (1 children)

I think so, yes, but probably delete the empty chatbot-ui-v1 database just to be sure.

[–] [email protected] 3 points 5 days ago (1 children)

i deleted all data but the empty one was still there after so i deleted the database manually, then i imported it in a non-incognito window and it worked fine, tysm for your help!

[–] [email protected] 3 points 5 days ago

No problem, thank you also for being patient with helping on trying to debug these problems.