Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Added on March 15, 2023 10:56AM
Likes: 0
Replies: 1
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.