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

Improvement request: Be more helpful when "_gdbm.error: Malformed database file header" occurs in nox-review #90

Open
das-g opened this issue Oct 26, 2018 · 0 comments

Comments

@das-g
Copy link

das-g commented Oct 26, 2018

Recently I used nox-review again after a longer time (and after having switched from NixOS 18.03 to NixOS 18.09) just to be greeted by a Python stacktrace and the error message

_gdbm.error: Malformed database file header

(Reported as NixOS/nixpkgs#48878)

The solution was to delete /tmp/nox.dbm.${USER}, however as a mere nox enduser lacking knowledge about nox' inner workings I wouldn't have found out that without the helpful comment by @symphorien (Thanks!).

Maybe if that error occurs, nox itself could attempt to invalidate/clear/remove that cache? Or, if that's problematic, at least output some hint that the user may try that? (And if known, with the criteria on when to do that and when not to.)

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