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.
Error with files on network #149
Comments
|
I fixed an error that may hit you in [https://github.com/phihag/youtube-dl](my fork) (direct download). UnicodeDecodeError indicates special characters. Are there any in your path name? If the problem persists, please post:
|
|
Sorry for my inaccuracy. These are the new info: Microsoft Windows [version 6.1.7601] C:\Python27> C:\Python27>python youtube-dl.py -o "\PC-VINCENT\F\test.avi" http://www.you C:\Python27>python youtube-dl.py -o "C:\PC-VINCENT\F\test.avi" http://www.yo C:\Python27>I use Python 2.7.2 because py2exe work with him. |
|
I'm very sorry, but I can't reproduce the problem, and I can't understand how this exact error could be caused with all-ASCII file names. Are you sure there isn't an é or Ç in there? I'm trying to grab a french copy of Windows 7 and try to reproduce it with a real SMB network, but that may take some time. Would you mind trying it with my forked version? |
Great, thank you it works very well:C:\Python27>python youtube-dl.py --version C:\Python27>python youtube-dl.py -o "\PC-VINCENT\F\test.avi" http://www.youtube.com/watch?v=o8ccSiH4olo C:\Python27>Thx |
Hello,
The syntax youtube-dl-o "\ \ mynetwork \ movie.flv" does not work anymore (it worked with previous versions):
Traceback (most recent call last):
File "youtube-dl-org.py", line 2987, in
File "youtube-dl-org.py", line 604, in download
File "youtube-dl-org.py", line 844, in extract
File "youtube-dl-org.py", line 1135, in _real_extract
File "youtube-dl-org.py", line 567, in process_info
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe9 in position 43: ordinal not in range(128)
An idea ?
Thx