-
Notifications
You must be signed in to change notification settings - Fork 129
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
Latest version of COSMOS crashing #840
Comments
Just reinstalled brew and ran the installer script, no luck. |
Weird. It appears that your as built version of the qtbindings didn't map the tr method (which I think is a translation method for internationalization of labels) to the top level Qt::Object. I'm not sure why this happened but I think I can provide a work around. Ensure you have a user_version.rb file in your project's lib directory. Normally this file simply sets the USER_VERSION constant like so:
Change this to override the tr method which is missing:
|
@ryanatball Should we simply remove these methods? We're only using them in a few places and have no plans to do other languages in COSMOS. |
@jasonatball Yes we should remove all uses of tr() as we don't do any internationalization anyways, and that may be a good enough fix for whatever the root cause is here. It should work though... tr() should be a defined method. I haven't had a chance to try this on a Mac yet. |
@jasonatball your work around did the trick! |
It seems odd that a function would be missing for a particular architecture so I've been debugging. I'll leave this here in case it is of any use.
|
I just installed COSMOS on my mac. The launcher and other tools work fine, but the CmdTlmServer crashes when the gui is loaded. The error is
FATAL: ArgumentError : tr is not a class method
referring to this lineCould this be a problem with incompatible versions?
The text was updated successfully, but these errors were encountered: