8000 Lock file left when shutting down without database open · Issue #32 · tknarr/PyAuth · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Lock file left when shutting down without database open #32

8000 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

Open
tknarr opened this issue Aug 14, 2016 · 2 comments
Open

Lock file left when shutting down without database open #32

tknarr opened this issue Aug 14, 2016 · 2 comments
Assignees
Labels
Milestone

Comments

@tknarr
Copy link
Owner
tknarr commented Aug 14, 2016

When the program exits without the database ever having been opened, the lockfile isn't deleted. This leads to the program aborting when run until the lockfile is removed manually.

@tknarr tknarr added the bug label Aug 14, 2016
@tknarr tknarr self-assigned this Aug 14, 2016
@tknarr
Copy link
Owner Author
tknarr commented Aug 15, 2016

Issue is intermittent, appears related to terminating the application during log-off rather than just closing the application. Addition of proper X session support should avoid the problem. Code needs changed to allow for removing a stale lockfile on startup. Data loss shouldn't be possible as changes are saved immediately and the save during application termination is a precaution.

@tknarr
Copy link
Owner Author
tknarr commented Sep 23, 2016
6643

Need to allow forcibly removing the lockfile on startup.

@tknarr tknarr added this to the v1.3 milestone Oct 23, 2016
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
0