-
-
Notifications
You must be signed in to change notification settings - Fork 83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to query current display settings for L"\\\\.\\DISPLAY1" #224
Comments
This comment seems to be helpful but I still wasn't able to get it to work. Unrecognized option: host.docker.internal:0
use: X [:<display>] [option]
...
Fatal server error:
(EE) Unrecognized option: host.docker.internal:0
(EE)
31/01/2023 14:33:54 ***************************************
31/01/2023 14:33:54 *** XOpenDisplay failed (WAIThost.docker.internal:0)
*** x11vnc was unable to open the X DISPLAY: "WAIThost.docker.internal:0", it cannot continue. |
The below errors are not so important, as I'm having them often, so they can be ignored and they shouldn't affect the run time in overall. I didn't look in too much details how to fix them.
E.g. |
You're running
On success, it's returns exit code 0, on failure 1. This script is used for CI/CD to test for any regressions. So 0 trades is expected. Source code: https://github.com/EA31337/EA-Tester/blob/master/tests/TestEnvelopes.mq4 |
For run with |
To test using EA31337 Advanced which should work better in terms of trading, try:
Note: 2021 year is also supported, 2022 needs to be yet released. Or use EA31337 Libre, which is simpler EA, but still should trade fine:
|
This error it's something to do with To disable installation of To avoid VNC running during the backtest run, you need to make sure the process |
I've looked again into your issue at pastebin, and your main error is actually (wrongly printed as info, because it's just printing number of compiled files):
If you look at the stack trace at your pastebin output, it's:
Which points to this line: https://github.com/EA31337/EA-Tester/blob/v1.0.4/scripts/run_backtest.sh#L847
So that means, for some reason the provided file ( Useful tip: If you want to know exactly why the tester script failed, add |
Heya,
I'm having trouble running the example command from the README:
The pertinent section of the logs seems to be:
Full output: https://pastebin.com/JdBxx2k1
I'm running this on a MacOS host using Docker Desktop.
Running the other example command
docker run ea-tester run_backtest -e TestEnvelopes -v
yeilds similar warnings related to the display:Full output: https://pastebin.com/QD0xskR6
The test report consists of all zeros, which I'm assuming is incorrect?
Any ideas how I might resolve these errors 🙏 ?
The text was updated successfully, but these errors were encountered: