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

Detection of Python version #53

Open
TD-er opened this issue Jan 13, 2016 · 3 comments
Open

Detection of Python version #53

TD-er opened this issue Jan 13, 2016 · 3 comments
Labels

Comments

@TD-er
Copy link

TD-er commented Jan 13, 2016

The latest grabber (2.2.8) I tested this morning, it exits on the following:

# check Python version
if sys.version_info[:3] < (2,7,9):
    sys.stderr.write("tv_grab_nl_py requires Pyton 2.7 or higher\n")
    sys.exit(2)

The error should also mention the latest digit.
My Mythbuntu has 2.7.4 (not entirely sure) and the Ubuntu 14.04 here has 2.7.6
So is it really needed to have at least such a new version, or is a work-around possible?

@hikavdh
Copy link
Contributor

hikavdh commented Jan 13, 2016

Yes it is needed for https support. They backported it from 3 among with some other stuff. And the program downloads basic data from github. Sorry for forgetting to update the message!

@jteeuw
Copy link

jteeuw commented Jan 27, 2016

I have the same problem : tv_grab_nl_py requires Pyton 2.7 or higher

if i do a python -V i get the following output:
Python 2.7.3

@hikavdh
Copy link
Contributor

hikavdh commented Jan 27, 2016

You do need 2.7.9 or higher for the https support, else unexpected things can happen on the datafile download from github. This datafile contains all up-to-date info on the source merging etc. The program won't work without this data.

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

No branches or pull requests

3 participants