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

Backup files in config create errors #267

Closed
dx034 opened this Issue Feb 25, 2016 · 1 comment

Comments

Projects
None yet
2 participants
@dx034

dx034 commented Feb 25, 2016

Some GUIs in Linux create backup files when a file is deleted, usually by adding ~ to the filename. These files are then not shown in the explorer (but can be displayed in the terminal).
If there are 2 user config files in the config folder (e.g. conf/users/user1.json and conf/users/user1.json~), both are apparently parsed by wide on startup, which results in a fatal error on startup, caused by duplicate http bindings.

I think several issues are at play here:

  1. Files that end with ~ should not be parsed
  2. If duplicate config files are in the system (e.g. 2 files with same username), this should be catched as an error and not result in an unhandled errors in other libraries

Please let me know if you need more info to reproduce the issue.

Thanks!

@88250 88250 added the bug label Feb 25, 2016

@88250 88250 self-assigned this Feb 25, 2016

@88250

This comment has been minimized.

Show comment
Hide comment
@88250

88250 Feb 25, 2016

Member

Thank you, I will fix it.

Member

88250 commented Feb 25, 2016

Thank you, I will fix it.

@88250 88250 added this to the 1.5.1 milestone Feb 25, 2016

@88250 88250 closed this in ada7da9 Feb 26, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment