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

[Errno 2] No such file or directory: './config.yml' #55

Open
sangorys opened this issue Jun 13, 2021 · 1 comment
Open

[Errno 2] No such file or directory: './config.yml' #55

sangorys opened this issue Jun 13, 2021 · 1 comment

Comments

@sangorys
Copy link

Context :

I have done :
pip3 install --user --use-feature=2020-resolver japscandownloader
japscandownloader

Answer :
Traceback (most recent call last):
File "/home/sangorys/.local/bin/japscandownloader", line 8, in
sys.exit(main())
File "/home/sangorys/.local/lib/python3.8/site-packages/japscandownloader/main.py", line 8, in main
jsd.init(sys.argv[1:])
File "/home/sangorys/.local/lib/python3.8/site-packages/japscandownloader/jsd_selenium.py", line 59, in init
self.init_config()
File "/home/sangorys/.local/lib/python3.8/site-packages/japscandownloader/jsd_selenium.py", line 146, in init_config
config = get_config(self.config_file)
File "/home/sangorys/.local/lib/python3.8/site-packages/japscandownloader/helpers/helper_config.py", line 9, in get_config
config_file = open(config_file_path, "r")
FileNotFoundError: [Errno 2] No such file or directory: './config.yml'

However, when I do :
ls
build config.yml CONTRIBUTING.md dist japscandownloader japscandownloader.egg-info LICENSE Pipfile Pipfile.lock README.md setup.py tools

Please help

@Harkame
Copy link
Owner

Harkame commented Jun 15, 2021

Hi, you need to execute the command

japscandownloader

in a folder that contains a file named « config.yml », there is an example here https://github.com/Harkame/JapScanDownloader/blob/master/config.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants