Opened 6 years ago
Closed 6 years ago
#5122 closed defect (fixed)
Error message on mac
Reported by: | Owned by: | Adeel Asghar | |
---|---|---|---|
Priority: | high | Milestone: | 1.14.0 |
Component: | OMEdit | Version: | v1.12.0 |
Keywords: | error | Cc: |
Description
When i open OMEdit i get the following error message
[1] 21:14:24 Scripting Error
sh: impact: command not found
[2] 21:18:54 Scripting Error
2018-09-12 21:18:53.991 OMEdit[753:17050] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
I have just recently installed openmodelica on my mac and everytime i open the program it gives the above error.
Attachments (1)
Change History (14)
by , 6 years ago
Attachment: | Skærmbillede 2018-09-10 kl. 16.33.35.png added |
---|
comment:2 by , 6 years ago
You reported using 1.12.0. Were you using that release? Did you try the latest nightly build?
follow-up: 9 comment:3 by , 6 years ago
Yeah try the latest nightly. I know that Martin has fixed "sh: impact: command not found" error.
The other error is related to Qt see here https://bugreports.qt.io/browse/QTBUG-37699
Not sure which version of Qt we use on MAC. Seems like this error is not a kind of blocker.
follow-up: 5 comment:4 by , 6 years ago
Yes i have installed the version 1.12.0 which i assume to be the latest nightly
follow-up: 8 comment:5 by , 6 years ago
Replying to totti98@…:
Yes i have installed the version 1.12.0 which i assume to be the latest nightly
Nope. If you look here you'll see several options:
- latest-release-1.12.0 is the latest version which was released after beta testing in October 2017
- latest-stable-1.13.0-dev.01 is the latest stable development version (early July 2018)
- latest-nightly is the very last nightly build, which is updated every night, barring problems with the Hudson build job
I would sugggest you to try the stable 1.13.0-dev.01 version. If it doesn't work, try the latest nightly build.
comment:6 by , 6 years ago
Thank you for the suggestions!
I am currently downloading the 1.13.0-dev.01 version and will write back with results.
Again, thank you for the suggestions
comment:7 by , 6 years ago
I have installed "latest-nightly-1.13.0~dev-1419-g64b4c39.mpkg" from your link, and now i can't open OMEdit anymore. I get a message that says i should contact the developer and check if the version works with my version of macOS
I will go back to the latest nigthly build and try that
comment:8 by , 6 years ago
Replying to casella:
Replying to totti98@…:
Yes i have installed the version 1.12.0 which i assume to be the latest nightly
Nope. If you look here you'll see several options:
- latest-release-1.12.0 is the latest version which was released after beta testing in October 2017
- latest-stable-1.13.0-dev.01 is the latest stable development version (early July 2018)
- latest-nightly is the very last nightly build, which is updated every night, barring problems with the Hudson build job
I would sugggest you to try the stable 1.13.0-dev.01 version. If it doesn't work, try the latest nightly build.
So i tried every option and most of them, when installed, wouldn't open OMEdit at all, so i went back and installed "openmodelica-release-1.12.0.mpkg" from https://build.openmodelica.org/omc/builds/mac/binaries/release/
Now i can open the program again, but sadly the messages are still here.
comment:9 by , 6 years ago
Replying to adeas31:
Yeah try the latest nightly. I know that Martin has fixed "sh: impact: command not found" error.
The other error is related to Qt see here https://bugreports.qt.io/browse/QTBUG-37699
Not sure which version of Qt we use on MAC. Seems like this error is not a kind of blocker.
Thanks for your input. I have already seen the bugreport and found out that i have my mac uses Qt4 and that i should update to Qt5. However i do not know how to do this.
follow-up: 11 comment:10 by , 6 years ago
If you are using one of the .mpkg then it doesn't matter which Qt is on your system. We need to update the Qt on our build server then. I thought you are installing using macports.
comment:11 by , 6 years ago
Replying to adeas31:
If you are using one of the .mpkg then it doesn't matter which Qt is on your system. We need to update the Qt on our build server then. I thought you are installing using macports.
I am installing modelica using macports.
I am sorry if i am a bit confusing, but i am new to all of these programmes and mix up stuff.
comment:12 by , 6 years ago
I still get the error messages, so if anyone has any tips i will gladly try them
comment:13 by , 6 years ago
Milestone: | Future → 1.14.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
This is a Qt bug which is fixed in latest versions but we still use Qt4 on OSX.
As a workaround in 9fe7631/OMEdit we suppress this error.
screenshot of the error message