Skip to content

Common Errors

HojouFotytu edited this page Jun 3, 2018 · 9 revisions

PT Magic or Monitor refuses to start (without errors)

If you right click the CMD file and choose properties, then you should see something like “this has been downloaded from another computer and is blocked. Please unblock ...” Click the unblock box and apply.

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'

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.

The PT Magic window should show messages like that if its finished:

FATAL - Error loading configuration!

If you setup the Profit Trailer path in "settings.general.json" and "Monitor/appsettings.json", make sure you use DOUBLE backslashes in the path. Otherwise you get the follwing error:

FATAL - Error loading configuration! System.FormatException Could not parse the JSON file

Ticker update failed! - PTMagic Monitor failed to update data.

This is often caused by an incorrect TimezoneOffset in settings.general.json
See: settings.general.json

Missing DLL(s) on older windows versions

If you start seeing something like this:

You may want to update your Universal C Runtime for Windows:
https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows

Debian/Unix - Segfault error

Solution (thanks to @Arararararagi):
sudo apt remove libssl1.0.0/now
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install libssl1.0.2

High CPU usage on Unix systems

Some users reported high CPU usage on Unix systems and at least for some users the issue was fixed but installing/updating the Curl/libcurl package on their machine like this:

wget https://curl.haxx.se/download/curl-7.50.3.tar.gz
tar xvf curl-7.50.3.tar.gz
cd curl-7.50.3/
./configure
make`
sudo make install
sudo ldconfig

Taken the instructions from here:
https://howto-ubuntunew.blogspot.de/2016/09/how-to-install-curl-7503-released-on.html