@orrrb wrote:
Hello
I`ve been having issues with subliminal for some time, not finding anything on this particular error leads me here.
Config:
subtitles: priority: 5 filesystem: path: - /mypath/ regexp: '.*\.(avi|mkv|mp4)$' recursive: yes accept_all: yes subliminal: languages: - nb alternatives: - eng exact_match: yes providers: [addic7ed, opensubtitles] single: yes
flexget execute:
........CRITICAL manager subtitles An unexpected crash has occurred. Writing crash report to /home/myuser/.flexget/crash_report.2016.08.01.112235034063.log. Please verify you are running the latest version of flexget by using "flexget -V" from CLI or by using version_checker plugin at http://flexget.com/wiki/Plugins/version_checker. You are currently using version 2.2.3
2016-08-01 11:22 WARNING task subtitles Aborting task (plugin: subliminal)
flexget -V:2.2.3
You are on the latest relasesubliminal --version:
subliminal, version 2.0-rc1crash log:
2016-08-01 11:22 CRITICAL task subtitles BUG: Unhandled error in plugin subliminal: u'we'
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/flexget/task.py", line 444, in __run_plugin
return method(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/event.py", line 23, in __call__
return self.func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/output/subtitles_subliminal.py", line 131, in on_task_output
existing_subtitles = set(subliminal.core.search_external_subtitles(entry['location']).values())
File "/usr/local/lib/python2.7/dist-packages/subliminal/core.py", line 349, in search_external_subtitles
language = Language.fromietf(language_code)
File "/usr/local/lib/python2.7/dist-packages/babelfish/language.py", line 124, in fromietf
language = cls.fromalpha2(language_subtag)
File "/usr/local/lib/python2.7/dist-packages/babelfish/language.py", line 110, in fromcode
return cls(*language_converters[converter].reverse(code))
File "/usr/local/lib/python2.7/dist-packages/babelfish/converters/__init__.py", line 165, in reverse
raise LanguageReverseError(code)
LanguageReverseError: u'we'I have looked through the .py files without even knowing what im looking for. I have no idea where to start, but I have a hunch its babelfish? This error is persistent when I replace/remove the file right before the critical task error occurs. The script then continues to lookup until it hits the next file that causes the error.
Im no linux guru so go easy on me.
Posts: 1
Participants: 1