Skip to content
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

Matlab fails with License Manager Error -1 #19

Open
pollaro opened this issue Mar 6, 2024 · 5 comments
Open

Matlab fails with License Manager Error -1 #19

pollaro opened this issue Mar 6, 2024 · 5 comments

Comments

@pollaro
Copy link

pollaro commented Mar 6, 2024

Trying to run a command to export mlapp files on push, and license fails.

Run command
  /home/runner/work/_actions/matlab-actions/run-command/v2/dist/bin/glnxa64/run-matlab-command setenv('MW_ORIG_WORKING_FOLDER', cd('/tmp/run_matlab_command-LTYq6W'));command_da783cac_7983_4899_b112_ffbb32e45660 
  License checkout failed.
  License Manager Error -1
  The license file cannot be found.
  Troubleshoot this issue by visiting: 
  https://www.mathworks.com/support/lme/1
  Diagnostic Information:
  Feature: MATLAB 
  License path: /home/runner/.matlab/R2023b_licenses:/opt/hostedtoolcache/MATLAB/2023.2.999/x64/licenses/license.dat:/opt/hostedtoolcache/MATLAB/2023.2.999/x64/licenses 
  Licensing error: -1,359. System Error: 2
  exit status 1
  ::endgroup::
Error: Error: The process '/home/runner/work/_actions/matlab-actions/run-command/v2/dist/bin/glnxa64/run-matlab-command' failed with exit code 1```
@mcafaro
Copy link
Member

mcafaro commented Mar 6, 2024

Hi @pollaro, Are you using a public repository? Automatic licensing only occurs on public repositories at the moment.

@pollaro
Copy link
Author

pollaro commented Mar 7, 2024

Hi @pollaro, Are you using a public repository? Automatic licensing only occurs on public repositories at the moment.

That explains it.

@pollaro pollaro closed this as completed Mar 7, 2024
@pollaro pollaro reopened this Mar 7, 2024
@pollaro
Copy link
Author

pollaro commented Mar 7, 2024

  1. Is there anywhere it actually says that?
  2. Is there a workaround?

@pollaro
Copy link
Author

pollaro commented Mar 11, 2024

bump, @mcafaro

@mcafaro
Copy link
Member

mcafaro commented Mar 11, 2024

Hi @pollaro, we are running a pilot program for token-based private repository licensing. If you send an email to continuous-integration@mathworks.com with the output from running the ver command in your desktop MATLAB, we can look into adding you to the program. The licensing for public repositories is mentioned on the MathWorks Continuous Integration page but we will add it to this page as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants