I'm using a docker container with the AG and AG Plugin SDK installed for a very long time now.
I just updated the container with the latest AG and the latest plugin SDK (standard process that always worked in the past).
Now when building the plugin with it, it gives me this error:
Suddenly it is looking for a properties.json file which it never needed before? I searched the documentation but couldn't find anything about it and why it is needed for build_plugin.
Solved! Go to Solution.
Yes, I believe there is something wrong with the plugin SDK version (latest one 1.247). I NEVER used properties.json in any of my active gate plugin builds, but suddenly "plugin_sdk" is asking for properties.json - failing if it isn't found and also failing if it is found and contains some properties...
Unfortunately I do not have an older plugin SDK available to test if it is the version ...
Not sure if this is intended but it seems although I installed the AG Extension SDK the "plugin_sdk build_plugin" command always tries to build a ONEAGENT extension and not an AG extension?
root@229ce6c8df31:/plugin# plugin_sdk build_plugin Arguments=Namespace(deployment_dir=None, no_cert_ver=False, no_upload=False, plugin_dir='/plugin', server=None, token=None, token_file=None, verbose=False) Starting oneagent_build_plugin
Your Traceback message references a problem coming from the jsonschema package. This is a dependency of plugin_sdk. There was a change made in version 4.10.0 of jsonschema that seems to have broken several tools that depend on it.
For now, the best course of action is downgrade your version of jsonschema to <=4.9.1. Run the command:
pip install jsonschema==4.9.1
There is a more detailed set of instructions available here.