Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
NotADirectoryError on Windows #1055
Comments
|
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. |
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