From 2a32e59102f8bdb63e477f294fd1b214431d561c Mon Sep 17 00:00:00 2001 From: Yudi Date: Tue, 23 Oct 2018 21:10:32 -0300 Subject: [PATCH] Updated Troubleshooting (markdown) --- Troubleshooting.md | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/Troubleshooting.md b/Troubleshooting.md index aa164f9..42a7576 100644 --- a/Troubleshooting.md +++ b/Troubleshooting.md @@ -1,11 +1,17 @@ # General ### 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? -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 button to switch to Bot Token. # CLI @@ -24,6 +30,13 @@ More info about .NET date formats [here](https://docs.microsoft.com/en-us/dotnet ### 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: 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 Run `su` on Terminal, then `adduser USER sudo`, replacing `USER` with your username. Reboot. - -## macOS - ### 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.