Tyrrrz / DiscordChatExporter

Exports Discord chat logs to a file
MIT License
7.65k stars 699 forks source link

App hangs when exporting some servers #1287

Closed FlashFried closed 1 month ago

FlashFried commented 1 month ago

Version

2.43.3

Flavor

GUI (Graphical User Interface)

Platform

Windows 10

Export format

HTML

Steps to reproduce

I selected all the channels on one server and it started exporting, after about 7-10 minutes, the exporter stops saving and hangs. Is it because the server or channel has too much data?

Details

-Complete Export

-Hangs at 50%-60%

Checklist

Tyrrrz commented 1 month ago

What do you mean by "hangs"?

FlashFried commented 1 month ago

Well, it completely stays on one spot and doesn't export any further. Does it have to do with the MonacoPreviewHandler errror I keep getting?

Tyrrrz commented 1 month ago

Can you take a screenshot of the error?

FlashFried commented 1 month ago

image

Tyrrrz commented 1 month ago

Yeah that would imply you don't have access to the specified channel

FlashFried commented 1 month ago

I actually don't know why it hangs. All I know is that trying to export a specific server suddenly stalls indefinitely at one point. It's the same with the CLI.

Neither the GUI nor CLI give an error. They just stop exporting and hang.

Tyrrrz commented 1 month ago

Is the error you posted above from some other export?

Try to isolate the problem by exporting a subset of channels instead of all of them. If the export still hangs, reduce the subset until you identify the channel that causes it. If it doesn't, export a different subset.

96-LB commented 1 month ago

The export progress is also determined by number of channels completed, so if you hit a particularly large channel the progress will slow down considerably. It's possible that what you think is "hanging" is just a really large channel being next in the queue. You can determine if this is the case by actually looking at the output files and seeing which one is currently being exported when it hangs, and seeing whether that specific file is still getting updated.