You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ subliminal -l en -- White\ House\ Down.(2013).mkv
Traceback (most recent call last):
File "/usr/bin/subliminal", line 9, in
load_entry_point('subliminal==0.7.4', 'console_scripts', 'subliminal')()
File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 353, in load_entry_point manager must be an IResourceManager"""
File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2302, in load_entry_point
File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2029, in load
if group is None:
File "/usr/lib/python2.6/site-packages/subliminal/init.py", line 9, in
from .api import PROVIDERS_ENTRY_POINT, list_subtitles, download_subtitles, download_best_subtitles
File "/usr/lib/python2.6/site-packages/subliminal/api.py", line 95
providers_by_name = {ep.name: ep.load() for ep in pkg_resources.iter_entry_points(PROVIDERS_ENTRY_POINT)}
^ (this ^ is under letter r in 'for')
SyntaxError: invalid syntax
$ subliminal -l en -- White\ House\ Down.(2013).mkv
Traceback (most recent call last):
File "/usr/bin/subliminal", line 9, in
load_entry_point('subliminal==0.7.4', 'console_scripts', 'subliminal')()
File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 353, in load_entry_point
manager
must be anIResourceManager
"""File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2302, in load_entry_point
File "build/bdist.linux-x86_64/egg/pkg_resources.py", line 2029, in load
if group is None:
File "/usr/lib/python2.6/site-packages/subliminal/init.py", line 9, in
from .api import PROVIDERS_ENTRY_POINT, list_subtitles, download_subtitles, download_best_subtitles
File "/usr/lib/python2.6/site-packages/subliminal/api.py", line 95
providers_by_name = {ep.name: ep.load() for ep in pkg_resources.iter_entry_points(PROVIDERS_ENTRY_POINT)}
^ (this ^ is under letter r in 'for')
SyntaxError: invalid syntax
PS. there is error when installing
$ sudo pip install subliminal
Downloading/unpacking subliminal
Downloading subliminal-0.7.4.tar.gz
Running setup.py (path:/tmp/pip_build_root/subliminal/setup.py) egg_info for package subliminal
Downloading/unpacking beautifulsoup4>=4.3.2 (from subliminal)
Downloading beautifulsoup4-4.3.2.tar.gz (143kB): 143kB downloaded
Running setup.py (path:/tmp/pip_build_root/beautifulsoup4/setup.py) egg_info for package beautifulsoup4
Downloading/unpacking guessit>=0.6.2,<0.7 (from subliminal)
Downloading guessit-0.6.2.tar.gz (123kB): 123kB downloaded
Running setup.py (path:/tmp/pip_build_root/guessit/setup.py) egg_info for package guessit
Requirement already satisfied (use --upgrade to upgrade): requests>=2.0.1 in /usr/lib/python2.6/site-packages (from subliminal)
Downloading/unpacking enzyme>=0.4.0 (from subliminal)
Downloading enzyme-0.4.1.tar.gz (47kB): 47kB downloaded
Running setup.py (path:/tmp/pip_build_root/enzyme/setup.py) egg_info for package enzyme
Downloading/unpacking html5lib>=0.99 (from subliminal)
Downloading html5lib-0.999.tar.gz (885kB): 885kB downloaded
Running setup.py (path:/tmp/pip_build_root/html5lib/setup.py) egg_info for package html5lib
Downloading/unpacking dogpile.cache>=0.5.2 (from subliminal)
Downloading dogpile.cache-0.5.3-py2.py3-none-any.whl
Downloading/unpacking babelfish>=0.4.0,<0.5 (from subliminal)
Downloading babelfish-0.4.0.tar.gz (89kB): 89kB downloaded
Running setup.py (path:/tmp/pip_build_root/babelfish/setup.py) egg_info for package babelfish
Downloading/unpacking charade>=1.0.3 (from subliminal)
Downloading charade-1.0.3.tar.gz (168kB): 168kB downloaded
Running setup.py (path:/tmp/pip_build_root/charade/setup.py) egg_info for package charade
Downloading/unpacking pysrt>=0.5.0 (from subliminal)
Downloading pysrt-1.0.0.tar.gz
Running setup.py (path:/tmp/pip_build_root/pysrt/setup.py) egg_info for package pysrt
Requirement already satisfied (use --upgrade to upgrade): six in ./six-1.5.2-py2.6.egg (from html5lib>=0.99->subliminal)
Downloading/unpacking dogpile.core>=0.4.1 (from dogpile.cache>=0.5.2->subliminal)
Downloading dogpile.core-0.4.1-py2.py3-none-any.whl
Downloading/unpacking argparse (from pysrt>=0.5.0->subliminal)
Downloading argparse-1.1.zip (151kB): 151kB downloaded
Running setup.py (path:/tmp/pip_build_root/argparse/setup.py) egg_info for package argparse
Installing collected packages: subliminal, beautifulsoup4, guessit, enzyme, html5lib, dogpile.cache, babelfish, charade, pysrt, dogpile.core, argparse
Running setup.py install for subliminal
SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/subliminal/subtitle.py', 65, 41, " matches -= {'series', 'tvdb_id', 'season', 'episode', 'title'}\n"))
Found existing installation: beautifulsoup4 4.3.1
Uninstalling beautifulsoup4:
Successfully uninstalled beautifulsoup4
Running setup.py install for beautifulsoup4
Running setup.py install for guessit
Installing guessit script to /usr/bin
Running setup.py install for enzyme
Running setup.py install for html5lib
Running setup.py install for babelfish
SyntaxError: ('invalid syntax', ('/usr/lib/python2.6/site-packages/babelfish/tests.py', 106, 69, " self.assertEqual(get_language_converter('scope').codes, {'I', 'S', 'M'})\n"))
Running setup.py install for charade
changing mode of build/scripts-2.6/charade from 644 to 755
changing mode of /usr/bin/charade to 755
Running setup.py install for pysrt
Installing srt script to /usr/bin
Running setup.py install for argparse
Successfully installed subliminal beautifulsoup4 guessit enzyme html5lib dogpile.cache babelfish charade pysrt dogpile.core argparse
Cleaning up...
The text was updated successfully, but these errors were encountered: