mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-07 18:40:36 +00:00
Updated Troubleshooting (markdown)
@@ -6,19 +6,21 @@ The steps to find your Token are [here](https://github.com/Tyrrrz/DiscordChatExp
|
||||
### Where are the 'Channel IDs'?
|
||||
The steps to find Channel IDs are [here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs).
|
||||
|
||||
### How do I run this on Mac/Linux?
|
||||
You can find the instructions to run **DiscordChatExporter CLI** on [macOS here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/macOS-usage-instructions), and on [Linux here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Linux-usage-instructions).
|
||||
### How do I run this tool on Mac/Linux?
|
||||
You can find the instructions to run DiscordChatExporter on [macOS here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/macOS-usage-instructions), and on [Linux here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Linux-usage-instructions).
|
||||
|
||||
### How do I set DCE to export automatically at certain times?
|
||||
You can find the instructions on how to schedule **DiscordChatExporter CLI** runs on [Windows here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Scheduling-exports-on-Windows), on [macOS here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Scheduling-exports-on-macOS), and on [Linux here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Scheduling-exports-with-Mono-&-Crontab).
|
||||
|
||||
### It crashes/fails
|
||||
If your **.NET Framework version** is older than 4.6, [please update](https://dotnet.microsoft.com/download/dotnet-framework).
|
||||
|
||||
If your .**NET version is greater**, please check if the solution to your problem is on this page.
|
||||
Please [check the version of your .NET Framework](https://docs.microsoft.com/en-us/dotnet/framework/migration-guide/how-to-determine-which-versions-are-installed).
|
||||
<br/>
|
||||
If your **.NET is older than 4.6**, [please update](https://dotnet.microsoft.com/download/dotnet-framework).
|
||||
<br/>
|
||||
If your .**NET is up-to-date**, please check if the solution to your problem is on this page.
|
||||
|
||||
### System.OutOfMemoryException
|
||||
Try using date ranges or partitioning. ([#125](https://github.com/Tyrrrz/DiscordChatExporter/issues/125))
|
||||
Try using date ranges or partitioning. (Issue [#125](https://github.com/Tyrrrz/DiscordChatExporter/issues/125))
|
||||
|
||||
# CLI
|
||||
|
||||
@@ -27,11 +29,11 @@ Just run the CLI without parameters, it should output the usage instructions.
|
||||
If you're using Docker, please refer to the [Docker Usage Instructions](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Docker-usage-instructions).
|
||||
|
||||
### How do I export to TXT, CSV or Light HTML?
|
||||
The file format can be changed with the `-f` option. The available formats are PlainText, HtmlDark, HtmlLight, Csv.
|
||||
The file format can be changed with the `-f` option. The available formats are PlainText, HtmlDark, HtmlLight and Csv.
|
||||
|
||||
### How can I change the date format?
|
||||
Date formats can be changed with the `--dateformat` option. The default one is `dd-MMM-yyyy hh:mm tt`.
|
||||
|
||||
<br/>
|
||||
More info about .NET date formats [here](https://docs.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings).
|
||||
|
||||
### Option '-b' parse error: could not parse '\<BOTTOKEN>' to 'System.Boolean'
|
||||
@@ -47,7 +49,7 @@ Run `su` on Terminal, then `adduser USER sudo`, replacing `USER` with your usern
|
||||
|
||||
### Mono command not found
|
||||
If you're trying to execute Mono within a script on macOS, make sure you include the PATH variable.
|
||||
|
||||
<br/>
|
||||
Adding `PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin` before the command should solve this.
|
||||
|
||||
### Unhandled Exception
|
||||
@@ -67,7 +69,7 @@ System.ArgumentOutOfRangeException: Specified argument was out of the range of v
|
||||
...
|
||||
```
|
||||
Make sure the arguments and the options (-t, -b, -c...) are correct.
|
||||
|
||||
<br/>
|
||||
The command should be like:
|
||||
|
||||
`DiscordChatExporter.Cli.exe export -t <TOKEN> -c <CHANNEL>`
|
||||
@@ -80,12 +82,14 @@ System.Net.WebException: Error: TrustFailure ... Invalid certificate received fr
|
||||
...
|
||||
```
|
||||
Try running cert-sync.
|
||||
|
||||
<br/>
|
||||
Debian/Ubuntu: `cert-sync /etc/ssl/certs/ca-certificates.crt`
|
||||
|
||||
<br/>
|
||||
Red Hat: `cert-sync --user /etc/pki/tls/certs/ca-bundle.crt`
|
||||
<br/><br/>
|
||||
If it still doesn't work, try mozroots: `mozroots --import --ask-remove`
|
||||
<br/>
|
||||
Further reading: [(3) Verify Installation](https://www.mono-project.com/download/stable/#download-lin).
|
||||
|
||||
<br/>
|
||||
|
||||
@@ -96,7 +100,7 @@ System.MissingMethodException: Method 'System.Net.Logging.get_Http' not found.
|
||||
...
|
||||
```
|
||||
|
||||
Make sure mono is correctly installed if you're running [macOS](https://github.com/Tyrrrz/DiscordChatExporter/wiki/macOS-usage-instructions) or [Linux](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Linux-usage-instructions).
|
||||
Make sure Mono is correctly installed if you're running [macOS](https://github.com/Tyrrrz/DiscordChatExporter/wiki/macOS-usage-instructions) or [Linux](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Linux-usage-instructions).
|
||||
|
||||
***
|
||||
|
||||
|
||||
Reference in New Issue
Block a user