question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Docker Sublimininal - `.lower()` error thrown on certain videos

See original GitHub issue

I been using the latest docker subliminal image and I get the error related to the .lower() error thrown on certain videos.

I read that this issue was fixed #800 but I don’t think that the docker image has this change, it looks like it hasn’t been merge yet, I’m using a docker image and was wondering if someone knows how to edit the image and add this fix.

also related to #761 #769

Traceback (most recent call last): File “/usr/local/bin/subliminal”, line 11, in <module> load_entry_point(‘subliminal’, ‘console_scripts’, ‘subliminal’)() File “/usr/local/lib/python3.6/site-packages/click/core.py”, line 722, in call return self.main(*args, **kwargs) File “/usr/local/lib/python3.6/site-packages/click/core.py”, line 697, in main rv = self.invoke(ctx) File “/usr/local/lib/python3.6/site-packages/click/core.py”, line 1066, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File “/usr/local/lib/python3.6/site-packages/click/core.py”, line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File “/usr/local/lib/python3.6/site-packages/click/core.py”, line 535, in invoke return callback(*args, **kwargs) File “/usr/local/lib/python3.6/site-packages/click/decorators.py”, line 27, in new_func return f(get_current_context().obj, *args, **kwargs) File “/usr/src/app/subliminal/cli.py”, line 400, in download hearing_impaired=hearing_impaired, only_one=single) File “/usr/src/app/subliminal/core.py”, line 261, in download_best_subtitles for s in subtitles], key=operator.itemgetter(1), reverse=True) File “/usr/src/app/subliminal/core.py”, line 261, in <listcomp> for s in subtitles], key=operator.itemgetter(1), reverse=True) File “/usr/src/app/subliminal/score.py”, line 106, in compute_score matches = subtitle.get_matches(video) File “/usr/src/app/subliminal/providers/opensubtitles.py”, line 81, in get_matches matches |= guess_matches(video, guessit(self.movie_release_name, {‘type’: ‘episode’})) File “/usr/src/app/subliminal/subtitle.py”, line 235, in guess_matches if video.format and ‘format’ in guess and guess[‘format’].lower() == video.format.lower(): AttributeError: ‘list’ object has no attribute ‘lower’

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:3
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

0reactions
scholdancommented, Jul 22, 2018

@Diaoul im not that skilled at all but i managed to fork, build and upload to docker hub

Read more comments on GitHub >

github_iconTop Results From Across the Web

Docker version 2.0.0.0+ loses case sensitivity for filenames via ...
On Docker 2.0.0.0+ I get an error: ... mount would be case sensitive allowing both upper case file names and lower case as...
Read more >
When building in version 3.2.1 "repository name must be ...
This error is not super descriptive but all it means is that docker repository names must be in lower case. If your image...
Read more >
A fast and easy Docker tutorial for beginners (video series)
This first video explains why Docker exists, and the problem it is designed to solve. We'll go over how Docker works at a...
Read more >
MLFlow run with docker environment bringing error "repository ...
I have built a docker image for my docker_env image in MLFlow. However, when i run mlflow run . an error "docker: invalid...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found