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

NotADirectoryError on Windows #1055

Closed
6461 opened this issue Jul 16, 2013 · 1 comment
Closed

NotADirectoryError on Windows #1055

6461 opened this issue Jul 16, 2013 · 1 comment

Comments

@6461
Copy link

@6461 6461 commented Jul 16, 2013

I'm unable to download anything with recent versions of youtube-dl. I have tried updating Python, changing the download folder to root of C drive and running cmd.exe with administrator privileges. Nothing works.

System configuration:
Microsoft Windows 7 Ultimate 64-bit
Python 3.3.2 64-bit
youtube-dl version 2013.07.12

C:\dl>python youtube-dl -vt http://www.youtube.com/watch?v=Bue--M2JafA
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['-vt', 'http://www.youtube.com/watch?v=Bue--M2JafA']
[debug] youtube-dl version 2013.07.12
Traceback (most recent call last):
File "C:\Python33\lib\subprocess.py", line 1106, in _execute_child
startupinfo)
NotADirectoryError: [WinError 267] Hakemiston nimi on virheellinen

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "youtube-dl\youtube_dl__init__.py", line 588, in _real_main
File "C:\Python33\lib\subprocess.py", line 820, in init
restore_signals, start_new_session)
File "C:\Python33\lib\subprocess.py", line 1112, in _execute_child
raise WindowsError(*e.args)
NotADirectoryError: [WinError 267] Hakemiston nimi on virheellinen

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Python33\lib\runpy.py", line 160, in run_module_as_main
"main", fname, loader, pkg_name)
File "C:\Python33\lib\runpy.py", line 73, in run_code
exec(code, run_globals)
File "youtube-dl__main
.py", line 18, in
File "youtube-dl\youtube_dl__init__.py", line 634, in main
File "youtube-dl\youtube_dl__init__.py", line 594, in _real_main
AttributeError: 'module' object has no attribute 'exc_clear'

Python 3.3.2 (v3.3.2:d047928ae3f6, May 16 2013, 00:06:53) [MSC v.1600 64 bit (AMD64)] on win32

Microsoft Windows 7 Ultimate
6.1.7601 Service Pack 1 build 7601
64-bit

@jaimeMF
Copy link
Collaborator

@jaimeMF jaimeMF commented Jul 16, 2013

Duplicate of #1049, thanks for reporting and sorry for the problem, I noticed it yesterday, this only happens with python3, if you use python 2.7 or 2.6 it will work.

@jaimeMF jaimeMF closed this Jul 16, 2013
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.