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

Test_InfoExtractor Broken #16280

Closed
vetschc opened this issue Apr 25, 2018 · 1 comment
Closed

Test_InfoExtractor Broken #16280

vetschc opened this issue Apr 25, 2018 · 1 comment
Labels

Comments

@vetschc
Copy link

@vetschc vetschc commented Apr 25, 2018

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like this: [x])
  • Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.04.25. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2018.04.25

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue


If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:

Issue I encountered was with \test\test_InfoExtractor.py file.

When running the test locally, 3/9 tests are failing and returning "No such file or directory", specifically for the following file paths:

FileNotFoundError: [Errno 2] No such file or directory: './test/testdata/mpd/float_duration.mpd'

FileNotFoundError: [Errno 2] No such file or directory: './test/testdata/m3u8/pluzz_francetv_11507.m3u8'

FileNotFoundError: [Errno 2] No such file or directory: './test/testdata/f4m/custom_base_url.f4m'

I've Included the full output when running the test below:

......EEE
======================================================================
ERROR: test_parse_f4m_formats (__main__.TestInfoExtractor)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:/cygwin64/home/Colin/IT_480_Repositories/youtube-dl/test/test_InfoExtractor.py", line 690, in test_parse_f4m_formats
    mode='r', encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: './test/testdata/f4m/custom_base_url.f4m'

======================================================================
ERROR: test_parse_m3u8_formats (__main__.TestInfoExtractor)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:/cygwin64/home/Colin/IT_480_Repositories/youtube-dl/test/test_InfoExtractor.py", line 486, in test_parse_m3u8_formats
    mode='r', encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: './test/testdata/m3u8/pluzz_francetv_11507.m3u8'

======================================================================
ERROR: test_parse_mpd_formats (__main__.TestInfoExtractor)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:/cygwin64/home/Colin/IT_480_Repositories/youtube-dl/test/test_InfoExtractor.py", line 663, in test_parse_mpd_formats
    mode='r', encoding='utf-8') as f:
FileNotFoundError: [Errno 2] No such file or directory: './test/testdata/mpd/float_duration.mpd'```

----------------------------------------------------------------------
Ran 9 tests in 0.278s

FAILED (errors=3)

Process finished with exit code 1

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Apr 25, 2018

The error in log speaks for itself.

@dstftw dstftw closed this Apr 25, 2018
@dstftw dstftw added the invalid label Apr 25, 2018
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.