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 'ParseError' #6060

Closed
z1atk0 opened this issue Jun 23, 2015 · 1 comment
Closed

AttributeError: 'module' object has no attribute 'ParseError' #6060

z1atk0 opened this issue Jun 23, 2015 · 1 comment

Comments

@z1atk0
Copy link

@z1atk0 z1atk0 commented Jun 23, 2015

On a system with Python 2.6, I get the above error (see subject) on an unsupported site which actually works fine with the generic extractor:

[zlatko@disclosure]:~$ youtube-dl -F "http://www.servustv.com/at/Medien/Julies-Geheimnis"
[generic] Julies-Geheimnis: Requesting header
WARNING: Falling back on generic information extractor.
[generic] Julies-Geheimnis: Downloading webpage
[generic] Julies-Geheimnis: Extracting information
Traceback (most recent call last):
File "/usr/lib/python2.6/runpy.py", line 122, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.6/runpy.py", line 34, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 19, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 405, in main

File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 395, in _real_main

File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1502, in download
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 650, in extract_info
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 273, in extract
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1069, in _real_extract
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/brightcove.py", line 214, in _extract_brightcove_urls
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/brightcove.py", line 122, in _build_brighcove_url
AttributeError: 'module' object has no attribute 'ParseError'
[zlatko@disclosure]:~$ python --version
Python 2.6.2

The same URL/site works fine on a system with Python 2.7:

zlatko@ironman:/tmp$ ./youtube-dl -F "http://www.servustv.com/at/Medien/Julies-Geheimnis"
[generic] Julies-Geheimnis: Requesting header
WARNING: Falling back on generic information extractor.
[generic] Julies-Geheimnis: Downloading webpage
[generic] Julies-Geheimnis: Extracting information
[generic] Brightcove video detected.
[download] Downloading playlist: Julies Geheimnis bei ServusTV
[generic] playlist Julies Geheimnis bei ServusTV: Collected 1 video ids (downloading 1 of them)
[download] Downloading video 1 of 1
[Brightcove] 4285283209001: Downloading webpage
[Brightcove] 4285283209001: Extracting information
[info] Available formats for 4285283209001:
format code extension resolution note
0 mp4 424x240 412.81MiB
1 mp4 852x480 871.38MiB
2 mp4 1280x720 1.41GiB (best)
zlatko@ironman:
/tmp$ python --version
Python 2.7.3

The youtube-dl version is the same on both systems, 2015.06.15.

@dstftw dstftw closed this in e20d0c1 Jun 23, 2015
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Jun 23, 2015

This issue will be fixed in the next version. Thanks for the report.

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.