-
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
vmoptions not found on mac #59
Comments
No, not right.
I don't actually have access to a mac, but as far as I'm aware the If you're having a problem, it would probably be worth attaching your IBC log file to your reply (attach, don't quote). |
Hm, I had the same problem like in this message: https://groups.io/g/ibcalpha/topic/24239631#675 |
Can you be a bit more precise please? Exactly what file did it put in ~/Jts ? Perhaps give a directory listing of ~/Jts. |
Ah right, thanks for that, I understand now. The previous version of ibcstart.sh worked because it said:
This was technically incorrect, because as I said before I've attached an amended version of ibcstart.sh, which should fix the problem. I'd be grateful if you could test if for me. (I've had to put it in a .zip, because GitHub won't let me attach a .sh) |
I tested your file, but still have problems, log is below.
|
The previous version worked fine for me with the changes I wrote in my first message. |
Ok, the reason that
whereas you presumably have:
So change that back to the default, and at least then the .vmoptions file should be found ok. I don't understand the error message either, unless your home directory structure has changed since you sent the picture. Can you please confirm that Yes, I understand that your original 'fix' worked, but it's an incorrect fix - ie it only works by accident: ${tws_settings_path} is not (in general) the right place to search for the .vmoptions file, though it happens to point to the right place by default. Once you've set I'll be away from the computer for the next several hours. |
regarding to the path of the jars: If I replace And also, by setting btw, thanks a lot for contributing this important project!! |
Oops! I had completely forgotten that there are top-level scripts specifically for macOS: thanks for reminding me. I'll have to amend them to include the TWS_SETTINGS_PATH variable, and correct the TWS_PATH default setting. But not tonight!.... |
I don't think the path issue for Mac was fixed |
Can you elaborate a bit please? I don't have a Mac, or access to one, so any work I do on the macOS scripts is with one hand tied behind my back! So any hard evidence you can supply would be appreciated: just the IBC log from a run on macOS would probably be a big help Thanks. |
Log file below, I believe it's the same issue @elastictree mentioned. Because in script ibcstart.sh for Mac OX it's ` ============================================================================= Starting IBC version 3.8.2 on 2020-02-02 at 10:37:11 Operating system: Darwin Davids-MacBook-Pro.local 19.2.0 Darwin Kernel Version 19.2.0: Sat Nov 9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64 x86_64 Arguments: TWS version = 972 =========================== An error has occurred ============================= Error: does not exist |
Sorry for the delay in responding: I did actually start to reply a couple of days ago, but that got overtaken by other events. Your fix only works as long as the user doesn't set Anyway, I've just pushed an amended version of ibcstart.sh which should fix the problem properly. It simply makes use of the fact that on macOS, the .vmoptions files are always in ~/Jts (as you pointed out). Please can you pick that new version up from here, and give it a whirl. |
Yes, I agree this would be a better fix |
vmoptions are installed in ~/Jts, so, ibcstart.sh must search via
tws_vmoptions="${tws_settings_path}/tws-${tws_version}.vmoptions"
instead of
tws_vmoptions="${tws_path}/tws-${tws_version}.vmoptions"
right?
The text was updated successfully, but these errors were encountered: