Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

auto subtitle downloading isn't working #123

Closed
patrickkettner opened this issue Apr 23, 2014 · 7 comments
Closed

auto subtitle downloading isn't working #123

patrickkettner opened this issue Apr 23, 2014 · 7 comments

Comments

@patrickkettner
Copy link
Contributor

$ python --version
Python 2.7.5+

$ uname -a
Linux youvebeen 3.11.0-18-generic #32-Ubuntu SMP Tue Feb 18 21:11:14 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

$ cat /opt/.sickbeard_mp4_automator/autoProcess.ini
...

[MP4]
ffmpeg = /usr/bin/ffmpeg
ffprobe = /usr/bin/ffprobe
output_directory = 
copy_to = 
move_to = 
output_extension = mp4
output_format = mp4
delete_original = True
relocate_moov = True
audio-codec = ac3
video-codec = h264,x264
ios-audio = True
audio-language = 
audio-default-language = eng
subtitle-language = 
subtitle-default-language = eng
fullpathguess = True
convert-mp4 = False
tagfile = True
download-artwork = True
download-subs = True
sub-providers = addic7ed,podnapisi,thesubdb,opensubtitles
embed-subs = True

...



$ /opt/.sickbeard_mp4_automator/manual.py "/tv//Community/Season 4/11 - Basic Human Anatomy.mp4" -silent

./Community/Season 4/11 - Basic Human Anatomy.mp4
/opt/.sickbeard_mp4_automator/babelfish/converters/__init__.py:6: UserWarning: Module babelfish was already imported from /opt/.sickbeard_mp4_automator/babelfish/__init__.pyc, but /usr/local/lib/python2.7/dist-packages/babelfish-0.5.1-py2.7.egg is being added to sys.path
  from pkg_resources import iter_entry_points, EntryPoint
/opt/.sickbeard_mp4_automator/babelfish/converters/__init__.py:6: UserWarning: Module guessit was already imported from /opt/.sickbeard_mp4_automator/guessit/__init__.pyc, but /usr/local/lib/python2.7/dist-packages is being added to sys.path
  from pkg_resources import iter_entry_points, EntryPoint
Matched TV episode as Community (TVDB ID:94571) S04E11
Processing Community Season 04 Episode 11 - Basic Human Anatomy
Tagging file :./Community/Season 4/11 - Basic Human Anatomy.mp4
Trying to write tags
Tags written successfully
Relocating MOOV atom to start of file
QT FastStart did not run - perhaps moov atom was at the start already

I did install the bundled subliminal

@mdhiggins
Copy link
Owner

Check your python directory libs and make sure you see the subliminal egg files in there, seems like its not installed.

@patrickkettner
Copy link
Contributor Author

I am a python noob, but I believe it is there

>>> sys.path
['', '/usr/local/lib/python2.7/dist-packages/babelfish-0.5.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/subliminal-0.8.0_dev-py2.7.egg', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/pymodules/python2.7']

isn't it unusual for .egg files to be directly in sys.path? For the record, my $PYTHONPATH is blank

@mdhiggins
Copy link
Owner

When you do the subliminal install what sort of output do you get? Can you send me the logs?—
Sent from Mailbox

On Sun, Apr 27, 2014 at 10:41 PM, patrick kettner
notifications@github.com wrote:

I am a python noob, but I believe it is there

>>> sys.path
['', '/usr/local/lib/python2.7/dist-packages/babelfish-0.5.1-py2.7.egg', '/usr/local/lib/python2.7/dist-packages/subliminal-0.8.0_dev-py2.7.egg', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-x86_64-linux-gnu', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', '/usr/lib/pymodules/python2.7']

isn't it unusual for .egg files to be directly in sys.path? For the record, my $PYTHONPATH is blank

Reply to this email directly or view it on GitHub:
#123 (comment)

@patrickkettner
Copy link
Contributor Author

with pleasure

@mdhiggins
Copy link
Owner

Him that looks normal. If you run python from the command line can you import subliminal?

python -i

import subliminal

Or does that error as well?

Sent from Mailbox

On Mon, Apr 28, 2014 at 11:32 AM, patrick kettner
notifications@github.com wrote:

with pleasure

Reply to this email directly or view it on GitHub:
#123 (comment)

@patrickkettner
Copy link
Contributor Author

nope, that imports without err

@patrickkettner
Copy link
Contributor Author

ended up being a combination of configurations issues. running pip uninstall babelfish and pip uninstall subliminal multiple times, and then reinstalling from the supplied setup.py fixed it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants