Hello!
I am using the machine app and my license allows the use of machine app (or should!). However when I deploy everything to my box, the Motorcortex service does not start (or it might start and exits early).
When I rename my license file (from license.lic to license_test.lic), the Motorcortex service starts and continues with no issues (aside from no valid license found error).
See attached. Things to note:
- I start off by showing the error. The license is in fact valid but I also have these lines in mcx-lastlog:
2025-05-08 11:36:18.859 +0200 [ERROR] App Feature: trying to enable 6 features of type MachineControl, but your license only allows 1.
2025-05-08 11:36:18.859 +0200 [INFO] App Feature: adding Machine, NumberOfJoints 1
2025-05-08 11:36:18.859 +0200 [INFO] ManipulatorControl is disabled in the configuration
2025-05-08 11:36:18.859 +0200 [INFO] App Feature: SafetyChannelSelector is disabled in the configuration
2025-05-08 11:36:18.859 +0200 [ERROR] App Feature: trying to enable 1 features of type MotionPlayer, but your license only allows 0.
2025-05-08 11:36:19.896 +0200 [FATAL] (ps_parameter.cpp:420) Failed to link: root/SignalGenerators/SignalGenerator03/output and root/MachineControl/hostInJointPosition2, 1st parameter is out of bounds!
stack trace:
/usr/local/lib/libmcx-core.so.2 : mcx::parameter_server::Parameter::addLink(mcx::parameter_server::Parameter*, unsigned int, unsigned int, unsigned int, double, double, bool, bool, bool)+0xe4d
/usr/local/lib/libmcx-core.so.2 : mcx::parameter_server::Parameter::link(mcx::parameter_server::ParameterPath const&, mcx::parameter_server::ParameterPath const&, double, double, bool, bool)+0x4d0
/usr/local/lib/libmcx-core.so.2 : mcx::parameter_server::Parameter::link(mcx::parameter_server::ParameterPath const&, mcx::parameter_server::ParameterPath const&, double, double, bool)+0x28
/usr/local/lib/libmcx-core.so.2 : mcx::parameter_server::Linking::performLinking(mcx::parameter_server::LinkGroup const&, mcx::parameter_server::Parameter*)+0x13a
/usr/local/lib/libmcx-core.so.2 : mcx::parameter_server::Linking::link(std::vector<mcx::parameter_server::LinkGroup, std::allocator<mcx::parameter_server::LinkGroup> > const&, mcx::parameter_server::Parameter*, mcx::cmd_line::SystemMode)+0xda
/usr/local/lib/libmcx-core.so.2 : mcx::parameter_server::link(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, mcx::parameter_server::Parameter*, mcx::cmd_line::SystemMode)+0x5d
/usr/local/bin/motorcortex-robot : ()+0x7da4d
/usr/local/bin/motorcortex-robot : main()+0x298
/lib/libc.so.6 : ()+0x2d57b
/lib/libc.so.6 : __libc_start_main()+0x80
/usr/local/bin/motorcortex-robot : ()+0x25155
bye-bye
- Then I rename my license file and show that now the license is not valid but the lines I mentioned above does not exist in mcx-lastlog.
If the license file truly does not include the machine app, should the service should still continue running? And the license includes the machine app, is there maybe a mistake in this license file?
Thank you!
Sam
I tried to attach a GIF of the problem, then I tried a text file. Both options don't work. I can't paste it here either because only 65535 characters are allowed. So I'm open to opinions on how I can share more details about the problem.