-
Notifications
You must be signed in to change notification settings - Fork 53
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
No such file or directory: 'config/p' #352
Comments
Look at the config.yml example, it has changed quite a bit recently so you have to update yours to match the example. |
@nicoschmitt I did check it, and it seems it doesn't do what the code expects. This is why I made a small pullrequest of it.
As you can see, the last part is a string instead of a list and in the code, it tries to iterate over that. To fix it in my config file, I put brackets around it. (see pullrequest) |
It should be:
In your yml. |
config.yml.example is correct. |
Executed Command
$ python pokecli.py config/config.yml
Expected Behavior
The bot to start and read all the config files
Actual Behavior
Traceback (most recent call last):
File "pokecli.py", line 88, in
main()
File "pokecli.py", line 73, in main
kernel.boot()
File "/home/xxx/git/OpenPoGoBot/app/kernel.py", line 55, in boot
self.load_config()
File "/home/xxx/git/OpenPoGoBot/app/kernel.py", line 39, in load_config
for node in os.listdir(os.path.join(config_dir, plugin_config_dir)):
OSError: [Errno 2] No such file or directory: 'config/p'
Steps to Reproduce
Loading the most default config
Other Information
OS: Fedora 24
Git Commit: 37560cf
The text was updated successfully, but these errors were encountered: