Skip to content

Can't install plugin #5

Description

@NDebx

Description

I am unable to install the plugin via the web interface. After refreshing the repositories, all previously available plugins disappeared.

I also tried to manually download the plugin repository as a ZIP file and upload it through the UI, but installation still fails.

Steps to reproduce
Open Unmanic web UI
Go to Plugins
Refresh repositories
Attempt to install plugin → plugins disappear / not available anymore

OR

Download plugin repository as ZIP
Upload ZIP via "Install from file"
Installation fails immediately
Expected behavior

The plugin should install successfully either via:

the official repository in the web UI
or manual ZIP upload
Actual behavior

Installation fails when uploading ZIP with the following error:

Exception while installing plugin from zip '/tmp/unmanic/remote_library/unmanic_remote_pending_library-1774998733.0027084/plugin.extract_srt_subtitles_to_files-master.zip'. "There is no item named 'info.json' in the archive"

Traceback:

Traceback (most recent call last):
File "/opt/venv/lib/python3.12/site-packages/unmanic/libs/plugins.py", line 399, in install_plugin_from_path_on_disk
plugin_info = self.install_plugin(abspath)
File "/opt/venv/lib/python3.12/site-packages/unmanic/libs/plugins.py", line 483, in install_plugin
plugin_info = json.loads(zip_ref.read('info.json'))
File "/usr/lib/python3.12/zipfile/init.py", line 1580, in read
with self.open(name, "r", pwd) as fp:
File "/usr/lib/python3.12/zipfile/init.py", line 1617, in open
zinfo = self.getinfo(name)
File "/usr/lib/python3.12/zipfile/init.py", line 1545, in getinfo
raise KeyError("There is no item named 'info.json' in the archive")

Additional information

Plugin: extract_srt_subtitles_to_files
Version: 0.0.12
Repo: Official Repo
Unmanic container (Docker)
Issue occurs both via web UI and manual ZIP installation

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions