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

Problem launching addic7ed-cli #10

Closed
bricebou opened this issue Jan 28, 2014 · 4 comments
Closed

Problem launching addic7ed-cli #10

bricebou opened this issue Jan 28, 2014 · 4 comments

Comments

@bricebou
Copy link

Hi,

I've just installed addic7ed-cli with pip but when I try to launch it, here is what I got :

addic7ed -l french The.Musketeers.1x02.Sleight.Of.Hand.HDTV.x264-FoV.mp4
Traceback (most recent call last):
File "/usr/local/bin/addic7ed", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2881, in
parse_requirements(requires), Environment()
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 596, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: requests==0.14.1

I've tried to install requests in its 0.14.1 version but if I reinstall addic7ed-cli, pip automatically install the 2.2.1 version :

sudo pip install https://github.com/BenoitZugmeyer/addic7ed-cli/archive/master.zip
Downloading/unpacking https://github.com/BenoitZugmeyer/addic7ed-cli/archive/master.zip
Downloading master.zip
Running setup.py egg_info for package from https://github.com/BenoitZugmeyer/addic7ed-cli/archive/master.zip

Requirement already satisfied (use --upgrade to upgrade): pyquery>=1.2.4 in /usr/local/lib/python2.7/dist-packages (from addic7ed==0.1.7)
Downloading/unpacking requests==0.14.1 (from addic7ed==0.1.7)
Running setup.py egg_info for package requests

Requested requests==0.14.1 (from addic7ed==0.1.7), but installing version 2.2.1
Requirement already satisfied (use --upgrade to upgrade): lxml>=2.1 in /usr/lib/python2.7/dist-packages (from pyquery>=1.2.4->addic7ed==0.1.7)
Requirement already satisfied (use --upgrade to upgrade): cssselect in /usr/local/lib/python2.7/dist-packages (from pyquery>=1.2.4->addic7ed==0.1.7)
Installing collected packages: requests
Found existing installation: requests 2.2.1
Uninstalling requests:
Successfully uninstalled requests
Running setup.py install for requests

Successfully installed requests
Cleaning up...

How can I make it work ?

Thanks in advance.

@BenoitZugmeyer
Copy link
Owner

Please try again with the new version from master.

@bricebou
Copy link
Author

Hi,

It's working fine now ; I've changed the command name because I installed the ruby version (https://github.com/michaelbaudino/addic7ed-ruby) to test it (same command addic7ed).

Do you plan to develop an interactive version as periscope (https://github.com/patrickdessalle/periscope) does ? In periscope, even after activating the Addic7ed script, I don't have any answers from addic7ed...

Thanks again :)

@BenoitZugmeyer
Copy link
Owner

I didn't know addic7ed-ruby, thanks for sharing, it looks great too.

What do you mean by 'interactive version'? by reading periscope code, the interactive option will ask the user which subtitle to download. This is the default behavior of my project (the 'automatic' mode can be activated by -b or -bb). Or maybe you meant a graphical user interface or file manager integration? if so, this is not planned (because I don't use a file manager and prefer CLIs to GUIs), but contributions are welcome.

@bricebou
Copy link
Author

Oh right... I'm sorry, I didn't notice : the video file I was trying addic7ed-cli had only one srt files... I've tried on another one with multiple subtitles and it's great :)
By the way, the ruby version dowload the first subtitle by defaults -- bad point imoo.

Exactly what I was looking for ! Thanks again !

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