One day my computer crashed while I was using it and now it’s just this. It doesn’t work in a normal window but it does work in an Incognito one. I do not know what happened. (I have not touched any code in this AI character chat)

  • perchance@lemmy.worldM
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    2 months ago

    Can you try logging in to Perchance and then doing the same thing again? From what I can tell, the above errors are mostly related to ads, which run in a separate ‘sandbox’ so it’s not possible for them to be the cause of this. If you log in then there won’t be ads, and we’ll hopefully see more relevant messages.

    Also, can you see something like the below image? If so, please screenshot that too.

    It seems like it’s getting stuck on one of those “load log” steps, and not making it to the final “load log: finished”.

      • perchance@lemmy.worldM
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 months ago

        Thanks for your patience here 🙏 There’d normally be an error message shown, but it looks like it’s just stopping at renderThreadList (the “PresentationRequest” error in your screenshot is not relevant here). I’ve just added some more logs, which should tell me where specifically within renderThreadList the error is occuring. If you can do exactly the same thing as the above screenshot again, that would be great! You should see:

        renderThreadList called
        renderThreadList: 1
        renderThreadList: 2
        renderThreadList: 3
        ...
        

        And the number where it stops will help me narrow down the cause.

        • Lin1@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          edit-2
          2 months ago

          here you go and thank you for helping me (and possibly others).

          • perchance@lemmy.worldM
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            2 months ago

            Okay, that was helpful, thank you! New test: Can you try refreshing the page, and then waiting about 20 seconds to see if an “export data” button appears at the top of the screen? If so, click it, and let me know if you see any errors in the console (please screenshot if so), and whether it downloads a ai-character-chat-raw-export.cbor file successfully (let me know file size if so). Please also open the console when it’s exporting/downloading and screenshot if you see any errors.

            • Lin1@lemmy.worldOP
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 months ago

              the button was there, there were no errors but it never exported… it just stays loading

              • perchance@lemmy.worldM
                link
                fedilink
                English
                arrow-up
                1
                ·
                2 months ago

                Can you please try again now, and also share screenshot of the logs of the process? It’ll take about 5 minutes, since it will take a while for it to “give up” on the data that it wasn’t able to get. Also can you try going to the “Applications” tab like I describe in this comment:

                https://lemmy.world/comment/13719433

                  • perchance@lemmy.worldM
                    link
                    fedilink
                    English
                    arrow-up
                    1
                    ·
                    edit-2
                    2 months ago

                    Hmm, can you try this:

                    • If you currently have the console open, close it with the “x” in the top-right.
                    • 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 this exact text: await db.characters.get(999999999)
                    • Then press enter, and let me know if you see “undefined” immediately appear underneath it.
                    • If you do see undefined appear, then try pasting it again but change the number to 5 - i.e. await db.characters.get(5)
                    • If you see undefined again, try a few different numbers like 10, 20, 50 - we’re basically trying to guess the IDs of the characters you had to see if we can get data for them individually.
                    • If you don’t see anything appear under the original await db.characters.get(999999999) then please let me know. This complicates matters, and we’ll need to go “deeper” into Chrome to (hopefully) solve this.