Josh5 / unmanic.plugin.convert_subtitle_streams_ass_to_srt

GNU General Public License v3.0
0 stars 1 forks source link

ModuleNotFoundError: No module named 'normalise_aac' #1

Closed dhruvinsh closed 2 years ago

dhruvinsh commented 2 years ago

current version of this plugin gives error regarding ModuleNotFoundError.

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/unmanic/libs/unplugins/executor.py", line 160, in __load_plugin_module
    module_spec.loader.exec_module(plugin_import)
  File "<frozen importlib._bootstrap_external>", line 848, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/config/.unmanic/plugins/convert_subtitle_streams_ass_to_srt/plugin.py", line 29, in <module>
    from normalise_aac.lib.ffmpeg import StreamMapper, Probe, Parser
ModuleNotFoundError: No module named 'normalise_aac'
dhruvinsh commented 2 years ago

it seems import suppose to be change,

from normalise_aac.lib.ffmpeg import StreamMapper, Probe, Parser

to

from convert_subtitle_streams_ass_to_srt.lib.ffmpeg import StreamMapper, Probe, Parser
Jorgepfm commented 2 years ago

Same issue here, plugin is unusable without fix

dhruvinsh commented 2 years ago

for now manually edit the module once installed else look at the pull request.

Josh5 commented 2 years ago

Cheers for the MR. Sorry it took so long to get this sorted.