mirror of
https://github.com/Tyrrrz/DiscordChatExporter.git
synced 2026-02-17 23:16:26 +00:00
Updated Troubleshooting (markdown)
@@ -30,6 +30,14 @@ More info about .NET date formats [here](https://docs.microsoft.com/en-us/dotnet
|
||||
|
||||
`DiscordChatExporter.Cli.exe export -t <BOTTOKEN> -b -c <CHANNEL>`
|
||||
|
||||
### Username is not in the sudoers file. This incident will be reported
|
||||
Run `su` on Terminal, then `adduser USER sudo`, replacing `USER` with your username. Reboot.
|
||||
|
||||
### Mono command not found
|
||||
If you're trying to execute Mono within a script on macOS, make sure you include the PATH variable.
|
||||
|
||||
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
|
||||
|
||||
```
|
||||
@@ -50,6 +58,20 @@ The command should be like:
|
||||
|
||||
`DiscordChatExporter.Cli.exe export -t <TOKEN> -c <CHANNEL>`
|
||||
|
||||
|
||||
```
|
||||
Unhandled Exception:
|
||||
System.Net.WebException: Error: TrustFailure ... Invalid certificate received from server.
|
||||
...
|
||||
```
|
||||
Try running cert-sync.
|
||||
|
||||
Ubuntu/Debian: `cert-sync /etc/ssl/certs/ca-certificates.crt`
|
||||
|
||||
Red Hat: `cert-sync --user /etc/pki/tls/certs/ca-bundle.crt`
|
||||
|
||||
If it doesn't work, try mozroots: `mozroots --import --ask-remove`
|
||||
|
||||
```
|
||||
Unhandled Exception:
|
||||
System.MissingMethodException: Method 'System.Net.Logging.get_Http' not found.
|
||||
@@ -58,14 +80,6 @@ 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).
|
||||
|
||||
### Username is not in the sudoers file. This incident will be reported
|
||||
Run `su` on Terminal, then `adduser USER sudo`, replacing `USER` with your username. Reboot.
|
||||
|
||||
### Mono command not found
|
||||
If you're trying to execute Mono within a script on macOS, make sure you include the PATH variable.
|
||||
|
||||
Adding `PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin` before the command should solve this.
|
||||
|
||||
***
|
||||
|
||||
If the solution to your problem isn't here and it's not a [known issue](https://github.com/Tyrrrz/DiscordChatExporter/issues?q=is%3Aissue), please [open a new issue](https://github.com/Tyrrrz/DiscordChatExporter/issues/new).
|
||||
Reference in New Issue
Block a user