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

ValueError: '~/.youtube-dl/cache' #1496

Closed
CurtisLeeBolin opened this issue Sep 24, 2013 · 9 comments
Closed

ValueError: '~/.youtube-dl/cache' #1496

CurtisLeeBolin opened this issue Sep 24, 2013 · 9 comments

Comments

@CurtisLeeBolin
Copy link

@CurtisLeeBolin CurtisLeeBolin commented Sep 24, 2013

Traceback (most recent call last):
File "/usr/lib/python3.3/runpy.py", line 160, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python3.3/runpy.py", line 73, in _run_code
exec(code, run_globals)
File "/usr/local/bin/youtube-dl/main.py", line 18, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 687, in main
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 568, in _real_main
ValueError: '~/.youtube-dl/cache'

@CurtisLeeBolin
Copy link
Author

@CurtisLeeBolin CurtisLeeBolin commented Sep 24, 2013

fixed in '2013.09.24.2'

@phihag
Copy link
Contributor

@phihag phihag commented Sep 24, 2013

Sorry for that, some debugging code slipped in. This is fixed in youtube-dl v2013.09.24.2.

@MrPaulAR
Copy link

@MrPaulAR MrPaulAR commented Sep 24, 2013

Same issue. I get it when trying to download videos too.

[15:38]:sudo youtube-dl --update
Traceback (most recent call last):
File "/usr/lib/python2.7/runpy.py", line 162, in _run_module_as_main
"main", fname, loader, pkg_name)
File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/usr/local/bin/youtube-dl/main.py", line 18, in
File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 687, in main

File "/usr/local/bin/youtube-dl/youtube_dl/init.py", line 568, in _real_main

ValueError: u'~/.youtube-dl/cache'

[15:39]:youtube-dl --version
2013.09.24.1

@MrPaulAR
Copy link

@MrPaulAR MrPaulAR commented Sep 24, 2013

Thanks. Working now!

@CurtisLeeBolin
Copy link
Author

@CurtisLeeBolin CurtisLeeBolin commented Sep 24, 2013

phihag, thanks for the quick fix.

@RingoTheDog
Copy link

@RingoTheDog RingoTheDog commented Sep 24, 2013

I seem to still be pulling 24.1:

C:>youtube-dl.py --version
2013.09.20.1

C:>youtube-dl.py -U
Updating to version 2013.09.24.1...
Updated youtube-dl. Restart youtube-dl to use the new version.

C:>youtube-dl.py -U
Traceback (most recent call last):
File "C:\Python27\lib\runpy.py", line 162, in run_module_as_main
"main", fname, loader, pkg_name)
File "C:\Python27\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "C:\youtube-dl.py__main
.py", line 18, in
File "C:\youtube-dl.py\youtube_dl__init__.py", line 687, in ma
in
File "C:\youtube-dl.py\youtube_dl__init__.py", line 568, in _r
eal_main
ValueError: u'~/.youtube-dl/cache'

@MrPaulAR
Copy link

@MrPaulAR MrPaulAR commented Sep 24, 2013

Check instructions on install page.

http://rg3.github.io/youtube-dl/download.html

On Tue, Sep 24, 2013 at 3:46 PM, RingoTheDog notifications@github.comwrote:

I seem to still be pulling 24.1:

C:>youtube-dl.py --version
2013.09.20.1

C:>youtube-dl.py -U
Updating to version 2013.09.24.1...
Updated youtube-dl. Restart youtube-dl to use the new version.

C:\Transmogrifier>youtube-dl.py -U
Traceback (most recent call last):
File "C:\Python27\lib\runpy.py", line 162, in run_module_as_main
"main", fname, loader, pkg_name)
File "C:\Python27\lib\runpy.py", line 72, in run_code
exec code in run_globals
File "C:\Transmogrifier\youtube-dl.py_main
.py", line 18, in
File "C:\Transmogrifier\youtube-dl.py\youtube_dl__init
_.py", line 687, in
ma
in
File "C:\Transmogrifier\youtube-dl.py\youtube_dl__init__.py", line 568, in
_r
eal_main
ValueError: u'~/.youtube-dl/cache'


Reply to this email directly or view it on GitHubhttps://github.com//issues/1496#issuecomment-25040947
.

@phihag
Copy link
Contributor

@phihag phihag commented Sep 24, 2013

@RingoTheDog github took a while, should be up to date by now (and I've removed the erroneous version from the download servers). To restore youtube-dl, I'm afraid you'll have to reinstall it. Sorry!

@RingoTheDog
Copy link

@RingoTheDog RingoTheDog commented Sep 24, 2013

All good now...THANKS as always!!!

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