Exporting live script files using export fails in pipeline
Ältere Kommentare anzeigen
I have a number of .mlx source files which I want to export into html, pdf, and ipynb files using export with the option Run=true as part of my CI pipeline in GitLab. In the next stage, the html files to be deployed into a documentation bucket. MATLAB produces the following internal error with the code 267. The -batch option also fails.
Q1: Is there any help for resolving 267?
Q2: Is export able to produce output files purely from the linux command line (without needing a display)?
Q3: Is there any other recommended way of producing html files in a CI pipeline in batch mode?
$ matlab -display xDisp -sd docs -r build_docs
MATLAB is selecting SOFTWARE OPENGL rendering.
< M A T L A B (R) >
Copyright 1984-2023 The MathWorks, Inc.
R2023b Update 6 (23.2.0.2485118) 64-bit (glnxa64)
December 28, 2023
To get started, type doc.
For product information, visit www.mathworks.com.
{Error using matlab.internal.cef.webwindow
MATLABWindow application failed to launch. Unable to launch the MATLABWindow
application. The exit code was: 267
Error in matlab.internal.liveeditor.LiveEditorUtilities.createDocument (line 26)
webWindow = matlab.internal.cef.webwindow(url, matlab.internal.getDebugPort);
Error in matlab.internal.liveeditor.LiveEditorUtilities.open>openUsingCEF (line 109)
[javaRichDocument, webWindow] = LiveEditorUtilities.createDocument(timeout);
Error in matlab.internal.liveeditor.LiveEditorUtilities.open (line 33)
[javaRichDocument, cleanupObj, webWindow] = openUsingCEF(fileName, reuse, timeout, webWindow);
Error in export (line 116)
matlab.internal.liveeditor.LiveEditorUtilities.open(...
Error in build_docs (line 9)
export(fname,Run=true,Format='ipynb')
}
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Logical finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!