Updated Troubleshooting (markdown)

Yudi
2018-10-23 21:10:32 -03:00
parent cebfd0cded
commit 2a32e59102

@@ -1,11 +1,17 @@
# General # General
### I can't find my Token ### I can't find my Token
The instructions to find your Token are [here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs). The steps to find your Token are [here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-Channel-IDs).
### Where is Channel ID? ### Where is Channel ID?
The instructions to find Channel IDs are [here](https://github.com/Tyrrrz/DiscordChatExporter/wiki/Obtaining-Token-and-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).
# GUI
### How can I use a bot token?
Click on the <img src="https://i.imgur.com/LaKmL3o.png" height="17" /> button to switch to Bot Token.
# CLI # CLI
@@ -24,6 +30,13 @@ More info about .NET date formats [here](https://docs.microsoft.com/en-us/dotnet
### Unhandled Exception ### Unhandled Exception
```
Unhandled Exception:
DiscordChatExporter.Core.Exceptions.HttpErrorStatusCodeException: Error HTTP status code: Unauthorized - UNAUTHORIZED
...
```
Make sure the token is correct. If it is a bot token, don't forget to use `-b`
``` ```
Unhandled Exception: Unhandled Exception:
System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values. System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
@@ -41,16 +54,13 @@ System.MissingMethodException: Method 'System.Net.Logging.get_Http' not found.
... ...
``` ```
Make sure you've installed Mono correctly. The instructions are available [here](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).
### Username is not in the sudoers file. This incident will be reported ### 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. Run `su` on Terminal, then `adduser USER sudo`, replacing `USER` with your username. Reboot.
## macOS
### Mono command not found ### Mono command not found
If you're trying to execute mono within a script, make sure you include the PATH variable. 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 mono command should solve this. Adding `PATH=/Library/Frameworks/Mono.framework/Versions/Current/bin/:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin` before the mono command should solve this.