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

youtube-dl is broken due to python error #223

Closed
dinaras opened this issue Nov 22, 2011 · 3 comments
Closed

youtube-dl is broken due to python error #223

dinaras opened this issue Nov 22, 2011 · 3 comments

Comments

@dinaras
Copy link

@dinaras dinaras commented Nov 22, 2011

After upgrading to latest version i get the following

File "/usr/local/bin/youtube-dl", line 3510
except Exception as e:
^
SyntaxError: invalid syntax

Can it be resolved?

Thank you in advance

regards
Dinos

@phihag phihag closed this in dc0a294 Nov 22, 2011
@phihag
Copy link
Contributor

@phihag phihag commented Nov 22, 2011

Oops, sorry! I'll add a test with python 2.5 ASAP so that we notice these issues.

This should be fixed in youtube-dl 2011.11.22.

@dinaras
Copy link
Author

@dinaras dinaras commented Nov 22, 2011

What am i supposed to do know, in order to make youtube-dl work again on my server?

I tried to copy and paste the code to /usr/local/bin/youtube-dl but again i get same error.
Is there a way i can downgrade or shall i just wait a bit more

Thank you in advance

By the way, thank you for all the work you are poutting in on this

Regards

Dinos

@phihag
Copy link
Contributor

@phihag phihag commented Nov 22, 2011

The webpage took a while to update. Both downloading from it or executing

sudo wget https://raw.github.com/rg3/youtube-dl/master/youtube-dl -O /usr/local/bin/youtube-dl

should work. Alternatively, you can switch to Python 2.6 or newer, which is a good idea anyways.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.