Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
I'm Trying to install a plugin through running this python code on dataiku server and i'm getting error of
DataikuException: java.lang.Exception: Could not install the plugin
this is the code
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x96 in position 11: invalid start byte
Hello,
Contrary to what appears in the doc:
with open("myplugin.zip", "r") as f:
client.install_plugin_from_archive(f)
You should use rb (read bytes) to read the archive correctly and have it installed in the instance:
with open("dss-plugin-pi-system-1.0.1.zip", "rb") as plugin:
client.install_plugin_from_archive(plugin)
I tested it, works fine in version 11.2.
Cheers.