Error when Executing external operator


#1

I’m testing a external operator using in github example source.
but it was not working.
I made example source to jar file and set external operator setting. (jar file name is same alias)
I inputed the jar file in a folder named the Alias in Adapters location.
( Alias
└ ~~.jar
└ ~~-template.vm
└ META-INF
└ descriptor.xml)

and when I inputed operator, I set Tool Executable to python.exe path.
In command Line, put $sourceProduct

but a error occured like that “org.esa.snap.core.gpf.OperatorException: org.esa.snap.framework.gpf.operators.tooladapter.ToolAdapterOp.MyOlciPixelOp execution was interrupted ~~~”

Where did I make a mistake?
and in command line, if I have some operator in java code, how to write that???


#2

I think you are mixing up java operators, python operators and external tools.
Did you have a look at this documentation?
https://senbox.atlassian.net/wiki/display/SNAP/How+to+integrate+a+new+processor