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

Missing rc.json #34

Open
delameter opened this issue Sep 13, 2022 · 0 comments
Open

Missing rc.json #34

delameter opened this issue Sep 13, 2022 · 0 comments

Comments

@delameter
Copy link

Hello.
Tried to open rc.json right after installing and it wasn't successful:

> xo --rc
Traceback (most recent call last):
  File "/home/delameter/.local/bin/xo", line 1122, in <module>
    main()
  File "/home/delameter/.local/bin/xo", line 1109, in main
    with open(RC_PATH) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/home/delameter/.config/xo/rc.json'

Installed with pip install exofrills (i.e. user installation)

> mkdir /home/delameter/.config/xo
> touch /home/delameter/.config/xo/rc.json
> xo --rc-edit
Warning: rc file not valid JSON.
(empty file)

Maybe something like writing default config if current is empty should be implemeneted?

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

1 participant