Skip to content

exortlivescript fails #20

@jganong

Description

@jganong

i tried to do a simple hello world type of example, here is my hello.mlx file:

Here is some text
% Here is some code
disp('hello, world!')

I am using Matlab version '9.14.0.2206163 (R2023a)' on macos

addpath MlxShake/Mcode/
janklab.mlxshake.exportlivescript('hello.mlx')
Error using janklab.mlxshake.internal.logger.Log4jConfigurator.configureBasicConsoleLogging
Invalid default value for property 'initializer' in class 'janklab.mlxshake.internal.MlxshakeBase':
Java exception occurred:
java.util.NoSuchElementException
at org.apache.log4j.helpers.NullEnumeration.nextElement(NullEnumeration.java:45)

Error in janklab.mlxshake.internal.initializePackage (line 16)
janklab.mlxshake.internal.logger.Log4jConfigurator.configureBasicConsoleLogging('minimal');

Error in janklab.mlxshake.internal.LibraryInitializer (line 10)
janklab.mlxshake.internal.initializePackage;

Error in janklab.mlxshake.mlx2latex (line 29)
initializerHack = janklab.mlxshake.internal.MlxshakeBase;

Error in janklab.mlxshake.exportlivescript (line 148)
latexRslt = janklab.mlxshake.mlx2latex(mlxFile, texFile);

Note that "./MlxShake/bin/mlxshake hello.mlx --format html" does work, so this is not an urgent bug for me,
because I can just use that, but you might consider fixing your readme file to tell people to try that first...

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions