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

AttributeError: 'module' object has no attribute '_asciire' #6285

Closed
joepie91 opened this issue Jul 19, 2015 · 2 comments
Closed

AttributeError: 'module' object has no attribute '_asciire' #6285

joepie91 opened this issue Jul 19, 2015 · 2 comments

Comments

@joepie91
Copy link

@joepie91 joepie91 commented Jul 19, 2015

  • Platform: Debian 7, x86_64, OVH image, Python 2.7.3
  • Version: 2015.07.18
  • URL: None, application does not even start
  • Resolver: N/A
root@ns503605:~# youtube-dl -v
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl", line 9, in <module>
    load_entry_point('youtube-dl==2015.07.18', 'console_scripts', 'youtube-dl')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 337, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2279, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1989, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/__init__.py", line 16, in <module>
    from .options import (
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/options.py", line 8, in <module>
    from .downloader.external import list_external_downloaders
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/__init__.py", line 3, in <module>
    from .common import FileDownloader
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/downloader/common.py", line 8, in <module>
    from ..compat import compat_str
  File "/usr/local/lib/python2.7/dist-packages/youtube_dl/compat.py", line 82, in <module>
    _asciire = re.compile('([\x00-\x7f]+)') if sys.version_info < (2, 7) else compat_urllib_parse._asciire
AttributeError: 'module' object has no attribute '_asciire'
@joepie91
Copy link
Author

@joepie91 joepie91 commented Jul 19, 2015

Can replicate on another Debian 7 system, not using an OVH image, but a stock install.

@joepie91
Copy link
Author

@joepie91 joepie91 commented Jul 19, 2015

Apologies, dupe of #6271, #6274, #6279, #6280, #6281. I'd only searched the open tickets, not the closed ones.

@joepie91 joepie91 closed this Jul 19, 2015
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
1 participant
You can’t perform that action at this time.