Skip to content

[Crash] "Database needs recovery" #926

@mrcnski

Description

@mrcnski

Hello friend, and many thank you for bestowing this command line creation upon humanity.

I beseech your expert help in a capacity that, I hope, far exceeds my own abilities.

My good friend, when I hath invoketh proselint on any file of textual contents, the following is what I invariably witness:

Traceback (most recent call last):
  File "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/shelve.py", line 111, in __getitem__
    value = self.cache[key]
KeyError: 'd7506be8fd0043d2cbf09070321c5ca97ce42133919bfd15d0801cb8df1c3c64'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/Cellar/proselint/0.10.2_1/libexec/lib/python3.7/site-packages/proselint/tools.py", line 134, in wrapped
    return cache[key]
  File "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/shelve.py", line 113, in __getitem__
    f = BytesIO(self.dict[key.encode(self.keyencoding)])
KeyError: b'd7506be8fd0043d2cbf09070321c5ca97ce42133919bfd15d0801cb8df1c3c64'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/Cellar/proselint/0.10.2_1/libexec/lib/python3.7/site-packages/proselint/command_line.py", line 139, in proselint
    errors = lint(f, debug=debug)
  File "/usr/local/Cellar/proselint/0.10.2_1/libexec/lib/python3.7/site-packages/proselint/tools.py", line 257, in lint
    result = check(text)
  File "/usr/local/Cellar/proselint/0.10.2_1/libexec/lib/python3.7/site-packages/proselint/tools.py", line 137, in wrapped
    cache[key] = value
  File "/usr/local/opt/python/Frameworks/Python.framework/Versions/3.7/lib/python3.7/shelve.py", line 125, in __setitem__
    self.dict[key.encode(self.keyencoding)] = f.getvalue()
_gdbm.error: Database needs recovery

What could this mean? I am at a loss, for long have I pondered, but even Google does not knows nothing.

$ proselint --version
0.10.2

I use OSX, Emacs, and Firefox.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug: confirmedBugs that were confirmed in triage.priority: highIssues and PRs that should be resolved as soon as possible.status: needs-helpIssues and PRs that require volunteer assistance to proceed.type: fixIssues and PRs related to bugs.version: patchIssues and PRs with bug fixes belonging to the next patch release.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions