Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Latest version of COSMOS crashing #840
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
Could this be a problem with incompatible versions?
changed the title from
Latest version of CmdTlmServer crashing
Latest version of COSMOS CmdTlmServer crashing
Jul 19, 2018
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:
@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.
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.