Updated Common Errors (markdown)

HojouFotytu 2021-04-19 12:00:48 +09:00
parent 9d573b5182
commit 7512abede0
1 changed files with 3 additions and 3 deletions

@ -7,7 +7,7 @@ If you right click the CMD file and choose properties, then you should see somet
## Error when starting monitor
After you have finished the installation of **PT Magic**, started the application, then the monitor application (webserver) and browse to http://localhost:5000 the brwoser shows this error message:
> Could not find a part of the path '/home/user/ptmagic/ptmagic/_data/LastRuntimeSummary.json'
`Could not find a part of the path '/home/user/ptmagic/ptmagic/_data/LastRuntimeSummary.json'`
This may be caused by the fact that the **PT Magic** application did not finish its first run yet. This can take up to 10-15 minutes because it collects a lot of data from the exchange for the last 24 hours to build the market trends. The summary file as well as the _data folder is created after that has been completed.
@ -25,7 +25,7 @@ This means you have specified a settings file in one of your global settings, bu
You are missing a closing bracket at the end of the previous object in your settings.
## (Profit Trailer) ERROR AppErrorController - Invalid api_token received - No data returned <br><br> (PT Magic) The remote server returned an error: (401) Unauthorized <br><br> (PT Magic) No Server API Token specified.
## (Profit Trailer) ERROR AppErrorController - Invalid api_token received - No data returned <br> (PT Magic) The remote server returned an error: (401) Unauthorized <br> (PT Magic) No Server API Token specified.
For PTM to access PT's API and get required data, you need to set an API token in your PT settings, and then add that token to your Profit Trailer settings.general.json file. See: (https://wiki.profittrailer.com/doku.php?id=web_interface_guide#server_settings) and (https://github.com/PTMagicians/PTMagic/releases/tag/2.1.0).
@ -39,7 +39,7 @@ This usually happens when a raid takes longer than the **IntervalMinutes** you'v
Your settings.general.json file is likely missing a comma after one of your settings. You can also use a [JSON validator](https://codebeautify.org/jsonvalidator) tool to check for other errors.
## Error occurs when "Switching global settings to [global setting name]"
"FATAL - A error occurred durng the raid... System.InvalidOperationException Sequence contains no elements..." indicates that PTM is trying to change a parameter in your PAIRS, DCA, or INDICATORS file that is located on the very first line of your default settings file. Insert a few blank (or commented) lines at the top of your default setting file to fix this.
`FATAL - A error occurred durng the raid... System.InvalidOperationException Sequence contains no elements...` indicates that PTM is trying to change a parameter in your PAIRS, DCA, or INDICATORS file that is located on the very first line of your default settings file. Insert a few blank (or commented) lines at the top of your default setting file to fix this.
## Expected keyword (True, False, and, or) but found...
This means you are using a buy/sell FORMULA in your PT settings, but the logic of your formula is incorrect. Please ask on the PT discord to make sure your formula is correct. If it is, but you still get this error be sure you are using spaces between all your arguments: eg., "(A && B) || (A && C)"