Skip to content

Instantly share code, notes, and snippets.

@romeokienzler
Created July 11, 2017 20:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save romeokienzler/7b686d03126bd3f529f162e382657d49 to your computer and use it in GitHub Desktop.
Save romeokienzler/7b686d03126bd3f529f162e382657d49 to your computer and use it in GitHub Desktop.
<type 'str'>: (<type 'exceptions.UnicodeEncodeError'>, UnicodeEncodeError('ascii', u'An error occurred while calling o79.execute.\n: org.apache.sysml.api.mlcontext.MLContextException: Exception when executing script\n\tat org.apache.sysml.api.mlcontext.MLContext.execute(MLContext.java:320)\n\tat org.apache.sysml.api.mlcontext.MLContext.execute(MLContext.java:293)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)\n\tat java.lang.reflect.Method.invoke(Method.java:507)\n\tat py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)\n\tat py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:357)\n\tat py4j.Gateway.invoke(Gateway.java:280)\n\tat py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)\n\tat py4j.commands.CallCommand.execute(CallCommand.java:79)\n\tat py4j.GatewayConnection.run(GatewayConnection.java:214)\n\tat java.lang.Thread.run(Thread.java:785)\nCaused by: org.apache.sysml.api.mlcontext.MLContextException: Exception occurred while executing runtime program\n\tat org.apache.sysml.api.mlcontext.ScriptExecutor.executeRuntimeProgram(ScriptExecutor.java:397)\n\tat org.apache.sysml.api.mlcontext.ScriptExecutor.execute(ScriptExecutor.java:311)\n\tat org.apache.sysml.api.mlcontext.MLContext.execute(MLContext.java:316)\n\t... 12 more\nCaused by: org.apache.sysml.runtime.DMLRuntimeException: org.apache.sysml.runtime.DMLRuntimeException: ERROR: Runtime error in while program block generated from while statement block between lines 52 and 62 -- Error evaluating while program block\n\tat org.apache.sysml.runtime.controlprogram.Program.execute(Program.java:130)\n\tat org.apache.sysml.api.ScriptExecutorUtils.executeRuntimeProgram(ScriptExecutorUtils.java:95)\n\tat org.apache.sysml.api.ScriptExecutorUtils.executeRuntimeProgram(ScriptExecutorUtils.java:54)\n\tat org.apache.sysml.api.mlcontext.ScriptExecutor.executeRuntimeProgram(ScriptExecutor.java:395)\n\t... 14 more\nCaused by: org.apache.sysml.runtime.DMLRuntimeException: ERROR: Runtime error in while program block generated from while statement block between lines 52 and 62 -- Error evaluating while program block\n\tat org.apache.sysml.runtime.controlprogram.WhileProgramBlock.execute(WhileProgramBlock.java:177)\n\tat org.apache.sysml.runtime.controlprogram.Program.execute(Program.java:123)\n\t... 17 more\nCaused by: org.apache.sysml.runtime.DMLRuntimeException: ERROR: Runtime error in program block generated from statement block between lines 58 and 61 -- Error evaluating instruction: CP\xb0-*\xb0W2\xb7MATRIX\xb7DOUBLE\xb01.0E-5\xb7SCALAR\xb7DOUBLE\xb7true\xb0dJdW2\xb7MATRIX\xb7DOUBLE\xb0_mVar117\xb7MATRIX\xb7DOUBLE\n\tat org.apache.sysml.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:320)\n\tat org.apache.sysml.runtime.controlprogram.ProgramBlock.executeInstructions(ProgramBlock.java:221)\n\tat org.apache.sysml.runtime.controlprogram.ProgramBlock.execute(ProgramBlock.java:167)\n\tat org.apache.sysml.runtime.controlprogram.WhileProgramBlock.execute(WhileProgramBlock.java:165)\n\t... 18 more\nCaused by: java.lang.RuntimeException: Block sizes are not matched for binary cell operations: 3x1 vs 2x3\n\tat org.apache.sysml.runtime.matrix.data.MatrixBlock.binaryOperations(MatrixBlock.java:2872)\n\tat org.apache.sysml.runtime.instructions.cp.PlusMultCPInstruction.processInstruction(PlusMultCPInstruction.java:66)\n\tat org.apache.sysml.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:290)\n\t... 21 more\n', 2559, 2560, 'ordinal not in range(128)'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment