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

Doesn't run without --ignore-config option #3854

Closed
basketbolide opened this issue Sep 30, 2014 · 3 comments
Closed

Doesn't run without --ignore-config option #3854

basketbolide opened this issue Sep 30, 2014 · 3 comments

Comments

@basketbolide
Copy link

@basketbolide basketbolide commented Sep 30, 2014

Hello,

youtube-dl.exe doesn't run without --ignore-config option:

C:\>youtube-dl --help
Traceback (most recent call last):
  File "__main__.py", line 18, in <module>
  File "youtube_dl\__init__.pyo", line 431, in main
  File "youtube_dl\__init__.pyo", line 137, in _real_main
  File "youtube_dl\options.pyo", line 472, in parseOpts
  File "youtube_dl\options.pyo", line 36, in _readUserConf
  File "ntpath.pyo", line 310, in expanduser
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal
not in range(128)

C:\>youtube-dl --version
Traceback (most recent call last):
  File "__main__.py", line 18, in <module>
  File "youtube_dl\__init__.pyo", line 431, in main
  File "youtube_dl\__init__.pyo", line 137, in _real_main
  File "youtube_dl\options.pyo", line 472, in parseOpts
  File "youtube_dl\options.pyo", line 36, in _readUserConf
  File "ntpath.pyo", line 310, in expanduser
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 9: ordinal
not in range(128)

and runs with one:

C:\>youtube-dl --ignore-config --version
2014.09.29.2

C:\>youtube-dl --ignore-config --help
Usage: youtube-dl [options] url [url...]
...

My OS is "Windows 7 x64 Russian", and my OS username is cyrillic:

C:\>echo %USERNAME%
Андрей

and path to configuration file contains cyrillic:

C:\>echo %APPDATA%
C:\Users\Андрей\AppData\Roaming
@dstftw
Copy link
Collaborator

@dstftw dstftw commented Oct 26, 2014

This issue will be fixed in the next release of youtube-dl. Thanks for the report.

@phihag
Copy link
Contributor

@phihag phihag commented Oct 26, 2014

This fix has made it into youtube-dl 2014.10.26. Refer to our FAQ if you need help updating.

@basketbolide
Copy link
Author

@basketbolide basketbolide commented Oct 27, 2014

Thanks.

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
3 participants
You can’t perform that action at this time.