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

exortlivescript fails #20

Open
jganong opened this issue May 17, 2023 · 0 comments
Open

exortlivescript fails #20

jganong opened this issue May 17, 2023 · 0 comments

Comments

@jganong
Copy link

jganong commented May 17, 2023

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

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

1 participant