VisionAppster Engine and python implementation on Windows
I want to run my application on the VA engine, however my project uses PYTHON tools described in:
The project runs in the VA builder. When I package and install the app on localhost:2015 and try to run it error pops out saying
Error: Unable to start analysis engine.
There is no implementation available for "com.acme.python/0/PerspectiveTransformation".
I tried to put the
C:\Windows\ServiceProfiles\LocalService\VisionAppster\plugins\tool, and then run it again but still the same error.
mytoolplugin.pyto the app resources doesn't solved the issue...
Topi last edited by
In a local development environment, Python tools are loaded from your
plugins/tooldirectory, which you have correctly done. Such local plugins aren't however automatically included in created packages because there is no reliable way to find out what is actually needed by the Python code.
To create a package that contains a Python tool you need to copy the
*toolplugin.pyfile to the
analysisapp/directory of your project. See here for an example. The example contains
toolplugin.pyfiles work as well.
One more thing: it is a good idea to register your Python tools with the name of your component as the namespace. That is, if you use "com.acme.python/0" as the namespace, that should also be the full component ID of your component. Importing stuff from other components won't work properly otherwise.