Keyboard Shortcuts
Likes
Search
ERRORLEVEL = 1004
Hello, I am new to IBC and upon installing the latest version of IB GATEWAY, I am receiving this error: This log file is located at:
? ? C:\IBC\IBCWin-3.21.0\Logs\IBC-3.21.0_GATEWAY-1034_MONDAY.txt
================================================================================ Starting IBC version 3.21.0 on Wed 02/19/2025 at ?6:51:24.52
'wmic' is not recognized as an internal or external command,
operable program or batch file. Arguments:
TWS version = 1034
Program = Gateway Entry point = ibcalpha.ibc.IbcGateway /TwsPath = C:\Jts\ibgateway\1034 /TwsSettingsPath =? /IbcPath = C:\IBC\IBCWin-3.21.0 /Config = C:\Users\JJ\Documents\IBC\config.ini /Mode =? /JavaPath =? /User = /PW = /FIXUser = /FIXPW = =========================== An error has occurred ============================= ?
Error: Offline TWS/Gateway version 1034 is not installed: can't find jars folder?
? ? ? ?Make sure you install the offline version of TWS/Gateway ? ? ? ?IBC does not work with the auto-updating TWS/Gateway |
开云体育This error nearly always means that you’ve installed the self-updating version of Gateway rather than the offline version. Either that, or you’ve somehow installed it in the wrong place. ? The message that says ‘'wmic' is not recognized as an internal or external command, operable program or batch file’ needs attention. wmic is a built-in command line program that can provide detailed information about the installed version of Window: Microsoft have decided to deprecate it, and it will be removed from windows altogether in the next Windows 11 version. It can still be used for now, but it needs to be enabled. The IBC script uses it just to get the current version of Windows. The script will run fine without I, but it’s a potentially useful bit of information in the log file, so I suggest you enable it. See here: ? ? I will have to update the script to use alternative means of getting this information, but in the meantime just enable wmic. ? Richard |
No luck, I really don't understand what I am doing wrong here: This log file is located at:
? ? C:\IBC\Logs\IBC-3.21.1_GATEWAY-1019_TUESDAY.txt
================================================================================ Starting IBC version 3.21.1 on Tue 03/04/2025 at 10:28:03.43
Operating system: ?Microsoft Windows 11 Pro ?64-bit ? ? ? ? ?10.0.26100 ?
Arguments:
TWS version = 1019
Program = Gateway Entry point = ibcalpha.ibc.IbcGateway /TwsPath = C:\Jts /TwsSettingsPath =? /IbcPath = C:\IBC /Config = C:\Users\JJ\Documents\IBC\config.ini /Mode =? /JavaPath =? /User = /PW = /FIXUser = /FIXPW = =========================== An error has occurred ============================= ?
Error: Offline TWS/Gateway version 1019 is not installed: can't find jars folder?
? ? ? ?Make sure you install the offline version of TWS/Gateway ? ? ? ?IBC does not work with the auto-updating TWS/Gateway |