I need help with a WineHQ error. I’m developing a trading bot in Python on a AWS Debian cloud distribution for MetaTrader 5 (MT5). Since MT5 only runs on Windows, I need Wine to run python programs and the MetaTrader5 terminal for my implementation, and so far, there have been no issues. Once a week, I upgrade my installed debian packages and upgrade my Python packages with pip. One of those packages is MetaTrader5, which I upgraded too. Immediately after upgrading, I started my bot again using the following commands
Code: Select all
wine cmd
venv/Scripts/activate.bat
python <path to program>
Code: Select all
wine: Call from 00006FFFFF40CF77 to unimplemented function ucrtbase.dll.crealf, aborting
wine: Unimplemented function ucrtbase.dll.crealf called at address 00006FFFFF40CF77 (thread 02d8), starting debugger...
WineDbg attached to pid 02d4
02e4:fixme:dbghelp:elf_search_auxv can't find symbol in module
02e4:fixme:dbghelp:elf_search_auxv can't find symbol in module
wine: Call from 00006FFFFF40CF77 to unimplemented function ucrtbase.dll.crealf, aborting
The program had been running without problems for about six weeks, so I don't think the error is due to a missing DLL, as the file is present. I am using Wine version 10.0, and using Winetricks to install that DLL didn’t resolve the issue either.
I reinstalled everything from scratch: I removed the Wine configuration directory, uninstalled MT5, and the Windows Python installation that I had previously installed with Wine (I know it’s a bit unusual to install Python with Wine on Linux, but since MT5 only runs on Windows, this is my only option). MT5 terminal as an application starts without problems. It’s just that the MetaTrader5 module for python generates the error if I import it in my program. I downgraded this module it to a lower version, a version for which my program still ran without problems but the error still shows up. When I leave out the line that imports the MetaTrader5 module my program runs fine but of course I lose all the coded functionality.
I have been patiently waiting for the error to disappear, but of course, it hasn’t, and now I’m stuck.
What could be the reason for this error suddenly appearing, preventing me from running my program anymore?
Main question: how do I investigate this?
Hope someone can guide me here.
thanks in advance
kind regards
M