-
-
Notifications
You must be signed in to change notification settings - Fork 743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export hangs and doesn't continue #1021
Comments
uh oh I forgot to censor my auth token 💀 |
Your token will reset if you change your password |
fixed, thanks for the tip |
Can you test if it also happens on v2.36.4? |
yup, v2.36.4 seems not to have that issue. managed to export all my DMs without issues |
Are you using a bot or a user token? |
I'm using a user token |
So it seems that it might be caused by new rate limit handling (introduced in |
Could also be caused by #1103. Does the channel contain many server invites? |
Is there a way to force the delay to resync, or get a visual signal when delay is active on next expected time? It is stuck for hours and I have no idea if it is working or not, |
The delay should never exceed one minute between requests, AFAIK. So if it's stuck for hours, something else is going wrong. I asked someone to test an older version and it seems they experienced slow exports there too, so I'm not sure what's wrong. |
I am also appearing to have this problem. It downloaded about a third of the channels I set it to, then the yellow loading bar just hung there. Then it started getting smaller whenever I clicked another server icon? It's not even giving me 0kb ghost files for anything now, even on another laptop 20 hours later. I can still chat in all my servers and DM people though, so it's confusing. |
@Tyrrrz I am able to reproduce this error on Is there any way to check the status of the downloads other than the visual indicator in the application window? Are there any other diagnostic criteria I should look into? Looking at my windows task manager there's 0 Network usage leading to the conclusion that the program is stuck in some regard (after a solid 30 minutes of waiting). |
There is no logging, but you might get some insight but looking at the export file and seeing which message it gets stuck on. If it's consistently getting stuck at the same place, it would imply the issue is in the content that gets exported. If it gets stuck at random places, then the issue is probably somewhere else. In any case, I'd also ask to test in |
It has been consistently getting stuck in a different place from the few servers that I've tried. Issue is most likely somewhere else. If you'd like me to perform any other test let me know @Tyrrrz. |
Side note, what update was thread support added? |
Okay then it's most likely caused by the new rate-limiting behavior.
Depends on in which capacity you mean. Because threads are just regular channels, so exporting them was always possible (in CLI). |
Is there any way I can test the or diagnose the rate-limiting behavior?
In regards to GUI support as threads aren't scraped in |
Having the same issue using the latest docker image, works fine on version 2.36.2 |
Can you guys try this CI build? |
I have been running into this same issue for the last 48 hours. Exports keep getting stuck especially in channels with a lot of invalid server invite links. Is there anyway at all to fix this? Tried with both the latest version of version 2.38 |
Have you tried the version linked above? |
Will try it tonight after work and let you know how it works. FYI after switching accounts and IP address, it started working again on version 2.38. |
UPDATE: Tried the version linked above and it does seem to work better. |
Try using it for a while and see if it works better consistently. This issue seems to be non-deterministic, so it's better to gather a larger sample size. |
i'll get right on it, going to try exporting channels ranging from 20k messages to over 500k messages with invite links as well. |
im also having this issue with the latest version, anyone got fixes? |
@Tyrrrz Are you able to re-open the pull request? I never got an opportunity to download the test build. |
I'm currently am using JSON, Show Threads - All |
I'm still experiencing this issue on the latest (v2.43.3) on Linux desktop x64. It still hangs just like in the initial screenshot posted. It seems like it doesn't completely stop, but it just starts going very slowly, so it's possible it gets rate limited for some reason. I think this is the case because if I check the output folder, new files are very slowly being created still (about 1-2 files/s). HTML Dark |
@shootie22 Try to decrease your parallel limit, I think Discord has a way to rate throttle when automation is detected. While that might not be the exact cause it'd help to diagnose. |
Reviving an old thread, but if I remember correctly through my testing the conclusion was that:
So because of that our solutions are limited to:
|
@Tyrrrz Yes, agreeing with your analysis |
I implemented solution 2 (a setting to control whether to respect rate limits) in #1342. Please test the build from that PR to see if it makes a difference. |
Version
2.39.1
Flavor
GUI (Graphical User Interface)
Export format
HTML
Details
Hi DCE devs, I want to first of all thank you for this amazing project. You are doing god's work.
I'm having an issue with exporting chats, it seems to hang after a while and I cannot figure out when or what causes it. What I did was to put in my token, CTRL + A on my DMs and export as HTML to a folder on my Desktop. My C drive has enough storage space. It exports fine until the very last bit, where it just hangs and doesn't continue:

I tried exporting the chats from a small server, and it hung a bit after starting:

I can't figure out what is happening so I'm filing this bug report to hopefully get it working. Thanks in advance!
Steps to reproduce
The text was updated successfully, but these errors were encountered: