matlab-actions / run-command

Run MATLAB scripts, functions, and statements.
BSD 3-Clause "New" or "Revised" License
53 stars 11 forks source link

run-command 2.0: License error #51

Closed zaikunzhang closed 7 months ago

zaikunzhang commented 7 months ago

Hi, thank you for releasing run-command 2.0.

Using setup-matlab 2.0 and run-command 2.0, I have been encountering a license error as follows.

https://github.com/libsprima/prima/actions/runs/7855657020/job/21437601350 https://github.com/equipez/setup_mex/actions/runs/7840873641/job/21438146444

Error message:

/home/runner/work/_actions/matlab-actions/run-command/v2.0.0/dist/bin/glnxa64/run-matlab-command setenv('MW_ORIG_WORKING_FOLDER', cd('/tmp/run_matlab_command-tmbCcr'));command_7879865c_533a_4048_8e49_6d4e5e8849fb 
  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,[35](https://github.com/libsprima/prima/actions/runs/7855657020/job/21437601350#step:10:37)9. System Error: 2
  exit status 1
Error: Error: The process '/home/runner/work/_actions/matlab-actions/run-command/v2.0.0/dist/bin/glnxa64/run-matlab-command' failed with exit code 1

Thank you for taking a look.

Best regards, Zaikun

zaikunzhang commented 7 months ago

See https://github.com/matlab-actions/setup-matlab/issues/91#issuecomment-1938766142