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

Can't write initial configuration as root #8

Closed
cwilling opened this issue Apr 21, 2015 · 1 comment
Closed

Can't write initial configuration as root #8

cwilling opened this issue Apr 21, 2015 · 1 comment
Assignees
Labels

Comments

@cwilling
Copy link
Owner

[root@raymonde:~] # hoorex lame
Traceback (most recent call last):
File "/usr/bin/hoorex", line 427, in
main()
File "/usr/bin/hoorex", line 32, in main
default_config = load_user_config()
File "/usr/bin/hoorex", line 372, in load_user_config
with open(config_file, 'wb') as configfile:
IOError: [Errno 2] No such file or directory: '/root/.config/hoorex/defaults.cfg'

@cwilling cwilling added the bug label Apr 21, 2015
@cwilling cwilling self-assigned this Apr 21, 2015
cwilling pushed a commit that referenced this issue Apr 21, 2015
@cwilling
Copy link
Owner Author

This bug fixed - ready for next release.
It was because we made the assumption that xdg_config_home (also xdg_data_home) already existed. In most cases that is correct but obviously (now) not in some server situations which haven' tyet run any apps which create them. In such cases, we need to create them ourselves.

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

No branches or pull requests

1 participant