-
Notifications
You must be signed in to change notification settings - Fork 181
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
IBC Can't Handle Program Files Space... #234
Comments
If you follow the instructions usinf the defaults, installation is very quick and totally painless, so the nightmare is partly of your own making. Having said that, there's a handful of places in the .bat scripts files where variables need surrounding quotes to prevent problems when some paths contain spaces. Once they're fixed it works fine. I was hoping to get corrected files to you tonight, but I've just got one more such issue to correct, and it's getting rather late here in the UK, so I'll leave that for tomorrow. While I understand your desire to comply with the 'standard' locations for program files etc on Windows, there are good reasons whiy I didn't use C:\Program Files as the default location. The difficulties you've encountered getting it installed (quite apart from the script faults) are exactly those reasons. The fact is that IBKR's installers are not geared for installing in that location, and doing it myself today to mirror your setup was a good reminder of the problems. Since the IBKR installer and IBC defaults make it trivial to install everything, and since i don't want to spend my time explaning to people how to do it the 'proper' way, which would simply generate a huge support load for me, I've never bothered with working through all this before, hence the undiscovered bugs. So I will finish fixing these script errors and let you have them as soon as they're done, probably tomorrow. In the meantime, I would seriously suggest you do the easy thing and just follow the instructions in the User Guide without changing any locations, so that at least you have a working system. All you have to do is:
Whe you get the corrected scripts, it'll be easy enough to switch over to your desired configuration. |
I've attached a zip containing updated Put these in the I'll include these in the next release, and I'll also push them to the repository. |
Close, but still not working. Only way i found was renaming the TWS folder to version number minus dot. Power Shell as admin cmd: This might work. |
You say Can you provide some evidence of this? In particular, attach your IBC log file so I can see what's happening. I just tested it by moving the Jts and IBC folders to C:\Program Files, and changing the StartTWS.bat file settings like this:
So both TWS and IBC run from C:\Program Files. It worked fine, as far as displayig the TWS login form: I couldn't complete the login because both my live and paper accounts are in use on another machine. Note that you have to run StartTWS.bat from an elevated command prompt or Powershell, because both programs need write access to the directory they're running from. I cannot make any sense at all of most of your post. There's absolutely no need to make any links or 'rename the TWS folder' (whatever that is supposed to mean). |
What a nightmare.
StartTWS.bat
I had to manually specify the JAVA_PATH because IBC couldn't find it on it's own........
The java version is the "hidden version" packaged up by TWS.
This is the output of the log file I'm getting
Seemingly IBC can't handle spaces in system path strings?
Installation has been rather painful, what else am "I" doing wrong?
And no, I'm not moving TWS to It's default and messy installation path of C:\jts
The text was updated successfully, but these errors were encountered: