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

After updating youtube-dl, I get tons of Python errors now. #6295

Closed
antdude opened this issue Jul 20, 2015 · 5 comments
Closed

After updating youtube-dl, I get tons of Python errors now. #6295

antdude opened this issue Jul 20, 2015 · 5 comments

Comments

@antdude
Copy link

@antdude antdude commented Jul 20, 2015

$ sudo youtube-dl -U
[sudo] password for myusername:
Updating to version 2015.07.18 ...
Updated youtube-dl. Restart youtube-dl to use the new version.

$ youtube-dl
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/bin/youtube-dl/main.py", line 16, in
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 16, in

File "/usr/bin/youtube-dl/youtube_dl/options.py", line 8, in
File "/usr/bin/youtube-dl/youtube_dl/downloader/init.py", line 3, in
# $Id$
File "/usr/bin/youtube-dl/youtube_dl/downloader/common.py", line 8, in
File "/usr/bin/youtube-dl/youtube_dl/compat.py", line 82, in
AttributeError: 'module' object has no attribute '_asciire'

$ sudo youtube-dl -U
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/bin/youtube-dl/main.py", line 16, in
File "/usr/bin/youtube-dl/youtube_dl/init.py", line 16, in

File "/usr/bin/youtube-dl/youtube_dl/options.py", line 8, in
File "/usr/bin/youtube-dl/youtube_dl/downloader/init.py", line 3, in
# $Id$
File "/usr/bin/youtube-dl/youtube_dl/downloader/common.py", line 8, in
File "/usr/bin/youtube-dl/youtube_dl/compat.py", line 82, in
AttributeError: 'module' object has no attribute '_asciire'

$ python
Python 2.7.3 (default, Mar 13 2014, 11:03:55)
[GCC 4.7.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.

Is it because I still use Debian's oldstable? If so, then where can I download the older version? I think I had the build from 7/7/2015 that worked according to my history log.

Thank you in advance. :)

@trhodes
Copy link

@trhodes trhodes commented Jul 20, 2015

https://yt-dl.org/downloads/2015.07.07/youtube-dl is the older, working version (at least it works for me). I'm having the same issue, and there have been some removals of unused re imports that may be to blame. Testing out a fix now. I'm also on python 2.7.3, Slackware 14.0

@trhodes
Copy link

@trhodes trhodes commented Jul 20, 2015

3cc8b4c is what makes this happen for me. Sorry I can't help much more.

@antdude
Copy link
Author

@antdude antdude commented Jul 20, 2015

Thanks trhodes. That 7/7/2015 build worked perfectly again. Where is this fix at? I'd like to test it too with you. ;)

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jul 20, 2015

This is already fixed and will be available in the next version.
You can also fix this by updating python to 2.7.4 or later. Or you can use previous version https://yt-dl.org/downloads/2015.07.07/youtube-dl.

@dstftw dstftw closed this Jul 20, 2015
@antdude
Copy link
Author

@antdude antdude commented Jul 20, 2015

Thanks dstftw. I will stick with 7/7/2015 build. I can't upgrade my Python until I upgrade Debian to current stable which I am not ready for.

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
3 participants
You can’t perform that action at this time.