You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Library failing to load at all on CircleCI: Invalid default value for property 'initializer' in class 'janklab.exportmlx.internal.ExportmlxBaseHandle'
#2
Closed
apjanke opened this issue
Sep 11, 2021
· 3 comments
Aha: Looks like it's not finding lib/java, which wasn't checked in to the repo because there's no .gitkeep.
Probably would be better to have this code gracefully handle a missing lib/java dir instead. Should probably change MatlabProjectTemplate's base code to do that.
I added a lib/java/.gitkeep. Let's see how that works.
Now it's getting further, but failing with a different error:
Sponsored License -- for use in support of a program or activity sponsored by MathWorks.
Not for government, commercial or other non-sponsored organizational use.
Exporting: ExportMlx doc file: UserGuide.mlx
Exporting: /home/circleci/project/docs/UserGuide.mlx -> /home/circleci/project/docs/UserGuide.tex
[�Warning: The current message service state: "connected"]�
[�> In matlab.internal.liveeditor.LiveEditorUtilities.open>handleTimeOutException (line 169)
In matlab.internal.liveeditor.LiveEditorUtilities.open>openUsingCEF (line 143)
In matlab.internal.liveeditor.LiveEditorUtilities.open (line 33)
In matlab.internal.liveeditor.openAndConvert (line 18)
In janklab.exportmlx.mlx2latex (line 54)
In janklab.exportmlx.livescript2markdown (line 33)
In exportmlx_gendoco (line 19)
In exportmlx_launchtests (line 11)
In command_11438 (line 2)
In mdcsbatch (line 58)]�
{�Error using matlab.internal.liveeditor.LiveEditorUtilities.open>openUsingCEF
(line 139)
Java exception occurred:
org.apache.commons.lang.NotImplementedException: Connector is not running. Use
Connector.ensureServiceOn() to ensure it is running before using it.
at
com.mathworks.messageservice.MessageServiceFactory.getBuilder(MessageServiceFactory.java:39)
at
com.mathworks.messageservice.MessageServiceFactory.getMessageService(MessageServiceFactory.java:17)
at
com.mathworks.mde.liveeditor.widget.rtc.RichDocument.publish(RichDocument.java:789)
at
com.mathworks.mde.liveeditor.widget.rtc.RichDocument.setContentAsync(RichDocument.java:501)
Error in matlab.internal.liveeditor.LiveEditorUtilities.open (line 33)
[javaRichDocument, cleanupObj, webWindow] = openUsingCEF(fileName, reuse,
timeout, webWindow);
Error in matlab.internal.liveeditor.openAndConvert (line 18)
[javaRichDocument, cleanupObj, webwindow] =
LiveEditorUtilities.open(sourceFileName); %#ok<ASGLU>
Error in janklab.exportmlx.mlx2latex (line 54)
matlab.internal.liveeditor.openAndConvert(char(inMlxFile), char(outTexFile));
Error in janklab.exportmlx.livescript2markdown (line 33)
latexRslt = janklab.exportmlx.mlx2latex(mlxFile);
Error in exportmlx_gendoco (line 19)
janklab.exportmlx.livescript2markdown(mlxFile);
Error in exportmlx_launchtests (line 11)
exportmlx_gendoco;
Error in command_11438 (line 2)
addpath dev-kit; exportmlx_launchtests
}�
Exited with code exit status 1
Hmmmm. That might be a real problem: That looks like some service required by the Matlab desktop isn't running. That could be because in the CI environment, matlab runs in a headless/nodisplay mode.
Gonna open a separate ticket for this, since I may need to report it to MathWorks Tech Support: #3.
The text was updated successfully, but these errors were encountered: