Updated Troubleshooting (markdown)

Yudi
2018-10-13 16:24:29 -03:00
parent 58962c8ae8
commit 6ff62f1e6c

@@ -15,8 +15,6 @@ Just run the CLI without parameters, it should output the usage instructions.
### 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`.
`dd` for day, `MMM` for abbreviated month, `yyyy` year, `hh` 12-hour clock, `mm` minute 00 through 59, and `tt` for AM/PM.
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'
@@ -24,17 +22,7 @@ More info about .NET date formats [here](https://docs.microsoft.com/en-us/dotnet
`DiscordChatExporter.Cli.exe -t <BOTTOKEN> -b -c <CHANNEL>`
## Linux
### Unhandled Exception
```
Unhandled Exception:
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) and also on [Mono's Official Documentation](https://www.mono-project.com/download/stable/#download-lin).
```
Unhandled Exception:
@@ -45,11 +33,15 @@ Make sure the arguments and the options (-t, -b, -c...) are correct.
The command should be like:
Mono:
`mono DiscordChatExporter.Cli.exe export -t <TOKEN> -c <CHANNEL>`
`DiscordChatExporter.Cli.exe export -t <TOKEN> -c <CHANNEL>`
Docker:
`docker run tyrrrz/discordchatexporter export -t <TOKEN> -c <CHANNEL>`
```
Unhandled Exception:
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).
### 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.